Skip to content

Instantly share code, notes, and snippets.

@nul800sebastiaan
Last active August 29, 2015 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nul800sebastiaan/e20ebddda74f4fe254cd to your computer and use it in GitHub Desktop.
Save nul800sebastiaan/e20ebddda74f4fe254cd to your computer and use it in GitHub Desktop.
Upgrading note
Upgrading note
Google Chrome has notoriously aggressive caching, so if something doesn't seem to work
well in the backoffice, make sure to clear cache and cookies thoroughly (for other
browsers as well).
One way to nudge the cache in Chrome is to open the developer tools (F12) and go to the
settings (the cog icon). There will be a checkbox that says "Disable cache (while
DevTools is open)". Once this checkbox is on you can refresh the page and the cache
should be invalidated. To force it even more, the "reload" button next to your address
bar now has extra options when you right-click it. It should have "Normal reload", "Hard
reload" and "Empty cache and hard reload" now. The last option is the most thorough and
you might want to try that.
The important other thing you'll need to do is go into config/ClientDependency.config
and update the version number in there. So if it currently says version="2" then just
make it one higher: version="3".
This will ensure that any server-side cache of javascript and stylesheets gets cleared as well.
We're working on making this experience better and seamless, but for now make sure to follow
these steps for v7 upgrades.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment