Я использую приведенный ниже код в своем файле .htaccess, чтобы попытаться установить заголовки expire для некоторых шрифтов, но после проверки моего кеша Firefox и заголовка expire, шрифт настроен на истечение примерно через 12 часов; не 1 год, который я пытаюсь установить.
Вот мой код:
# 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
# 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"
Что я делаю неправильно?