How to use the page cache

The cloud panel comes with a powerful server-level caching system which is part of the NGINX web server. The server (page) cache makes websites faster and reduces the load on the web server.

Benefits of using cache

One of the most important benefits of page caching is reducing the time it takes to load a website.

It is a system that temporarily stores data such as web pages, images, and similar content when a web page is loaded for the first time. It remembers the content and is able to quickly load the content each time the web page is visited again. Providing such temporarily stored data to each visitor requires much less server resources and can help to significantly reduce hardware requirements while serving more visitors.

In addition, the page cache comes in handy when there is an error in the PHP stack or the website. If a temporarily cached version is still available, it will be served to visitors instead of showing an error message.

Default Cache Configuration

The page cache is available on all servers and enabled by default. It is fully compatible with many applications.

However, there are some applications and parts of websites that should not be cached – such as (WordPress) admin pages, shopping carts and similar.

Therefore the following cache exclusions are in place to help you get started quickly without applying any changes to the page cache.

All POST requests and password protected pages are automatically excluded from the cache.

POST

All POST requests are excluded.

HTTP Authorization

All password-protected websites are excluded.

The following URLs and cookies are suitable for most applications (eg. Joomla, WordPress, Woo commerce, Magento and many more) are automatically excluded:

URL

/administrator
/com_user
/com_users
/com_contact
/com_mailto
/component/user
/component/users
/component/contact
/component/mailto
/ucp.php
/login
/logout
/connect
/signin
/signup
/register
/wp-admin
/wp-login.php
/wp-cron.php

Cookie

joomla_*
userID
wordpress_*
wp-postpass
comment_author_*
woocommerce_*
wp_woocommerce_*
cookie_member_id

HTTP Cache Control Private

Leave a Comment

Your email address will not be published. Required fields are marked *