How to disable cache during development with Umbraco 8
I am developing a section in Umbraco 8.16 and have realised if i have something in my class (i.e. an alias name or similar), i clean my project, rebuild and the old values still persist.
If i close VS, delete the temp, log directory residing under Appdata then it would work to an extent but occasionally i may have to clear the browser cache or go incognito.
As you can imagine this consumes a lot of time and ive read on the forums of what people have attempted but i dont know what would apply to the above scenario for this version of Umbraco?
Currently the only setting i have in my web.config is
If you use chrome as your browser, umbraco can detect if your developer tools (in chrome) are open, and bypass caching. You can can also disable caching inside the network tab of the developer tools.
This has been working fine for me through the years of umbraco dev.
How to disable cache during development with Umbraco 8
I am developing a section in Umbraco 8.16 and have realised if i have something in my class (i.e. an alias name or similar), i clean my project, rebuild and the old values still persist.
If i close VS, delete the temp, log directory residing under Appdata then it would work to an extent but occasionally i may have to clear the browser cache or go incognito.
As you can imagine this consumes a lot of time and ive read on the forums of what people have attempted but i dont know what would apply to the above scenario for this version of Umbraco?
Currently the only setting i have in my web.config is
So how could i disable caching during development mainly when developing a section where alias's could change?
Thank you
Hi J,
If you use chrome as your browser, umbraco can detect if your developer tools (in chrome) are open, and bypass caching. You can can also disable caching inside the network tab of the developer tools.
This has been working fine for me through the years of umbraco dev.
There are more threads on the subject, the first one i found was this: https://our.umbraco.com/forum/using-umbraco-and-getting-started/104710-clearing-cache-when-developing-a-plugin
HTH :)
is working on a reply...