Post by Cleo » Thu Jun 07, 2018 11:00 am

Hello,

On WebPageTest website I used to have "A" all the way for my sites and suddenly I am getting a "F" for the Cache static content

Code: Select all

Cache static content - F

Leverage browser caching of static assets: 27/100
FAILED - (No max-age or expires) - http://image.lesbricollesdecleo.com/data/favicon.png
FAILED - (No max-age or expires) - http://www.lesbricollesdecleo.ca/image/data/satisfaction.png
FAILED - (No max-age or expires) - http://www.lesbricollesdecleo.ca/catalog/view/theme/Jewelry/img-tema/search.png
FAILED - (No max-age or expires) - http://www.lesbricollesdecleo.ca/catalog/view/theme/Jewelry/img-tema/top-left.png
FAILED - (No max-age or expires) - http://www.lesbricollesdecleo.ca/catalog/view/theme/Jewelry/img-tema/mod-top_content-right.jpg
FAILED - (No max-age or expires) - http://www.lesbricollesdecleo.ca/catalog/view/theme/Jewelry/img-tema/top-right.png
FAILED - (No max-age or expires) - http://image.lesbricollesdecleo.com/cache/data/pour-le-melomane/chorale-de-laccueil-bonneau-150x150.jpg
FAILED - (No max-age or expires) - http://www.lesbricollesdecleo.ca/catalog/view/theme/Jewelry/img-tema/menu-separador.png
FAILED - (No max-age or expires) - http://www.lesbricollesdecleo.ca/image/data/followme.png
FAILED - (No max-age or expires) - http://www.lesbricollesdecleo.ca/catalog/view/theme/Jewelry/scripts/scrolltop-50x40.png
FAILED - (No max-age or expires) - http://www.lesbricollesdecleo.ca/image/data/facebook.png
FAILED - (No max-age or expires) - http://www.lesbricollesdecleo.ca/image/data/rss.png
FAILED - (No max-age or expires) - http://www.lesbricollesdecleo.ca/image/data/email_001.gif
FAILED - (No max-age or expires) - http://image.lesbricollesdecleo.com/cache/data/pour-le-melomane/Tchaikovski-concerto-pour-piano-no1-150x150.jpg
FAILED - (No max-age or expires) - http://www.lesbricollesdecleo.ca/image/data/international-shipping2.png
FAILED - (No max-age or expires) - http://www.lesbricollesdecleo.ca/image/data/share-save-140x63.png
FAILED - (No max-age or expires) - http://www.lesbricollesdecleo.ca/catalog/view/theme/Jewelry/img-tema/mods-lpbc.png
FAILED - (No max-age or expires) - http://www.lesbricollesdecleo.ca/catalog/view/theme/Jewelry/img-tema/mod-top_content-bg.jpg
FAILED - (No max-age or expires) - http://www.lesbricollesdecleo.ca/catalog/view/theme/Jewelry/image/arrow-down.png
FAILED - (No max-age or expires) - http://www.lesbricollesdecleo.ca/catalog/view/theme/Jewelry/img-tema/powered.png
FAILED - (No max-age or expires) - http://www.lesbricollesdecleo.ca/catalog/view/theme/Jewelry/img-tema/base-bg.png
FAILED - (No max-age or expires) - http://www.lesbricollesdecleo.ca/catalog/view/theme/Jewelry/img-tema/base-left.png
FAILED - (No max-age or expires) - http://www.lesbricollesdecleo.ca/catalog/view/theme/Jewelry/img-tema/base-right.png
FAILED - (No max-age or expires) - http://www.lesbricollesdecleo.ca/catalog/view/theme/Jewelry/img-tema/bg-menu.png
FAILED - (No max-age or expires) - http://image.lesbricollesdecleo.com/cache/data/pour-le-melomane/Tchaikovsky-1812-overture-classical-treasures-150x150.jpg
FAILED - (No max-age or expires) - http://image.lesbricollesdecleo.com/cache/data/pour-le-melomane/DeBussy-greatest-hits-150x150.jpg
FAILED - (No max-age or expires) - http://www.lesbricollesdecleo.ca/image/flags/us.png
FAILED - (No max-age or expires) - http://www.lesbricollesdecleo.ca/image/data/accepted-payment-150x205.jpg
FAILED - (No max-age or expires) - http://www.lesbricollesdecleo.ca/catalog/view/theme/default/image/lock.png
FAILED - (No max-age or expires) - http://www.lesbricollesdecleo.ca/catalog/view/theme/Jewelry/img-tema/printer.png
FAILED - (No max-age or expires) - http://www.lesbricollesdecleo.ca/catalog/view/theme/Jewelry/img-tema/email.png
FAILED - (No max-age or expires) - http://www.lesbricollesdecleo.ca/catalog/view/theme/Jewelry/img-tema/google.png
FAILED - (No max-age or expires) - http://www.lesbricollesdecleo.ca/catalog/view/theme/Jewelry/img-tema/rss.png
FAILED - (No max-age or expires) - http://image.lesbricollesdecleo.com/data/logo.png
FAILED - (No max-age or expires) - http://image.lesbricollesdecleo.com/cache/data/articles-collection/vintage-milkglass-ashtray-Bloom-Bros-1-150x150.jpg
FAILED - (No max-age or expires) - http://image.lesbricollesdecleo.com/cache/data/articles-collection/vintage-milkglass-ashtray-Vermont-1-150x150.jpg
FAILED - (No max-age or expires) - http://www.lesbricollesdecleo.ca/image/data/pour-la-photo/minolta.jpg
FAILED - (No max-age or expires) - http://www.lesbricollesdecleo.ca/image/data/decoration/angel-candle-votive-potpourri-ceramic0.jpg
FAILED - (No max-age or expires) - http://www.lesbricollesdecleo.com/image/data/barre.png
FAILED - (No max-age or expires) - http://www.lesbricollesdecleo.ca/catalog/view/theme/Jewelry/img-tema/mod-top_content-left.jpg
FAILED - (No max-age or expires) - http://www.lesbricollesdecleo.ca/image/data/paypal-logo-f.jpg
FAILED - (No max-age or expires) - http://image.lesbricollesdecleo.com/cache/data/articles-collection/vintage-milkglass-ashtray-ruffed-grouse-1-150x150.jpg
FAILED - (No max-age or expires) - http://image.lesbricollesdecleo.com/cache/data/articles-collection/vintage-milkglass-ashtray-Canada-goose-1-150x150.jpg
FAILED - (No max-age or expires) - http://image.lesbricollesdecleo.com/cache/data/articles-collection/vintage-milkglass-ashtray-ring-necked-pheasant-1-150x150.jpg
FAILED - (No max-age or expires) - http://www.lesbricollesdecleo.ca/catalog/view/theme/Jewelry/img-tema/top-bg.png
FAILED - (No max-age or expires) - http://www.lesbricollesdecleo.ca/catalog/view/theme/Jewelry/img-tema/bg-cart.png
FAILED - (No max-age or expires) - http://image.lesbricollesdecleo.com/cache/data/articles-collection/vintage-US-Philadelphia-liberty-bell-6-150x150.jpg
FAILED - (No max-age or expires) - http://www.lesbricollesdecleo.ca/catalog/view/theme/Jewelry/img-tema/mod_top.jpg
FAILED - (No max-age or expires) - http://image.lesbricollesdecleo.com/cache/data/pour-le-melomane/Ludwig-Van-Beethoven-piano-concerto-no5-150x150.jpg
FAILED - (No max-age or expires) - http://image.lesbricollesdecleo.com/cache/data/pour-le-melomane/scene-de-vie-150x150.jpg
WARNING - (24.0 hours) - http://fonts.googleapis.com/css?family=Open+Sans
My sites is still the same without any change and I have this code in my .htaccess file

Code: Select all

<FilesMatch ".(js|css)$">
    Header append Cache-Control "private"
    </FilesMatch>
    <FilesMatch "\.(gif|jpe?g|png)$">
    Header set Cache-Control "public"
    </FilesMatch>

    ## EXPIRES CACHING ##
    <IfModule mod_expires.c>
    ExpiresActive On
    ExpiresDefault "access plus 10 days"
    ExpiresByType text/css "access plus 1 month"
    ExpiresByType text/plain "access plus 1 month"
    ExpiresByType image/gif "access plus 1 month"
    ExpiresByType image/png "access plus 1 month"
    ExpiresByType image/jpeg "access plus 1 month"
    ExpiresByType application/x-javascript "access plus 1 month"
    ExpiresByType application/javascript "access plus 1 month"
    ExpiresByType application/x-icon "access plus 1 year"
    </IfModule>
    ## EXPIRES CACHING ##
So I have no idea why it went from an "A" to a "F"!

Anyone have an idea or tell me why this is happening or what I can do to get my "A" back?

Tks
Cleo

My Store
Opencart v1.5.4 fr/en
Theme: Custom
vqmod-2.3.2


User avatar
Active Member

Posts

Joined
Wed Mar 09, 2011 5:19 am

Post by IP_CAM » Fri Jun 08, 2018 2:46 am

