Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PageSpeed Insights xpire


apopular

Recommended Posts

Test here:

https://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Fwww.apopular.com.br%2Fcapa-para-colchao-capa-impermeavel-hospitalar-para-colchao-de-solteiro-antialergica-lavavel-p-42.html&tab=desktop

 

i dont know how to expire images jpg and png

 

 

i have this in my .hraccess

 

<FilesMatch ".(flv|gif|jpg|jpg&w=200&h=200|jpg&w=200&h=178|jpeg|png|PNG|ico|swf|js|css|pdf)$">
Header set Cache-Control "max-age=600"
</FilesMatch>

 

I´m using this:

jpg&w=200&h=178

 

to expire thumbnail cache, all right???????

 

another

 

i font know why css and js files doesnrt expire

 

same line in . htaccess

 

<FilesMatch ".(flv|gif|jpg|jpg&w=200&h=200|jpg&w=200&h=178|jpeg|png|PNG|ico|swf|js|css|pdf)$">
Header set Cache-Control "max-age=600"
</FilesMatch>

 

how to resolve this,

 

 

tanks again !!!!!!

Marcelo

 

I did, helped or traslate.

http://addons.oscommerce.com/profile/104964

 

My english it´s só poor, but of you need help in portuguese, like shipping and payment that´s make a diference in brazil, come one,

Obrigado (thank´s)

 

Link to comment
Share on other sites

Tank you for help, but this is not for me

 

in this line

 

<FilesMatch "\.(ico|jp and g|jpeg|png|gif|js|css|swf)$">
<IfModule mod_expires.c>
ExpiresActive on
ExpiresDefault "access plus 30 days"
</IfModule>
Header unset ETag
FileETag None
</FilesMatch>

 

jpg,png and anothers expires in 30 days

 

 

i use

 

<FilesMatch ".(flv|gif|jpg|jpg&w=200&h=200|jpg&w=200&h=178|jpeg|png|PNG|ico|swf|js|css|pdf)$">
Header set Cache-Control "max-age=600"
</FilesMatch>

 

max-age=600   10 minutes but the error message for this files does not desapear

I did, helped or traslate.

http://addons.oscommerce.com/profile/104964

 

My english it´s só poor, but of you need help in portuguese, like shipping and payment that´s make a diference in brazil, come one,

Obrigado (thank´s)

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...