You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As shown below, certain browsers like Chrome cache css and js files instead of GETing the most recent files from the server.
This poses a major issue as we put up weekly updates to the site that students need to see immediately on their end.
An inelegant solution we have is to use a special meta tag on all projects pages OR a query param on the js scripts for the pages with js-based footers and headers. This would force the browser to fetch the newest files, but I think it will require a lot of upkeep for us to maintain long-term as we add more files. It's better than nothing though.
As shown below, certain browsers like Chrome cache css and js files instead of GETing the most recent files from the server.
This poses a major issue as we put up weekly updates to the site that students need to see immediately on their end.
An inelegant solution we have is to use a special meta tag on all projects pages OR a query param on the js scripts for the pages with js-based footers and headers. This would force the browser to fetch the newest files, but I think it will require a lot of upkeep for us to maintain long-term as we add more files. It's better than nothing though.
https://stackoverflow.com/questions/30764510/website-html-doesnt-update-for-users-because-of-cache
The text was updated successfully, but these errors were encountered: