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

Set Cache Headers for API endpoints #77

Open
winsmith opened this issue Sep 3, 2017 · 0 comments
Open

Set Cache Headers for API endpoints #77

winsmith opened this issue Sep 3, 2017 · 0 comments

Comments

@winsmith
Copy link
Collaborator

winsmith commented Sep 3, 2017

This allows us to be slightly more sloppy with requesting these endpoints, since our libraries will usually choose not to send an actual request down the line.

https://docs.djangoproject.com/en/1.11/ref/utils/#django.utils.cache.patch_cache_control

@winsmith winsmith changed the title Set Cache Headers for which and caniuse endpoints Set Cache Headers for API endpoints Sep 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant