1
[Dev] Add filter to check whether file cache should be served
Source: wp-media/wp-rocket#6092 · opened by @Arkshine
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() and serve_gzip_cache_file() : to ignore the cache.
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() and serve_gzip_cache_file() : to ignore the cache.
No pledges yet. Be the first to back this.
Comments
Similar requests
Provide the ability to only store gzipped HTML files
1 vote · 0 comments
Cloudflare Edge Cache HTML
3 votes · 0 comments
ability to cache 404 pages
2 votes · 0 comments
Same cache for loggedin and guest users
0 votes · 0 comments
Ability to apply filters on getYoutubeThumbnailScript function
0 votes · 0 comments
No comments yet.