Skip to content

Commit

Permalink
Update .htaccess
Browse files Browse the repository at this point in the history
  • Loading branch information
plainheart authored Feb 23, 2024
1 parent 78ed85e commit 4e0dd61
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,19 @@ RedirectMatch 404 /\.asf\.yaml
<IfModule mod_expires.c>
ExpiresActive on

ExpiresByType text/html "access plus 1 hour"
ExpiresByType image/png "access plus 1 hour"
ExpiresByType image/jpg "access plus 1 hour"
ExpiresByType image/jpeg "access plus 1 hour"
ExpiresByType text/css "access plus 1 hour"
ExpiresByType text/html "access plus 1 hour"
ExpiresByType text/css "access plus 1 hour"
ExpiresByType application/javascript "access plus 1 hour"
ExpiresByType application/json "access plus 1 hour"
ExpiresDefault "access plus 10 days"
ExpiresByType application/json "access plus 1 hour"
ExpiresByType text/javascript "access plus 1 hour"
ExpiresByType text/json "access plus 1 hour"

#ExpiresByType image/png "access plus 1 hour"
#ExpiresByType image/jpg "access plus 1 hour"
#ExpiresByType image/jpeg "access plus 1 hour"
#ExpiresByType image/webp "access plus 1 hour"

ExpiresDefault "access plus 10 days"
</IfModule>

# no cache for root index redirection
Expand Down

0 comments on commit 4e0dd61

Please sign in to comment.