Jump to content
Vilas

< SOLVED> How to add expire headers to pages?

Recommended Posts

Hello friends,

 

Can anyone tell me how to add expire headers?

 

Please find error which I am getting after using yslow.

 

Please suggest.

 

Thanks

E-1.jpg

Edited by Vilas (see edit history)

Share this post


Link to post
Share on other sites

You must specify it on the Apache virtual host you use for your site (perhaps in the .htaccess but I'm not sure)

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

I think you already have Expires settings for PHP files but not for CSS/JS, you must check your configuration

Share this post


Link to post
Share on other sites

Hi Friend,

 

Can u suggest code for it? Because I am not aware of programming.

 

Thanks

Share this post


Link to post
Share on other sites

What type of hosting do you use ? Dedicated server ?

Share this post


Link to post
Share on other sites

Dear Friend,

 

I am using ipage shared hosting.

 

Thanks

Share this post


Link to post
Share on other sites

You need to check with iPage if Expires settings can be modified in a shared hosting context

Share this post


Link to post
Share on other sites

Hi,

 

I have access to php.ini through that anything possible?

 

Thanks

Share this post


Link to post
Share on other sites

Hi,

 

That means nothing can be done to resolve the concern :o

 

Thanks

Share this post


Link to post
Share on other sites

Hi,

 

That means nothing can be done to resolve the concern :o

 

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.

Share this post


Link to post
Share on other sites

Dear Friend,

 

Can u check my site from your end? Is that slow please suggest.

 

 

thanks

Edited by Vilas (see edit history)

Share this post


Link to post
Share on other sites

Hi Friend,

I have questions about HTACCESS.
Does anyone have five minutes of his time to give me?
thank you in advance.
good day

Share this post


Link to post
Share on other sites

 

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.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More