Configure output cache and cache expiration time

Once the page is compiled, the actual request processing begins. The page is instantiated and executed. The page and all controls on it go through their lifecycle to complete their business logic and generate the output HTML. Also, this is the stage where all permissions are checked, all necessary data is collected from the database etc. Once the response is generated, it could be cached before sending it to the client. By default, Sitefinity CMS caches the response allowing subsequent requests to skip the entire step.

NOTE: The response may vary for different browsers and some request conditions. This is why this step may still be executed even though the output has already been cached. For example, if the request is authenticated with credentials that allow inline editing, output cache will not take effect and this step will always be executed. When testing output cache, make sure you are logged out.

RECOMMENDATION: Configure the output cache, so that you ensure output cache is turned on for pages, has a longer duration time, and configure various output cache settings that affect performance. For more information, see Best practices: Configure output cache.

Want to learn more?

Sign up for our free beginner training. Boost your credentials through advanced courses and certification.
Register for Sitefinity training and certification.

Was this article helpful?