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
{{ message }}
This repository has been archived by the owner on Sep 10, 2020. It is now read-only.
It is important that https://openmrs-spa.org/import-map.json has a Cache-Control: public, must-revalidate, max-age=0 header so that when we deploy new code, everyone's browser checks the updated import map to download the new modules.
Right now, that header is not present as shown in the below screenshot:
The text was updated successfully, but these errors were encountered:
Okay it looks like I'm wrong on this -- the server is sending the cache control header. But the browser is willfully disobeying the server's header because it doesn't like to not cache things. I think that the best solution would be to set the max-age to 10 seconds instead of 0, so that the browser actually honors the cache-control header.
It is important that https://openmrs-spa.org/import-map.json has a
Cache-Control: public, must-revalidate, max-age=0
header so that when we deploy new code, everyone's browser checks the updated import map to download the new modules.Right now, that header is not present as shown in the below screenshot:
The text was updated successfully, but these errors were encountered: