Like the title says, is there a way to turn off the insane caching that's going on in the Umbraco Backoffice? It so effin' frustrating to do any kind of development in the backoffice since I can't see any changes because Umbraco seems to cache everything until the end of time.
my workflow when doing backoffice development is usually:
Make a change
CTRL+R / Reload the page / Open the page in ingognito mode in chrome
Get mad because my simple change isn't visible
I usually end up restarting my entire computer to get Umbraco to release the cache, this is so frustrating.
Is there a way to turn off caching alltogether in the umbraco backoffice?
In web.config make sure that you set debug="true" that stops the ClientDependency Framework (CDF) from kicking in. As long as CDF is in control (so when debug="false") you will have cache problems.
To manually update the CDF cache, as mentioned above, you can always update the version number in ~/config/ClientDependency.config (just make it 1 higher)
Browsers have a quite aggressive cache, especially Chrome is known to cache quite hard. If you're doing active development, always open the Chrome developer tools and on the Network tab make sure to "Disable cache" (see screenshot). That should help a lot (when debug="true")
The cachebuster package mentioned above does help in some instances but not when debug="false" and you 99.9% of the time will not need it.
Is there a way to turn off caching?
Like the title says, is there a way to turn off the insane caching that's going on in the Umbraco Backoffice? It so effin' frustrating to do any kind of development in the backoffice since I can't see any changes because Umbraco seems to cache everything until the end of time.
my workflow when doing backoffice development is usually:
I usually end up restarting my entire computer to get Umbraco to release the cache, this is so frustrating.
Is there a way to turn off caching alltogether in the umbraco backoffice?
Maybe this can help? https://our.umbraco.org/projects/backoffice-extensions/cachebuster-for-angular-views/
Thank you
Yes, a few things:
web.config
make sure that you setdebug="true"
that stops the ClientDependency Framework (CDF) from kicking in. As long as CDF is in control (so whendebug="false"
) you will have cache problems.~/config/ClientDependency.config
(just make it 1 higher)debug="true"
)The cachebuster package mentioned above does help in some instances but not when
debug="false"
and you 99.9% of the time will not need it.I think you got the debug settings mixed up there ;-) Should be
debug="true"
to stop CDF from kicking in.Haha! Thanks Tom, at least I was consistent. All fixed now!
is working on a reply...