Is it possible to disable in memory umbraco.config mechanism?
Umbraco is started for the first time, and the xml file is created from the DB contents. The xml is then loaded into memory for rapid access. When you publish a page, the change is written to DB and to the xml in memory. Next time umbraco is restarted, it will update the xml file on the disk.
Is it possible to disable use of the in memory process? so that the umbraco.config file is always up to date and always refered to.
I know this will be a performance hit, but trying to get it to work at our hosts, where we have a clustered environment but a single file store. (eg the in memory xml ends up in several separate instances... and depending on which cluster the admin is done on we end up with differing in memory xml) if we were to source from the file system then all cluster/nodes would be identical.
Alternatively is it possible to schedule a task to reload the in memory xml?? to sync across all the clusters from the file store?
XmlCacheEnabled: Turn Xml caching of content on/off.
Umbraco Makes heavy use of caching content in memory to avoid database
calls. This makes umbraco faster and more efficient. You should not in
any way turn this off, unless you have a very good reason to do so. It
will make your website very slow.
umbracosettings.config
<!-- Enable / disable xml content cache -->
<XmlCacheEnabled>False</XmlCacheEnabled>
However, even after setting this we are still seeing out of date data across the cluster.
would this setting also play a role,
ContinouslyUpdateXmlDiskCache: Update the XmlCache whenever content is published
I presume this is meaning update the phyical app_data/umbraco.config file on each publish so actually this is something that is desirable for propagating the xml file across the whole cluster.
Is it possible to disable in memory umbraco.config mechanism?
Umbraco is started for the first time, and the xml file is created from the DB contents.
The xml is then loaded into memory for rapid access.
When you publish a page, the change is written to DB and to the xml in memory.
Next time umbraco is restarted, it will update the xml file on the disk.
Is it possible to disable use of the in memory process? so that the umbraco.config file is always up to date and always refered to.
I know this will be a performance hit, but trying to get it to work at our hosts, where we have a clustered environment but a single file store. (eg the in memory xml ends up in several separate instances... and depending on which cluster the admin is done on we end up with differing in memory xml) if we were to source from the file system then all cluster/nodes would be identical.
Alternatively is it possible to schedule a task to reload the in memory xml?? to sync across all the clusters from the file store?
found what I thought would be the solution
XmlCacheEnabled: Turn Xml caching of content on/off. Umbraco Makes heavy use of caching content in memory to avoid database calls. This makes umbraco faster and more efficient. You should not in any way turn this off, unless you have a very good reason to do so. It will make your website very slow.
umbracosettings.config
<!-- Enable / disable xml content cache -->
<XmlCacheEnabled>False</XmlCacheEnabled>
However, even after setting this we are still seeing out of date data across the cluster.
would this setting also play a role,
ContinouslyUpdateXmlDiskCache: Update the XmlCache whenever content is published
I presume this is meaning update the phyical app_data/umbraco.config file on each publish so actually this is something that is desirable for propagating the xml file across the whole cluster.
Hence I have this set to true.
Did you find a solution to the caching issue?
is working on a reply...