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
Cache Url with QueryString

WP Fastest Cache does not create cache by default if a url contains a query string.

How to Move the Menu Item Under the Setting Menu
How to Move the Menu Item Under the Setting Menu

The menu item of WP Fastest Cache is added to the top level menu by default so you can reach…

Ready to get started?

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