How to Serve Cache Only via PHP

by admin

On servers using apache, the cache is served via htaccess thanks to the rewrite rule. It is the best method to serve cache.

However sometimes you may need to turn off the rewrite rule method for development. You can turn this feature off as below and have the cache serve only via php.

First, you need to add the following lines after <?php which exists at the top of wp-config.php file.

Second, you need to save the setings of WP Fastest Cache again.

define("WPFC_SERVE_ONLY_VIA_CACHE", true);

Related articles

Placeholder Image
htaccess Gzip doesn’t work

Sometimes the files are not compressed although the gzip option has already been enabled.

How to Enable Gzip Compression in WordPress
How to Enable Gzip Compression in WordPress

Used by more than half of all websites, Gzip Compression remains popular today.

Clear Cache Process
Clear Cache Process

WP Fastest Cache does not clear the cache instantly not to increase the CPU usage.

Ready to get started?

Purchase your first license and see why 1,500,000+ websites globally around the world trust us.