I remember someone showing me a way to clear cache in umbraco. I know republishing the entire site usually works but theres another one where you delete an xml file and when you refresh the site this file gets rebuilt. Does anyone know what im talking about or know where i can find this xml file?
If you do that, then the in-memory cache is not cleared, you have to recycle the app pool or touch the web.config to make sure all of the caching is gone.
Republish entire site does the same thing by the way, it invalidates the in-memory cache and then rebuilds the umbraco.config file (asynchronously).
UMBRACO cache
I remember someone showing me a way to clear cache in umbraco. I know republishing the entire site usually works but theres another one where you delete an xml file and when you refresh the site this file gets rebuilt. Does anyone know what im talking about or know where i can find this xml file?
Do you mean the data folder?
http://umbraco.org/documentation/books/important-files-and-folder-structure?altTemplate=print
There is also an interesting post about caching here:
http://forum.umbraco.org/yaf_postst4161_Umbraco-caching-explained.aspx
ah found the answer the second post. the umbraco.config is the answer. Delete this and when the site is refreshed it is recreated.
If you do that, then the in-memory cache is not cleared, you have to recycle the app pool or touch the web.config to make sure all of the caching is gone.
Republish entire site does the same thing by the way, it invalidates the in-memory cache and then rebuilds the umbraco.config file (asynchronously).
is working on a reply...