Azachow Posted July 20, 2015 Share Posted July 20, 2015 Prezados. Utilizo o prestashop 1.6.0.9 Estou precisando aumentar o tempo de permanência das imagens em cache. Obrigado desde já Link to comment Share on other sites More sharing options...
selectshop.at Posted July 21, 2015 Share Posted July 21, 2015 No .htaccess da raíz da sua loja. Vc. altera lá os valores de acordo com tutoriais que vc. encontra no net e configuracao do seu servidor. Exemplo: <IfModule mod_expires.c> ExpiresActive On ExpiresByType image/gif "access plus 1 month" ExpiresByType image/jpeg "access plus 1 month" ExpiresByType image/png "access plus 1 month" ExpiresByType text/css "access plus 1 week" ExpiresByType text/javascript "access plus 1 week" ExpiresByType application/javascript "access plus 1 week" ExpiresByType application/x-javascript "access plus 1 week" ExpiresByType image/x-icon "access plus 1 year" ExpiresByType image/svg+xml "access plus 1 year" ExpiresByType image/vnd.microsoft.icon "access plus 1 year" ExpiresByType application/font-woff "access plus 1 year" ExpiresByType application/x-font-woff "access plus 1 year" ExpiresByType application/vnd.ms-fontobject "access plus 1 year" ExpiresByType font/opentype "access plus 1 year" ExpiresByType font/ttf "access plus 1 year" ExpiresByType font/otf "access plus 1 year" ExpiresByType application/x-font-ttf "access plus 1 year" ExpiresByType application/x-font-otf "access plus 1 year" </IfModule> Tutorial performance Prestashop: http://doc.prestashop.com/display/PS16/Performance+Parameters Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now