cache control missing for otf and ttf font file




Wordpress LScache Plugin: cache control missing for otf and ttf font file

Last Updated on: Wed, 15 Apr 2026 00:00:02
Hi, Can you please tell how can I specify caching for these font files? Request URL: https://example.com/wp-content/uploads/et-fonts/SF-UI-Display-Regular.otf Request Method: GET Status Code: 200 (from memory cache) Remote Address: :443 Referrer Policy: no-referrer-when-downgrade accept-ranges: bytes content-length: 290220 content-type: application/x-font-woff date: Mon, 16 Mar 2020 14:02:51 GMT etag: 46dac-5e637c5e-abbe45e49fe1b421 last-modified: Sat, 07 Mar 2020 10:50:06 GMT server: LiteSpeed status: 200 https://example.com/wp-content/themes/Divi/core/admin/fonts/modules.ttf Response Version ? HTTP/2.0 accept-ranges bytes content-length 92400 content-type application/x-font-ttf date Mon, 16 Mar 2020 08:34:23 GMT etag 168f0-5e69db43-5e58c67b846fa3bf last-modified Thu, 12 Mar 2020 06:48:35 GMT server LiteSpeed status 200 I know browser can do caching without it but I just want to fix for GTmetrix. Thanks Hi, Add this into .htaccess ought do it Header set Cache-Control max-age=2628000, public Best regards, Works. Good idea. Please make it internally possible by default for all common fonts format.



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



Reference