Closed ctekk7 closed 5 months ago
I expected images and files to have "hit" or to have a bit more detailled information in rocket-nginx the description how it works with a CDN.
WP Rocket does not create caching files for images. That would be useless.
The only modification Rocket-Nginx does to static files is change the caching headers. You should expect Cloudflare to handle static files caching.
You should not expect images to have a HIT from Rocket-Nginx.
Is it correct, that there is index-https.html at the end of the image file for "X-Rocket-Nginx-File"?
Rocket-Nginx simply checks if the URL follows the WP Rocket pattern for cached file. So yes, that is normal!
thank you, it seems it was not clear to why those files have those headers if they are not meant to be cached by rocket-nginx.
The reason is : coding with the "Nginx programming language" is really basic. Therefore, it would be complicated to manage cases like this efficiently simply to remove the headers.
Okay thank you for the insight
From: Maxime Jobin @.> Sent: Saturday, February 10, 2024 7:14:57 PM To: SatelliteWP/rocket-nginx @.> Cc: ctekk7 @.>; Author @.> Subject: Re: [SatelliteWP/rocket-nginx] Configuration with Cloudflare (Issue #209)
The reason is : coding with the "Nginx programming language" is really basic. Therefore, it would be complicated to manage cases like this efficiently simply to remove the headers.
— Reply to this email directly, view it on GitHubhttps://github.com/SatelliteWP/rocket-nginx/issues/209#issuecomment-1937086927, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQ3DWH6DWS3IHHKILJBW3MLYS62KDAVCNFSM6AAAAABCWNXK6SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZXGA4DMOJSG4. You are receiving this because you authored the thread.Message ID: @.***>
Describe the bug
Versions
To Reproduce
Expected behavior
NGINX config
nginx server
Headers