-
Notifications
You must be signed in to change notification settings - Fork 0
Description
after the recent create-react-app package update and it's dropping use of 'precache' files, it has become more significant that datahub's cache management should probably be reworked.
in terms of onload, @ctrepka wrote in the deletion of browser precache and @adambreznicky wrote in stashing/monitoring of the app version within local storage. these steps work but only to the extent that the user hard resets (CTRL+F5) their browser to pull these updates. the proposed reworking should maneuver around any necessity for our users to have to hard reset and clear their cache within their client side browser.
should cache-control meta tags within html be used to prevent any client side caching ever? how would this effect performance? are there other methods to prevent client side caching?
if possible, what generic code can be written (along the lines of version management in local storage) to signal a refresh?
a team meeting to brainstorm and analysis of our options would help kick off this enhancement
precache removal on load 6eccfa2
local storage app version c980906