clearlydefined / website

Website for clearlydefined.io
https://clearlydefined.io
MIT License
26 stars 29 forks source link

figure out CreateReactApp service worker caching deal #99

Closed jeffmcaffer closed 6 years ago

jeffmcaffer commented 6 years ago

the CRA system has a funky service worker that is supposed to help keep your app alive even if offline. However, this has implications for caching and new versions. It seems that people to no automatically get the latest version of the app when we roll out a new one.

Given the likelihood of frequent changes, we need this to be much more responsive.

@iamwillbar can you help here?

I know some work was done previously but there still seem to be challenges.

Does seem like things eventually update but it can take 24 hours or something. If we need to change the service and the site together that could be quite challenging

mynameistechno commented 6 years ago

Do we even need this? Wondering if it's worth the added complexity. If the web server is configured properly and we use unique asset URLs to bust the cache (e.g. when you include the Githubissues.

  • Githubissues is a development platform for aggregating issues.