cache-control #1549
Ivan-Chupin
started this conversation in
General
cache-control
#1549
Replies: 1 comment 6 replies
-
This is the main problem here. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Remark42 uses "cache-control: max-age=3600, no-cache" HTTP header for files:
Validators swear at this combination "max-age=3600, no-cache" and for good reason. It's kind of pointless. If we remove "max-age=3600" then absolutely nothing will change when browsers interact with the Remark42 application. Everything will work as before. If we remove "no-cache", then this will fundamentally change the caching mechanism. The browser will cache these files for one hour and will not even try to check them for changes on the server. This will increase performance and reduce traffic, but may cause problems when updating the above files.
Beta Was this translation helpful? Give feedback.
All reactions