Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: exclude pagination parameters from export_url #950

Open
mattbuff opened this issue Mar 26, 2024 · 1 comment
Open

Feature request: exclude pagination parameters from export_url #950

mattbuff opened this issue Mar 26, 2024 · 1 comment

Comments

@mattbuff
Copy link

Can pagination parameters be excluded from export_url? My rationale is that the presence of pagination parameters does not affect the resulting export, but it does cause cache misses. Excluding them could significantly improve caching performance for expensive exports.

For example, the following URLs produce the same download, but are considered different items by URL-based server-side caching systems.

/?page=2&_export=csv
/?page=5&_export=csv

@mattbuff mattbuff changed the title exclude pagination parameters from export_url Feature request: exclude pagination parameters from export_url Mar 26, 2024
@jieter
Copy link
Owner

jieter commented Jul 2, 2024

Seems very reasonable, PRs welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants