Skip to content

How to enable debug mode

Nauris Pūķis edited this page Oct 27, 2022 · 3 revisions

The debug tab is a useful tool to find out why the cache isn't behaving the way you expect it to.

You can activate the debug mode by going to the advanced tab and clicking "Enable Logging"

Important: Don't forget to deactivate the logging mode as soon as you don't need it anymore.

image

And then login to the debugging dashboard: image

After you log in, you should see a screen that looks something like this:

Warning! Do not copy and paste this log file to a public website!

image

The log file is going to keep track of the decisions it makes for every request while it's active.


In this case, looks like visiting the page testington worked just fine:

12:46:39 90601 /2022/10/21/testington/ wp_cache_get_cookies_values: return:
12:46:39 90601 /2022/10/21/testington/ supercache dir: ABSPATH/wp-content/cache/supercache/supercache.test/2022/10/21/testington/
12:46:39 90601 /2022/10/21/testington/ wp_cache_get_cookies_values: return:
12:46:39 90601 /2022/10/21/testington/ Fetched static page data from supercache file using PHP. File: ABSPATH/wp-content/cache/supercache/supercache.test/2022/10/21/testington/index.html

2022/10/21/testington/index.html was served when the /2022/10/21/testington/ page was requested.

If you need help, you can get in touch via the WordPress.org forums