Ensure content consistency on all nodes
Data caching
Sitefinity’s integration with OpenAccess ORM allows you to benefit from the OpenAccess implementation of Data (Level2) Caching. Data caching provides a mechanism for storing the results of a query to the database in cache and serving them from cache when the same query is executed for that context. This results in faster performance when retrieving data.
You can see the value of the data caching property by opening Administration » Settings » Advanced » Data and checking the EnableDataCaching property.
If the input field is empty, Sitefinity CMS automatically sets this value.
Specify the web server URLs in Sitefinity
Sitefinity’s load balancing feature facilitates handling of the cache invalidation, which is necessary when the application runs in Load Balanced scenario.
Sitefinity CMS uses web services communication to notify all participating nodes when a content change occurs. This way it is guaranteed, that this content change propagates to all instances in your load balancing setup.
To setup the web server URLs, perform the following:
- In Sitefinity’s backend, click Administration » Settings » Advanced Settings » System » LoadBalancing » WebServerUrls » Create new.
- Enter the URLs of each of the frontend servers that are part of the load balancing and will be used to access your website.
The following are examples of URL format:
- http://webserver1.telerik.com/
- http://webserver2.telerik.com/
- You can also directly enter their IP addresses.
The following are examples of the format of the IPs:
- http://199.166.0.1/
- http://199.166.0.2/
NOTE: In order for the load balancing cache synchronization to work properly, the specified server nodes must be visible and able to message each other. Make sure that your network infrastructure and/or firewall settings allow this
Troubleshooting
If, after you have configured your Sitefinity CMS instances for load balancing, you are experiencing problems with content that is not updating correctly, check the following: