WordPress.org

Support

Support » Plugins and Hacks » Flush page cache by URL: What format? absolute, relative, trailing slash…?

Flush page cache by URL: What format? absolute, relative, trailing slash…?

  • Hi

    I’ve been desperately Googling for the answer to this, but I can’t find a single mention anywhere.

    The function pgcache_flush_url() takes a url as the argument. But in what format?

    E.g.

    "http://www.mysite.com/cars/doors/?sort=desc"
    "http://www.mysite.com/cars/doors/"
    "http://www.mysite.com/cars/doors"
    "www.mysite.com/cars/doors/"
    "/cars/doors/"

    etc, etc.

    I assume this is very important, bc if the url key is wrong, nothing is going to be cleared.

    Also, is there a way to flush cache by part of the path, sort of like this:
    "http://www.mysite.com/cars/*"
    meaning that every URI starting with this should get purged?

    Thank you for an awesome plugin!

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

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Flush page cache by URL: What format? absolute, relative, trailing slash…?’ is closed to new replies.