Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
During development using Visual Studio, each time I edit a view the changes do not reflect in Umbraco since it uses caching mechanisms. So every time I have to hit the save button (in the same view) in the backoffice in order to refresh the cache and see changes appearing. I tried to disable the flag in the umbracoSettings.config but, even after a clean rebuild, I still see the outdated views, so the flag seems to not influence the cache manager.
Here's an extract of my umbracoSettings.config:
How can I resolve this frustrating issue?
I'm not sure exactly on the issue you are having, but the cache you'd disabled is related to the content cache rather than any view caching that may be in place. The XML cache is a cache of the content you enter in Umbraco but doesn't contain any of your Partial view information.
Do you have something like Donut Caching, or are you using Html.CachedPartials (or another caching approach) ?
No I'm not using any caching approach, just a fresh install with some basic document types and content. Does Umbraco use any caching for the views?
Not that I'm aware of. What sort of Visual Studio project are you using? is it a Website Project or a Web Application project?
It should be a Website Project, generated from the UaaS-cmd
Are you running in debug?
If not and you are using cached partials or macros that could be the cause.
Also do you have output cache enabled? If so set it to false
<outputCache enableOutputCache="true" />
Yes, I've tried also in debug but the issue remains. I'm not using cached partials, indeed this problem occurs also in regular templates.
I haven't the output cache enabled (it was missing in the web config). Also putting it to false does not change the behaviour.
It's the fresh solution generated by the Uaas, since I'm using Umbraco Cloud.
I'm working in a virtual machine over Parallels if it could help to investigate the scenario.
Any further suggestion? The problem isn't solved yet :(
Maybe I can try to clone the project to remove cache folders. I will let you know
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted