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

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

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

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