mirror of
https://github.com/standardebooks/web.git
synced 2025-07-19 04:44:48 -04:00
Add text/javascript to apache cache policy
This commit is contained in:
parent
5773a67c42
commit
d8f85fa4b3
3 changed files with 10 additions and 8 deletions
|
@ -19,6 +19,7 @@ Protocols h2 h2c http/1.1
|
|||
# Set up caching directives for infrequently changed files
|
||||
ExpiresActive on
|
||||
ExpiresByType application/javascript "access plus 6 months"
|
||||
ExpiresByType text/javascript "access plus 6 months"
|
||||
ExpiresByType font/woff2 "access plus 6 months"
|
||||
ExpiresByType image/avif "access plus 6 months"
|
||||
ExpiresByType image/gif "access plus 6 months"
|
||||
|
|
|
@ -19,6 +19,7 @@ Protocols h2 h2c http/1.1
|
|||
# Set up caching directives for infrequently changed files
|
||||
ExpiresActive on
|
||||
ExpiresByType application/javascript "access plus 6 months"
|
||||
ExpiresByType text/javascript "access plus 6 months"
|
||||
ExpiresByType font/woff2 "access plus 6 months"
|
||||
ExpiresByType image/avif "access plus 6 months"
|
||||
ExpiresByType image/gif "access plus 6 months"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue