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 9d778c8 commit 8313833
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pub/media/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ AddType application/xml xml

<IfModule mod_headers.c>

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

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

# Favicon, images
<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 8313833

Please sign in to comment.