Hi,
I want to configure the default cache of some content types directly from the server, including js, all images and all types of fonts.
I try configuration like apache from Expires Settings (Litespeed Admin) but cache not working:
Original from apache:
I say thank you very much for all help
I want to configure the default cache of some content types directly from the server, including js, all images and all types of fonts.
I try configuration like apache from Expires Settings (Litespeed Admin) but cache not working:
HTML:
image/*=A604800, application/vnd.ms-fontobject=A2592000, application/x-font-ttf=A2592000, application/x-font-opentype=A2592000, application/x-font-woff=A2592000
Original from apache:
HTML:
## Add correct content-type for fonts
AddType application/vnd.ms-fontobject .eot
AddType application/x-font-ttf .ttf
AddType application/x-font-opentype .otf
AddType application/x-font-woff .woff
AddType image/svg+xml .svg
## Compress compressible fonts
AddOutputFilterByType DEFLATE application/x-font-ttf application/x-font-opentype image/svg+xml
ExpiresActive on
## Add a far future Expires header for fonts
ExpiresByType application/vnd.ms-fontobject "access plus 1 year"
ExpiresByType application/x-font-ttf "access plus 1 year"
ExpiresByType application/x-font-opentype "access plus 1 year"
ExpiresByType application/x-font-woff "access plus 1 year"
ExpiresByType image/svg+xml "access plus 1 year"
I say thank you very much for all help