Problem with Rehub Theme and Fonts WOFF2 Caching




Wordpress LScache Plugin: Problem with Rehub Theme and Fonts WOFF2 Caching

Last Updated on: Wed, 15 Apr 2026 00:00:02
Hi there, at first i want to thank you for this premium class und perfect designed plugin! Second thing is an error while installing and configuring the plugin with my ReHub Theme. PageSpeed shows Error for Caching Files WOFF2 and SVG Images. So here is my URL: https://becomepro.de So the files i need to get cached are these: /wp-content/themes/rehub-theme/admin/fonts/webfonts/fa-light-300.woff2 /wp-content/themes/rehub-theme/admin/fonts/webfonts/fa-regular-400.woff2 /wp-content/themes/rehub-theme/admin/fonts/webfonts/fa-solid-900.woff2 /wp-content/uploads/2020/01/becomepro-logo-kurse-portal.svg So perfect would be the option to add the WOFF2 files types to caching als also the svg files. My htacess file configuration is listed here: # BEGIN LSCACHE ## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ## 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 FAVICON start ### RewriteRule favicon .ico$ - [E=cache-control:max-age=86400] ### marker FAVICON end ### ## 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 ### ExpiresActive on ExpiresByType application/pdf A2592000 ExpiresByType image/x-icon A2592000 ExpiresByType image/vnd.microsoft.icon A2592000 ExpiresByType image/svg+xml A2592000 ExpiresByType image/jpg A2592000 ExpiresByType image/jpeg A2592000 ExpiresByType image/png A2592000 ExpiresByType image/gif A2592000 ExpiresByType image/webp A2592000 ExpiresByType video/ogg A2592000 ExpiresByType audio/ogg A2592000 ExpiresByType video/mp4 A2592000 ExpiresByType video/webm A2592000 ExpiresByType text/css A2592000 ExpiresByType text/javascript A2592000 ExpiresByType application/javascript A2592000 ExpiresByType application/x-javascript A2592000 ExpiresByType application/x-font-ttf A2592000 ExpiresByType application/x-font-woff A2592000 ExpiresByType application/font-woff A2592000 ExpiresByType application/font-woff2 A2592000 ExpiresByType application/vnd.ms-fontobject A2592000 ExpiresByType font/ttf A2592000 ExpiresByType font/woff A2592000 ExpiresByType font/woff2 A2592000 ### marker BROWSER CACHE end ### ### marker MINIFY start ### 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] ### marker MINIFY end ### ## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ## # END NON_LSCACHE #This Apache config file was created by Duplicator Installer on 2019-03-24 08:55:58. #The original can be found in archived file with the name htaccess.orig # BEGIN WordPress # Die Anweisungen (Zeilen) zwischen BEGIN WordPress und END WordPress sind # dynamisch generiert und sollten nur ?ber WordPress-Filter ge?ndert werden. # Alle ?nderungen an den Anweisungen zwischen diesen Markierungen werden ?berschrieben. # BEGIN WebP Converter AddType image/webp .webp RewriteEngine On RewriteCond % HTTP_ACCEPT image/webp RewriteCond % DOCUMENT_ROOT /wp-content/uploads-webpc/$1.jpg.webp -f RewriteRule wp-content/uploads/(.+) .jpg$ wp-content/uploads-webpc/$1.jpg.webp [T=image/webp] RewriteCond % HTTP_ACCEPT image/webp RewriteCond % DOCUMENT_ROOT /wp-content/uploads-webpc/$1.jpeg.webp -f RewriteRule wp-content/uploads/(.+) .jpeg$ wp-content/uploads-webpc/$1.jpeg.webp [T=image/webp] RewriteCond % HTTP_ACCEPT image/webp RewriteCond % DOCUMENT_ROOT /wp-content/uploads-webpc/$1.png.webp -f RewriteRule wp-content/uploads/(.+) .png$ wp-content/uploads-webpc/$1.png.webp [T=image/webp] ExpiresActive On ExpiresByType image/webp access plus 1 year # END WebP Converter RewriteEngine On RewriteBase / RewriteRule ^index .php$ - [L] RewriteCond % REQUEST_FILENAME !-f RewriteCond % REQUEST_FILENAME !-d RewriteRule . /index.php [L] # END WordPress # Wordfence WAF Require all denied Order deny,allow Deny from all # END Wordfence WAFExpand The page I need help with: https://becomepro.de Hi @hd24, you can turn on Browser Cache setting on LiteSpeed Setting > Advanceand setBrowser Cache TTL` as the same value youve set to solve the PageSpeed issue. Can?t turn on the Object Cache Settings Only says :Connection Test: Not Available Would should i fill in there? Whats wrong? Thank you for support! You just need to turn on LiteSpeed Cache > Setting > Advance > Browser Cache, it below Object cache setting.



LiteCache Rush: Speed comes from using less, not from doing it faster



Reference