WebPagetest Forums
Cache static content at D - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: Web Performance (/forumdisplay.php?fid=3)
+--- Forum: Discuss Test Results (/forumdisplay.php?fid=4)
+--- Thread: Cache static content at D (/showthread.php?tid=16299)

Cache static content at D - Ekspert - 02-04-2021 03:41 AM

Hello Evereyone
I have just tested my website https://ekspert-bankowy.pl and everything looks fine, mostly A and B, but the cache static content is very high at D, does anyone know what might be a problem ?
ThanksEkspert Bankowy

RE: Cache static content at D - TamarSolutions - 02-09-2021 08:48 PM

Hi, You have not set the cache time for your images long enough. Most of your images are set at 2-3 days. You need to set your cache-control expire time to at least a week on jpg & gif. An example is as below if your using .htaccess.

<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access 1 month"
ExpiresByType image/gif "access 1 month"