0

I have to test the speed from my Website with PageSpeed Insights, it found what slow my sites,

enter image description here

I have to try how here to say, but nothing to change...

My Website has with SSL, https://linuxusers.net

I have on my .htaccess File add,

# BEGIN Expires
<ifModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access 1 year"

ExpiresByType image/jpeg "access 1 year"

ExpiresByType image/gif "access 1 year"

ExpiresByType image/png "access 1 year"

ExpiresByType text/css "access 1 month"

ExpiresByType text/html "access 1 month"

ExpiresByType application/pdf "access 1 month"

ExpiresByType text/x-javascript "access 1 month"

ExpiresByType application/x-shockwave-flash "access 1 month"

ExpiresByType image/x-icon "access 1 year"

ExpiresDefault "access 1 month"
</ifModule>
# END Expires

but nothing change...

Can Please anyone explains me with easy (i am not Web designer..) words how can lose this problem, Thanks!

0

Your screen shot has nothing to do with "cache from image short lifetime". The warning from google is about HTTPS. You should get an SSL certificate, which can be free or paid, from your hosting or third party.

When it comes to "cache from image short lifetime", what you could do, in case you have access to .htaccess file (usually placed in root directory) add something like this to it:

EXPIRES CACHING

ExpiresActive On

ExpiresByType image/jpg "access 1 year"

ExpiresByType image/jpeg "access 1 year"

ExpiresByType image/gif "access 1 year"

ExpiresByType image/png "access 1 year"

ExpiresByType text/css "access 1 month"

ExpiresByType text/html "access 1 month"

ExpiresByType application/pdf "access 1 month"

ExpiresByType text/x-javascript "access 1 month"

ExpiresByType application/x-shockwave-flash "access 1 month"

ExpiresByType image/x-icon "access 1 year"

ExpiresDefault "access 1 month"

EXPIRES CACHING

enter image description here

  • Thanks, but nothing to change... about the title has you right because I have two problems on my head. The cache problem have on google analytics asked.. – biotza Jul 16 at 13:21
  • It seems that your score has improved to 98 mobile/100 desktop. Other than that, I am sorry, but I am having trouble understanding what you just said :/ – Mnea Jul 16 at 14:22
  • No problem...because my screenshot image is from lighthouse APP, with Pagespeed speed is as you to say... – biotza Jul 16 at 14:27
  • I was looking at Lighthouse as well... will add a screen shot to my answer. – Mnea Jul 16 at 14:40
  • I am very new these things, but yesterday to reading that lighthouse and pagespeed give a different result... github.com/GoogleChrome/lighthouse/issues/6708 – biotza Jul 16 at 14:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.