I've got the following setting in the my dev umbracoSettings.config
<distributedCall enable="true"> <!-- the id of the user who's making the calls --> <!-- needed for security, umbraco will automatically look up correct login and passwords --> <user>0</user> <servers> <!-- add ip number or hostname, make sure that it can be reached from all servers --> <server>localhost</server> <server>localhost:81</server> <!-- this is the makeshift https server --> </servers> </distributedCall>
Is there a way of getting the dictionary items refresh on both servers when they are updated?
I got it fixed by manually refreshing the ClientDependency. You can do this by deleting the \App_Data\TEMP\ClientDependency folder and update the version number in the ClientDependency.config file.
Dictionary Items cache not be refreshed on update
I've got the following setup:
- Two Webapps pointing two a single umbraco db
- One Webapp is for http communication, one for https
- Webapps have separate folders with different settings in web.config (e.g. no authentication allowed on http, payment settings in https web.config)
When I publish content in the https webapp it also immediatly appears on the http site
But when i change a dictionary item in one web app it is only reflected in the other when I force an umbraco app restart (e.g touch web.config).
I've also created a page which runs the following code to republish everything:
umbraco.cms.businesslogic.web.Document.RePublishAll();
umbraco.library.RefreshContent();
I've got the following setting in the my dev umbracoSettings.config
<distributedCall enable="true">
<!-- the id of the user who's making the calls -->
<!-- needed for security, umbraco will automatically look up correct login and passwords -->
<user>0</user>
<servers>
<!-- add ip number or hostname, make sure that it can be reached from all servers -->
<server>localhost</server>
<server>localhost:81</server> <!-- this is the makeshift https server -->
</servers>
</distributedCall>
Is there a way of getting the dictionary items refresh on both servers when they are updated?
Did you ever get a solution to this?
- Dennis
Would love a solution to this as well if one every comes about...
I suppose it is bad practise having two web applications pointing to the same Umbraco website. Use one, and let it handle both http and https.
- Dennis
I got it fixed by manually refreshing the ClientDependency. You can do this by deleting the \App_Data\TEMP\ClientDependency folder and update the version number in the ClientDependency.config file.
Jeroen
is working on a reply...