Blocking specific links from being cached
-
I have a protected set of files. Most of them work fine, except when I get to the bigger zip ones then WP-Supercache interferes and it creates a Memory Allocation error because the file is too big to be cached and shouldn’t be in the first place.
I’ve told super-cache to ignore Get Parameters, I’ve put the parameter “gfid” in the strings to be ignored, and it still fails.
How can I do the equivalent of a shortcode so the link is ignored. In other words, I want to do something like this:
[cacheignore]https://example.com/?gfid=1071[/cacheignore]
Or what else can I do to make sure the file is ignored?
- The topic ‘Blocking specific links from being cached’ is closed to new replies.