Why Staq cache is the most optimal caching solution to use
How does it “Staq” up?
Point 1
Since WordPress plugins are agnostic of their server environment, for the caching solution to work, it adds code to advanced-cache.php that looks to see if the cache file exists and if so, serve it. Otherwise, continue the request. This file is offered by WordPress to start “capturing” the request as soon as possible.
The problem with this scenario is that the PHP process is invoked by NGINX.
With Staq’s caching solution, it doesn’t require the advanced-cache.php file because the cache is part of the must-use plugin for each website installed on Staq. This means when the cache operates, it doesn’t invoke a PHP process, making the process more efficient.
Point 2
Since WordPress plugins are agnostic of their server environment, they typically do not work hand-in-hand with hosting companies. The majority of hosting companies do not offer access to NGINX configuration.
With Staq’s caching solution, it works hand-in-hand with NGINX customized configurations and the positive with that is that it helps bypass the invocation of PHP processes by checking if the cache files exist and then serving it immediately.
Take-home point
Staq’s caching solution is inherently built for websites hosted on its environment. It offers a lightweight caching solution that makes overall websites load faster on Staq compared to third-party caching plugins offered for WordPress.
Need some help?
We all do sometimes. Please reach out to our support team by dropping us a support ticket. We will respond fast.