Skip to content

Commit

Permalink
Update .htaccess
Browse files Browse the repository at this point in the history
  • Loading branch information
in-session authored Mar 9, 2021
1 parent 8960823 commit 9d778c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pub/static/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ AddType application/xml xml

<IfModule mod_headers.c>

<FilesMatch .*\.(ico|jpg|jpeg|png|gif|svg|webp|avif|avifs?|js|css|eot|ttf|otf|woff|woff2|html|json|webmanifest)$>
<FilesMatch .*\.(ico|jpg|jpeg|png|gif|svg|webp|avif|avifs|js|css|eot|ttf|otf|woff|woff2|html|json|webmanifest)$>
Header append Cache-Control public
</FilesMatch>

Expand Down Expand Up @@ -122,7 +122,7 @@ AddType application/xml xml
ExpiresByType application/json "access plus 1 year"

# Favicon, images, flash
<FilesMatch \.(ico|gif|png|jpg|jpeg|svg|svgz|webp|avif|avifs?)$>
<FilesMatch \.(ico|gif|png|jpg|jpeg|svg|svgz|webp|avif|avifs)$>
ExpiresDefault "access plus 1 year"
</FilesMatch>
ExpiresByType image/gif "access plus 1 year"
Expand Down

0 comments on commit 9d778c8

Please sign in to comment.