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
Hy,
We are using Umbraco in our project and built our own cache. How can I disable umbraco caching and access content directly from the database?
My approach was to set
<XmlCacheEnabled>False</XmlCacheEnabled> <UmbracoLibraryCacheDuration>0</UmbracoLibraryCacheDuration>
in umbracoSettings.config. But I do not get the actual content, when I try to query data in the code. It seems that umbraco api continues to query some cache instead of the database.
Hi Stefan,
can you shw us the code you use for getting the content using the API?
Did you restart the website after changing the umbracoSettings config or touched the webconfig file in order to restart the application?
/Michaël
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Disable Cache
Hy,
We are using Umbraco in our project and built our own cache. How can I disable umbraco caching and access content directly from the database?
My approach was to set
in umbracoSettings.config. But I do not get the actual content, when I try to query data in the code. It seems that umbraco api continues to query some cache instead of the database.
Hi Stefan,
can you shw us the code you use for getting the content using the API?
Did you restart the website after changing the umbracoSettings config or touched the webconfig file in order to restart the application?
/Michaël
is working on a reply...