Cache static content at D
|
02-04-2021, 03:41 AM
Post: #1
|
|||
|
|||
Cache static content at D
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 |
|||
02-09-2021, 08:48 PM
Post: #2
|
|||
|
|||
RE: Cache static content at D
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" </IfModule> |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)