Vilas Posted March 18, 2012 Share Posted March 18, 2012 (edited) Hello friends, Can anyone tell me how to add expire headers? Please find error which I am getting after using yslow. Please suggest. Thanks Edited June 1, 2012 by Vilas (see edit history) Link to comment Share on other sites More sharing options...
Samy_R Posted March 18, 2012 Share Posted March 18, 2012 You must specify it on the Apache virtual host you use for your site (perhaps in the .htaccess but I'm not sure) Link to comment Share on other sites More sharing options...
Vilas Posted March 18, 2012 Author Share Posted March 18, 2012 Hi Friend, Actually for some files I am gettig this error. Not for all files. So is there is any way to solve it? Thanks Link to comment Share on other sites More sharing options...
Samy_R Posted March 18, 2012 Share Posted March 18, 2012 I think you already have Expires settings for PHP files but not for CSS/JS, you must check your configuration Link to comment Share on other sites More sharing options...
Vilas Posted March 18, 2012 Author Share Posted March 18, 2012 Hi Friend, Can u suggest code for it? Because I am not aware of programming. Thanks Link to comment Share on other sites More sharing options...
Samy_R Posted March 18, 2012 Share Posted March 18, 2012 What type of hosting do you use ? Dedicated server ? Link to comment Share on other sites More sharing options...
Vilas Posted March 18, 2012 Author Share Posted March 18, 2012 Dear Friend, I am using ipage shared hosting. Thanks Link to comment Share on other sites More sharing options...
Samy_R Posted March 18, 2012 Share Posted March 18, 2012 You need to check with iPage if Expires settings can be modified in a shared hosting context Link to comment Share on other sites More sharing options...
Vilas Posted March 18, 2012 Author Share Posted March 18, 2012 Hi, I have access to php.ini through that anything possible? Thanks Link to comment Share on other sites More sharing options...
Samy_R Posted March 18, 2012 Share Posted March 18, 2012 No, it is on Apache configuration Link to comment Share on other sites More sharing options...
Vilas Posted March 19, 2012 Author Share Posted March 19, 2012 Hi, That means nothing can be done to resolve the concern Thanks Link to comment Share on other sites More sharing options...
Samy_R Posted March 19, 2012 Share Posted March 19, 2012 Hi, That means nothing can be done to resolve the concern Thanks If your hosting provider doesn't let you change these settings, you cannot modify it. But, I need to insist on the fact it is not a big problem : having no expires on JS files is not a good thing, but it will not make very slower your website. Link to comment Share on other sites More sharing options...
Vilas Posted March 24, 2012 Author Share Posted March 24, 2012 (edited) Dear Friend, Can u check my site from your end? Is that slow please suggest. thanks Edited June 1, 2012 by Vilas (see edit history) Link to comment Share on other sites More sharing options...
mecollectibles Posted January 17, 2015 Share Posted January 17, 2015 I wonder the topic marked as SOLVED !!! i DO NOT THINK IT REALLY SOLVED. Still no answer to this question. May I suggest you read this useful article? http://www.inmotionhosting.com/support/website/htaccess/apache-module-mod-expires Link to comment Share on other sites More sharing options...
amozi Posted January 18, 2015 Share Posted January 18, 2015 Please guide how to add php Link to comment Share on other sites More sharing options...
reccta Posted April 23, 2015 Share Posted April 23, 2015 Hi Friend, I have questions about HTACCESS.Does anyone have five minutes of his time to give me?thank you in advance.good day Link to comment Share on other sites More sharing options...
Whiley Posted April 24, 2015 Share Posted April 24, 2015 I have questions about HTACCESS.Does anyone have five minutes of his time to give me? Hi reccta, ask your question, and I'm sure someone will help you. Link to comment Share on other sites More sharing options...
veltors Posted August 22, 2017 Share Posted August 22, 2017 it is realy solved? Link to comment Share on other sites More sharing options...
Zohaib-fk Posted September 28, 2017 Share Posted September 28, 2017 (edited) Hi, When you Analyzing your store URL with gtmetrix, it will help to get information about Expires headers in YSlow section. Below is the link with changes need in .htaccess file. https://gtmetrix.com/add-expires-headers.html PrestaShop Tutorials Videos [How to do Tasks] https://www.prestashop.com/forums/topic/907438-prestashop-tutorials-videos-how-to-do-tasks/ Edited June 30, 2021 by Zohaib-fk Post Updated (see edit history) 1 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