Current time: 03-08-2021, 05:39 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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
Find all posts by this user
Quote this message in a reply
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>
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)