Page Caching
Updated over a week ago

When visitors land on your website their browser starts communicating with your web server, thus initializing the web page's loading.

This process involves a lot of operations, such as PHP handling, retrieving data from your database, transmitting files to the browser, and eventually constructing a complete web page for the viewers.

As a caching service, NitroPack’s goal is to ensure that the page rendering happens as fast as possible so that little to no downtime is experienced before the user can view the complete version of your website.

To achieve this, one approach is to utilize page caching. This involves eliminating PHP and database requests and instead storing the content as HTML files.

NitroPack stores most of the resources of a website on our high-end CDN, but to provide a faster loading time, some of the cache files are stored on the website's hosting server.

Depending on the platform that your site is using (Wordpress, Magento, etc), NitroPack stores the cache files in the following paths:

WordPress

pasted_image_0.png

wp-content/nitropack/<random_string>/data/pagecache

Magento

pasted_image_1.png

htdocs/<website>/current/var/nitro_cache/<random_string>/data/pagecache

OpenCart

pasted_image_3.png

public_html/system/storage/cache/nitropackio/data/pagecache

For convenience, NitroPack stores the different versions of the cache files in separate directories named desktop, mobile, and tablet.

📌 If you need any assistance or have questions, reach out to our support team at [email protected] or via this link: https://support.nitropack.io

Did this answer your question?