modified file htaccess
This commit is contained in:
parent
aa3da0eb92
commit
3f7f82a4d5
8
htaccess
8
htaccess
@ -132,15 +132,23 @@
|
||||
<FilesMatch "\.(css|htc|less|js|js2|js3|js4|CSS|HTC|LESS|JS|JS2|JS3|JS4)$">
|
||||
FileETag MTime Size
|
||||
<IfModule mod_headers.c>
|
||||
Header set Pragma "public"
|
||||
Header append Cache-Control "public"
|
||||
Header unset Set-Cookie
|
||||
</IfModule>
|
||||
</FilesMatch>
|
||||
<FilesMatch "\.(html|htm|rtf|rtx|txt|xsd|xsl|xml|HTML|HTM|RTF|RTX|TXT|XSD|XSL|XML)$">
|
||||
FileETag MTime Size
|
||||
<IfModule mod_headers.c>
|
||||
Header set Pragma "public"
|
||||
Header set Cache-Control "max-age=3600, public"
|
||||
</IfModule>
|
||||
</FilesMatch>
|
||||
<FilesMatch "\.(asf|asx|wax|wmv|wmx|avi|avif|avifs|bmp|class|divx|doc|docx|eot|exe|gif|gz|gzip|ico|jpg|jpeg|jpe|webp|json|mdb|mid|midi|mov|qt|mp3|m4a|mp4|m4v|mpeg|mpg|mpe|webm|mpp|otf|_otf|odb|odc|odf|odg|odp|ods|odt|ogg|ogv|pdf|png|pot|pps|ppt|pptx|ra|ram|svg|svgz|swf|tar|tif|tiff|ttf|ttc|_ttf|wav|wma|wri|woff|woff2|xla|xls|xlsx|xlt|xlw|zip|ASF|ASX|WAX|WMV|WMX|AVI|AVIF|AVIFS|BMP|CLASS|DIVX|DOC|DOCX|EOT|EXE|GIF|GZ|GZIP|ICO|JPG|JPEG|JPE|WEBP|JSON|MDB|MID|MIDI|MOV|QT|MP3|M4A|MP4|M4V|MPEG|MPG|MPE|WEBM|MPP|OTF|_OTF|ODB|ODC|ODF|ODG|ODP|ODS|ODT|OGG|OGV|PDF|PNG|POT|PPS|PPT|PPTX|RA|RAM|SVG|SVGZ|SWF|TAR|TIF|TIFF|TTF|TTC|_TTF|WAV|WMA|WRI|WOFF|WOFF2|XLA|XLS|XLSX|XLT|XLW|ZIP)$">
|
||||
FileETag MTime Size
|
||||
<IfModule mod_headers.c>
|
||||
Header set Pragma "public"
|
||||
Header append Cache-Control "public"
|
||||
Header unset Set-Cookie
|
||||
</IfModule>
|
||||
</FilesMatch>
|
||||
|
Loading…
Reference in New Issue
Block a user