No Browser cache for .WOFF file type
-
Hello, I recently came up with this frustrating problem in which every file type has browser cache enabled except .WOFF font type.
Here is my .htaccess file, which is I believe, generated by LSWS cache plugin.
# BEGIN LSCACHE ## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ## <IfModule LiteSpeed> RewriteEngine on CacheLookup on RewriteRule .* - [E=Cache-Control:no-autoflush] RewriteRule ^min/\w+\.(css|js) - [E=cache-control:no-vary] ### marker CACHE RESOURCE start ### RewriteRule wp-content/.*/[^/]*(responsive|css|js|dynamic|loader|fonts)\.php - [E=cache-control:max-age=3600] ### marker CACHE RESOURCE end ### ### marker LOGIN COOKIE start ### RewriteRule .? - [E="Cache-Vary:wp-postpass_dc7f18c28006f9f6163b0551a0f8820d"] ### marker LOGIN COOKIE end ### ### marker FAVICON start ### RewriteRule favicon\.ico$ - [E=cache-control:max-age=86400] ### marker FAVICON end ### </IfModule> ## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ## # END LSCACHE # BEGIN NON_LSCACHE ## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ## ### marker BROWSER CACHE start ### <IfModule mod_expires.c> ExpiresActive on ExpiresByType application/pdf A15778476 ExpiresByType image/x-icon A15778476 ExpiresByType image/vnd.microsoft.icon A15778476 ExpiresByType image/svg+xml A15778476 ExpiresByType image/jpg A15778476 ExpiresByType image/jpeg A15778476 ExpiresByType image/png A15778476 ExpiresByType image/gif A15778476 ExpiresByType image/webp A15778476 ExpiresByType video/ogg A15778476 ExpiresByType audio/ogg A15778476 ExpiresByType video/mp4 A15778476 ExpiresByType video/webm A15778476 ExpiresByType text/css A15778476 ExpiresByType text/javascript A15778476 ExpiresByType application/javascript A15778476 ExpiresByType application/x-javascript A15778476 ExpiresByType application/x-font-ttf A15778476 ExpiresByType application/x-font-woff A15778476 ExpiresByType application/font-woff A15778476 ExpiresByType application/font-woff2 A15778476 ExpiresByType application/vnd.ms-fontobject A15778476 ExpiresByType font/ttf A15778476 ExpiresByType font/woff A15778476 ExpiresByType font/woff2 A15778476 </IfModule> ### marker BROWSER CACHE end ### ### marker MINIFY start ### <IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} ^(.*)/min/(\w+)\.(css|js)$ RewriteCond %1/wp-content/cache/$2/$1.$2 -f RewriteRule min/(\w+)\.(css|js) wp-content/cache/$2/$1.$2 [L] </IfModule> ### marker MINIFY end ### ## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ## # END NON_LSCACHE # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘No Browser cache for .WOFF file type’ is closed to new replies.