Hi Rafael,
Currently there’s no ‘noob’ way to do so, and you have got a very point there: I’ll put some easy-to-tell optional setting into the next version, like HTML comments.
The current easiest method is the following:
- you need either Chrome or Firefox with Firebug addon ( or any browser that can show the HTTP response headers )
- got to WP-FFPC settings, Debug & in-depth tab and tick “Add X-Cache-Engine header”
- save the settings
- push the clear cache button
- log out from admin or open a private mode browser
- go to the questioned page, push F12 in your browser
- on the panel that opened up, go to Network ( or Net ) tab
- at the very bottom, instead of All, select Documents
- reload the page twice ( first it generates the page, and not served from cache, the second should come from cache)
- click on the entry on the bottom pane
- look for Response headers section
- search for Add X-Cache-Engine header
If it’s there, the plugin is working correctly.
( To be honest, I’ve never written this down and I have to admit, it’s quite ugly. I’ll come up with something better in the next version )
Hi Rafael,
I’ve added a few lines for an option that adds a html comment before closing body tag into the generated page.
I still need to make test in on, but until the release, you can get the plugin’s zip from: https://github.com/petermolnar/wp-ffpc/archive/master.zip
Cheers,
Peter
Hi Rafael,
Version 1.1 is out, it includes the HTML comment option that’s going to be added to all page, just before closing body tag if ticked.
I’d be happy to read on your experiences with the new version.
Cheers,
Peter
Hi, I’m coming in few months after this post, but am not sure if the plugin is actually working. I’m running following:
– WP 3.5.2
– WP FFPC 1.2 with memcached driver
– lighttpd 1.4.. on debian
I have following status with the plugin: Backend status:
127.0.0.1:11211 => up & running
All appears to be working based on the dashboard. However, when I check the Add HTML debug comment in the debug tab, empty the cache, save everything, I’m not seeing any comments near the /body in the page source in Chrome.
Anything that I may be doing wrong here? Ideas?
Thank you.
Are you trying it logged in?
I am not. When I refresh the home-page, there is not the black WP dashboard bar at the top. I just tried Firefox also, and not seeing any comment that tells me that the caching is on (unless I’m not understanding what I should look for…