Quantcast
Channel: WordPress.org Forums » [W3 Total Cache] Support
Viewing all articles
Browse latest Browse all 19286

hotzeplotz on "[Plugin: W3 Total Cache] w3tc_pgcache_flush_url for front page"

$
0
0

hi,

i would like to trigger a flush of a site's front page whenever any other WP page is updated - i thought w3tc_pgcache_flush_url() would do this, but in my tests the page does not get flushed.

the front page is not a WP page - i am using our own child theme of the Responsive theme (https://wordpress.org/themes/responsive), and the front page is generated by pulling content from different pages, posts and so on - so there is no page ID i can use to force a flush nor do our editors see a 'flush page' link for this specific (web) page as there is no corresponding WP page.

i assume the $url parameter of w3tc_pgcache_flush_url() takes a full URI, however using either the site's full front page URI (either with trailing slash or not) or just '/', the page is not flushed.

from my debug logs, i see that the w3tc_pgcache_flush_url() function is invoked, but the W3TC comments at the bottom of the HTML source stay the same:

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using xcache
Database Caching 28/162 queries in 0.056 seconds using xcache
Object Caching 2806/3343 objects using xcache

Served from: <URI> @ 2013-06-21 21:58:56 by W3 Total Cache -->

so i am not sure whether i am invoking the wrong function, if i am invoking the function with wrong parameters, or if there is anything else i am missing here...

thanks for any hints,

http://wordpress.org/extend/plugins/w3-total-cache/


Viewing all articles
Browse latest Browse all 19286

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>