I run some test on GTmetrix for my website and receive few clues to improve web performance.
One of this is:
“Specify a cache validator” The following resources are missing a cache validator. Resources that do not specify a cache validator cannot be refreshed efficiently. Specify a Last-Modified or ETag header to enable cache validation for the following resources:
Can I set this in Cloudflare configuration or in another way in my website?
I add this below code for my htaccess but no results
Header set Cache-Control “max-age=2592000, public”
Header set Cache-Control “max-age=216000, private”
Header set Cache-Control “max-age=216000, public, must-revalidate”
Header set Cache-Control “max-age=1, private, must-revalidate”
How to fix it?
I very appreciated for any clue for this…Thank you