dashboard icon indicating copy to clipboard operation
dashboard copied to clipboard

Cache busting issue

Open loreina opened this issue 5 years ago • 3 comments

Seems like when the app builds, certain files aren't being bundled, like any files in /features.

If we make any changes to an existing file, the file is still cached because it has the same name as the last release and browsers aren't recaching even if deployment is.

We had to make announcements and ask hackers to clear browser cache during application window. See https://github.com/hackmcgill/dashboard/issues/753

Would integrating Webpack help with this?

loreina avatar May 29 '20 05:05 loreina

This seems like a really important unaddressed issue :(

pierreTklein avatar Nov 27 '20 17:11 pierreTklein

Haven't looked into the issue, but this webpage might be helpful.

  1. https://dev.to/flexdinesh/cache-busting-a-react-app-22lk
  2. https://webpack.js.org/guides/caching/

pierreTklein avatar Nov 27 '20 17:11 pierreTklein

Yeah, this is going to be a massive issue rolling out bug fixes and changes if unaddressed. Will fix asap

logan-r avatar Nov 27 '20 20:11 logan-r