Overview
Caching is the process of storing data in a temporary storage area (cache). It is designed to enable faster information retrieval for frequently used instructions/data, which is why it is important to configure your cache correctly to get optimum server performance.
As part of server maintenance, it is crucial to know how to configure caching correctly. You will find the steps to set up caching for your platform in this article.
Environment
- Evoq Content
- Evoq Engage
Prerequisites
You need a host/superuser account to be able to perform the steps outlined in this article. Hosts have full permissions to all sites in the DNN instance.
Process
-
Go to Persona Bar > Settings > Servers.
-
Go to Server Settings > Performance.
-
Choose how the page's state is persisted (Page State Persistence).
- Page: Information about the page's state is stored in a hidden field on the page (recommended).
- Memory: Information about the page's state is cached in memory.
-
Choose Caching Providers.
Field Description Caching Provider This is the default caching provider for the site.
- WebRequestCachingProvider: The default for Evoq products and uses a server web request adapter to synchronize the caches of enabled web servers automatically.
- FileBasedCachingProvider: The default for the DNN Platform. Cache synchronization is not automated.
Module Cache Provider The default caching provider for modules. Each module can override this setting.
- File: The cache is stored in a file. Choose this if your server tends to run out of memory (Default).
- Memory: The cache is stored in memory (fastest performance).
- Database: The cache is stored in a database (to be deprecated).
Page Output Cache Provider The default caching provider for pages. Caching is enabled for a page only if the cache timeout is set for that page.
- File: The cache is stored in a file. Choose this if your server tends to run out of memory.
- Memory: The cache is stored in memory (fastest performance).
- Database: The cache is stored in a database (Default).
-
Configure caching behavior.
Field Description Cache Setting The relative length of time that items remain in the cache.
- NoCaching: No caching (worst performance).
- LightCaching: Items are held in cache for the shortest time.
- ModerateCaching: Items are held in cache for a moderate length of time.
- HeavyCaching: Items are held in cache for the longest time (best performance; default).
Authenticated Cacheability /
Unauthenticated CacheabilityThe value of the Cache-Control field in the HTTP General header. The Cache-Control field indicates how caching is done. Authenticated Cacheability specifies the caching behavior for authenticated users; Unauthenticated Cacheability for anonymous users.
- NoCache
- Private
- Public
- Server
- ServerAndNoCache (Default)
- ServerAndPrivate
These values are defined in HttpCacheability Enumeration.
SSL for Cache Synchronization (Optional) If enabled (On), a secure connection is used when synchronizing the caches of enabled web servers. -
Click Save.
Parent Topic
Related Tasks
Related Information
Comments
0 comments
Please sign in to leave a comment.