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
Looking at Umbraco 8 and what it would take to switch to it over from v7.
As a long time user (since v4), I've often relied on the umbraco.config file to run custom parsing over the file for reporting or analysis. In fact I wrote a nuget package to do that: https://www.nuget.org/packages/RecursiveMethod.UmbracoXmlParser
I just fired up a Nuget version of 8.0.2 and installed the starter kit, but I can't find the umbraco.config inside App_Data. I forced some settings which should have ensured it gets created, but still can't see it:
<add key="umbracoContentXMLUseLocalTemp" value="false"/>
<add key="umbracoContentXML" value="~/App_Data/umbraco.config" />
<add key="umbracoLocalTempStorage" value="Default" />
What gives? Does Umbraco not use an XML cache anymore?
No it does not. It uses NuCache which is a local store, this saves time and resources on database calls etc.
if you really need some insights into the cache, have a look at this tool https://creativewebspecialist.co.uk/2018/07/30/peek-inside-umbraco-v8-nucache-files-with-the-nucache-explorer-tool/
If you want to, there is still a way to execute XPath queries against NuCache.
Thank you both Carl and Søren. I'll check out NuCache, and maybe add support to my nuget package for it.
With thanks to Warren's work, my nuget package can now read and analyse both the umbraco.config (v4/v6/v7) and the NuCache.content.db (v8.0.1 and later).
This package makes it easy to write simple C# code that runs custom analysis over the content and check for missing values in properties, or to count articles by doctype, or to create reports based on content.
I did find that Warren's great work at only works against the NuCache v8.0.0 schema, due to a binary change to the database in March 2019 that broke Warren's tool (although it's easy enough to fix).
Thanks everyone for your help.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted