I would like to use such rules to cache sitemap files.
Unfortunately, no matter what I do Last-modified header is still returned to the client and subsequent requests have If-Modified-Since set making souin to request backend due to: detail=REQUEST-REVALIDATION. For test purposes I have added X-Sitemap one and it gets appended.
I have also tried request_header matcher to remove "if-modified-since" but I guess it executes after cache part.
I would like to use such rules to cache sitemap files.
Unfortunately, no matter what I do Last-modified header is still returned to the client and subsequent requests have If-Modified-Since set making souin to request backend due to: detail=REQUEST-REVALIDATION. For test purposes I have added X-Sitemap one and it gets appended.
I have also tried request_header matcher to remove "if-modified-since" but I guess it executes after cache part.
Any ideas? :)