Jump to content

Etags


n3p3

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.