Last-Modified and ETag unset for ICO / SVG / WOFF / WOFF2…
-
Hello,
Could it be possible to let the user decide to exclude some type of files like ICO / SVG / WOFF / WOFF2 from the list of type of files for which ETag and Last-Modified properties are unset in .htaccess like here:
<FilesMatch "\.(bmp|class|doc|docx|eot|exe|ico|webp|json|mdb|webm|mpp|otf|_otf|odb|odc|odf|odg|odp|ods|odt|ogg|pdf|pot|pps|ppt|pptx|svg|svgz|swf|tif|tiff|ttf|ttc|_ttf|wav|wri|woff|woff2|xla|xls|xlsx|xlt|xlw|BMP|CLASS|DOC|DOCX|EOT|EXE|ICO|WEBP|JSON|MDB|WEBM|MPP|OTF|_OTF|ODB|ODC|ODF|ODG|ODP|ODS|ODT|OGG|PDF|POT|PPS|PPT|PPTX|SVG|SVGZ|SWF|TIF|TIFF|TTF|TTC|_TTF|WAV|WRI|WOFF|WOFF2|XLA|XLS|XLSX|XLT|XLW)$"> FileETag None <IfModule mod_headers.c> Header unset ETag Header unset Last-Modified </IfModule> </FilesMatch>
Because it lowers the score on GTMetrix for no real reason in our case for ICO / SVG / WOFF / WOFF2 files.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Last-Modified and ETag unset for ICO / SVG / WOFF / WOFF2…’ is closed to new replies.