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

Map configuration - json file is being cached in browser? #70

Open
smalers opened this issue Aug 23, 2022 · 0 comments
Open

Map configuration - json file is being cached in browser? #70

smalers opened this issue Aug 23, 2022 · 0 comments
Assignees
Labels
bug Something isn't working high Priority: next release if possible S Size: day or less

Comments

@smalers
Copy link
Contributor

smalers commented Aug 23, 2022

InfoMapper caching issues have mostly been resolved, as follows:

  1. Application files are cache-busted by using Angular's approach of adding random characters to resources. The index.html file always seems to reload. CloudFront files are invalidated when uploaded.
  2. Dataset files are now mostly managed as separate landing pages with CloudFront-hosted files. Files are invalidated when uploaded.

However, I have seen that uploading a new map configuration file may not result in the new map displaying, even if I verify that the file from the URL matches the local latest file. The map is updated in incognito (I think). Checking the Chrome Network file list shows the file being cached. This is an issue because new map configurations (and other data) need to be reflected in the application. This does not seem to be an issue when calling web services such as the NovaStar data or other data, although I may not be noticing everything. A page refresh or Ctrl-F5 did not resolve the issue.

Is the map configuration file loaded in a different way than other data? Any thoughts? I'll keep my eye on other map updates.

@smalers smalers added bug Something isn't working high Priority: next release if possible S Size: day or less labels Aug 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working high Priority: next release if possible S Size: day or less
Projects
None yet
Development

No branches or pull requests

2 participants