You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I have a situation where I must redirect requests from a specific origin with conditions to a custom page.
I did some code; however, the redirection is overwritten by WP-Rocket when the page is served from the cache.
That would be nice to have a filter, I would say, in
serve_cache_file()
andserve_gzip_cache_file()
: https://github.com/wp-media/wp-rocket/blob/develop/inc/classes/Buffer/class-cache.php#L167 to ignore the cache.Beta Was this translation helpful? Give feedback.
All reactions