feat(api): introduce cache busting mechanism #439

Merged
merged 3 commits into from Dec 30, 2016

Projects

None yet

1 participant

@deviantony
Collaborator
deviantony commented Dec 30, 2016 edited

This PR introduces a cache busting mechanism by modifying the project's build system:

  • JS/CSS files which are usually cached by the browser are now generated with a hash suffix during build
  • The cache policy on these file is set to a long period which will allow hard caching of these files by the browser

This solve the problems of old JS/CSS files cached by the browser and used after a new release. As all the files will have a unique name after each releases, it will now prevent browser cache conflicts.

Close #422

@deviantony deviantony merged commit 6e98237 into develop Dec 30, 2016
@deviantony deviantony deleted the feat422-cache-busting branch Jan 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment