netter
December 24, 2018, 8:54am
1
Hey! I’m trying to bypass wp-cron.php
on my wordpress, even if I have activated Cache everything
to cache the other pages.
Here are my rules:
Even with this (and purging the cache, and waiting for a few days), when hitting wp-cron.php
I get this:
Not sure why this is not working, I thought the rule the with highest priority would define the cache level.
sandro
December 24, 2018, 9:04am
2
Try adding an asterisk to your page rule.
netter
December 24, 2018, 9:21am
3
Ah!! Much better. Can I do a global rule on .php
files? Like https://october.eu/*.php*
?
sandro
December 24, 2018, 9:21am
4
That should probably work. But that will cache all the HTML output from them too. Is that desired?
netter
December 24, 2018, 9:23am
5
You mean it would bypass no? I would like to have a rule that bypass cache for wp-cron.php
and wp-login.php
. Globally, PHP files shouldn’t be cached.
sandro
December 24, 2018, 9:25am
6
Sorry, got confused, thought it was about “cache everything” .
.php paths are not cached by default anyhow, so no point in bypassing them unless you do have a cache-everything rule, in which case you should be able to exclude them with the rule you posted earlier.
system
Closed
January 23, 2019, 8:54am
7
This topic was automatically closed after 30 days. New replies are no longer allowed.