Jump to content

Recommended Posts

Hi everybody,

 

For the last few days I have been reading about Etags. In some articles they highly recommend to use Etags but in some not. So I am confused and I'll ask for your help.

 

First, I'm using Apache server and for now one server is enough to serve my content.

I've already using expire headers for images, css and js files.

 

So my question is, should I remove Etags or configure it properly so that it works with expire headers properly? And if I'm gonna use it how do I configure it? From htaccess or from php? Cause in Yslow it says I have x misconfigured Etags.

 

Thanks,

Link to comment
https://forums.phpfreaks.com/topic/167170-etags/
Share on other sites

Use it in htaccess

 

Header unset ETag
FileETag None

 

I have a share host but my pages load faster than a dedicated server.

 

Etags wont speed it up much, theres 15 or so things you can do to cut 95% of loading time from your pages

 

Some are :

 

flush(); //will "flush" your tables and divs first and load content later

strip //remove all whitespace

Cache //see my post in above in htacces tricks sticky

Link to comment
https://forums.phpfreaks.com/topic/167170-etags/#findComment-881631
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.