Well, gtmetrix.com could probably tell you more about it !
https://gtmetrix.com/
Ernie

Ernie's OpenCart v.1.5.6.5 LIGHT + V-Pro + OpenShop Admin v.1.75 Test Sites
http://www.bigmax.ch - http://www.opencart.li/shop/ - http://www.velomech.ch/cart/
Image


User avatar
Guru Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by Cleo » Mon Jun 11, 2018 11:36 pm

Thank you for the reply Ernie.
I always check both gtmetrix and webpagetest and I don't realy understand much better on gtmetrix, first because English is not my first language and second I am not a programmer ???

What I don't understand is why is it saying (No max-age or expires) if I have the following in the .htaccess?

Code: Select all

<FilesMatch ".(js|css)$">
    Header append Cache-Control "private"
    </FilesMatch>
    <FilesMatch "\.(gif|jpe?g|png)$">
    Header set Cache-Control "public"
    </FilesMatch>

    ## EXPIRES CACHING ##
    <IfModule mod_expires.c>
    ExpiresActive On
    ExpiresDefault "access plus 10 days"
    ExpiresByType text/css "access plus 1 month"
    ExpiresByType text/plain "access plus 1 month"
    ExpiresByType image/gif "access plus 1 month"
    ExpiresByType image/png "access plus 1 month"
    ExpiresByType image/jpeg "access plus 1 month"
    ExpiresByType application/x-javascript "access plus 1 month"
    ExpiresByType application/javascript "access plus 1 month"
    ExpiresByType application/x-icon "access plus 1 year"
    </IfModule>
    ## EXPIRES CACHING ##
Tks,

Cleo

My Store
Opencart v1.5.4 fr/en
Theme: Custom
vqmod-2.3.2


User avatar
Active Member

Posts

Joined
Wed Mar 09, 2011 5:19 am

Post by IP_CAM » Tue Jun 12, 2018 1:24 am

Well, since I don't plan, to share my speediest .htaccess file
with the Rest of the OC-World anymore, I've sent it to you by PM.
But let us know, how it worked out ! ;)
We might need to change some other things too, to make it up
to at least 96/90 Desktop and 92/90 Mobile on GTMetrix. Still,
your Theme Design also plays some part on this...
Ernie
PS: is not my first language and second I am not a programmer ...
in both cases, me neither .... :D

Ernie's OpenCart v.1.5.6.5 LIGHT + V-Pro + OpenShop Admin v.1.75 Test Sites
http://www.bigmax.ch - http://www.opencart.li/shop/ - http://www.velomech.ch/cart/
Image


User avatar
Guru Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by Cleo » Wed Jun 13, 2018 1:45 pm

:laugh:

Thank you very much Ernie, but I am sure that your English is better then mine because the only time I read English is here on the forum and everybody around are French so!

I know about the theme design but I used to get aln "A" all the way on webpagetest and a good score on gtmetrix, and it's only recently that I have that note about the (No max-age or expires) that's why I don't understand since I made no change!

I will take a look at the file you send and will let you know.

Kind regards,

Cleo

My Store
Opencart v1.5.4 fr/en
Theme: Custom
vqmod-2.3.2


User avatar
Active Member

Posts

Joined
Wed Mar 09, 2011 5:19 am
Who is online

Users browsing this forum: Bing [Bot], Penneeo and 39 guests