How to disable caching

Whenever I update a php file (eg *functions.php*), it usually takes 1 to 2 minutes for the new code to take effect, so obviously some sort of caching is in place. How do I turn it off?

I’ve added the following to *wp-config.php*, but it doesn’t work at all.

define(‘WP_CACHE’, false);

1 Comment


This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer