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.
"https://www.mysite.com/cars/doors/?sort=desc" "https://www.mysite.com/cars/doors/" "https://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:
"https://www.mysite.com/cars/*"
meaning that every URI starting with this should get purged?Thank you for an awesome plugin!
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.