WordPress Built-In Cache
-
Hi,
Although I enabled the WordPress built-in cache, the number of mysql query stay the same. Isn’t it supposed to decrease if it is enabled?
I placed this in the wp-config.php
define(‘ENABLE_CACHE’, true);
define(‘CACHE_EXPIRATION_TIME’, 180);In the footer.php, I put the following code.
global $wpdb;
timer_stop(1);
echo “seconds with” . $wpdb->num_queries . “database queries”;Any information would be greatly appreciated.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘WordPress Built-In Cache’ is closed to new replies.