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

Note/deal with caching #26

Open
adamchainz opened this issue Dec 20, 2021 · 1 comment
Open

Note/deal with caching #26

adamchainz opened this issue Dec 20, 2021 · 1 comment

Comments

@adamchainz
Copy link
Owner

Description

The browser will cache static assets so they may not update for users. There's no easy way aorund this in JS that I can see, but users can open devtools and disable caching.

location.reload() can maybe do a hard reload on Firefox: https://twitter.com/AdamChainz/status/1471150134503346182

At least we could mention to open devtools.

@adamchainz
Copy link
Owner Author

I’ve seen some CSS caching problems but they’ve gone away after a refresh and I can't reproduce...

Django serves static files with Last-Modified and respects the If-Modified-Since header being returned, so there shouldn't generally be a problem...

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

1 participant