Cache your webpages, so they load faster, just like web browsers. Sometimes when there is a lot of content on the webpage, the browser has to download quite a lot of data in order to display that webpage. To shorten the page load times, browsers cache most of the content that appears on the webpage, saving a copy of the web page's content on the device’s hard drive. In this way, the majority of the content will already be locally cached the next time the user loads the website, making it load considerably faster.
These files are kept by browsers until the hard drive cache is full or until their time to live (TTL) expires. (TTL is a measure of how long stuff should be stored in the cache.)
Similarly, now you can choose the webpages for which you want to enable the caching, and we will cache them so they load quickly on the website until the TTL expires. You can also set the value of TTL along with the web pages.
How to cache your web pages?
You can follow the below steps to cache your web pages:
- Go to Settings.
- Click on the Cache under the General header in the left side panel.
- Click on the Enable Caching button to enable caching.
- The list of all web pages will appear on the screen, where you can tick the checkbox next to the web pages that you wish to cache.
- You can also configure the TTL value. By default, it is set to 15 minutes but you can select a maximum of 30 days.
- When you want to clear the cache for any of the web pages, then you can click on the Purge option next to it, which will remove its cache.
- If you want to clear the cache for all web pages, then you can click on the Purge All Cache button.