LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Etag generation customization

Reply
 
Thread Tools Display Modes
  #1  
Old 01-28-2007, 11:30 PM
bazza bazza is offline
Member
 
Join Date: Jun 2006
Posts: 13
Default Etag generation customization

Does Litespeed honor the FileEtag apache directive?

http://httpd.apache.org/docs/2.0/mod/core.html#fileetag

I am trying to figure out a way to make sure all of our backend servers report the same Etag for a given file without dynamically generating the Etags via a php script.

I tried putting the following directive in an .htaccess file as well as in the server configuration, but neither seemed to work:

FileETag Mtime Size
Reply With Quote
  #2  
Old 01-29-2007, 09:25 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
This directive is not supported.
Reply With Quote
  #3  
Old 01-29-2007, 09:29 AM
bazza bazza is offline
Member
 
Join Date: Jun 2006
Posts: 13
Any suggestions on how to generate consistent etags across multiple backend web servers?
Reply With Quote
  #4  
Old 01-29-2007, 10:50 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
Is it for dynamic contents or static files?
Anyway, it is hard to do with either one. My suggestion is to avoid distributing the same file on multiple servers if you can. With LSWS, you probably don't need to do, one server should be more than enough to serve static file with any kind of volume. Just make sure your load balancer forward requests to the same file to the same backend server if there is one.

If you mixed static and dynamic content together on your backend servers, I suggest you to serve static file from a dedicate subdomain from one dedicate server.
Reply With Quote
  #5  
Old 02-02-2007, 09:36 PM
bazza bazza is offline
Member
 
Join Date: Jun 2006
Posts: 13
It is for static files. I thought lsws doesn't apply the etag header to dynamic files. We ended up having to filter static requests to a single server in order to get around this issue. Thanks for the help.

Barry
Wordpress
Reply With Quote
  #6  
Old 07-30-2008, 09:25 PM
pguy pguy is offline
Member
 
Join Date: Jul 2007
Posts: 28
Any chance of Etag being supported? I was planning to use this vB plugin, but its htaccess file reveals that it uses etags

http://www.vbulletin.org/forum/showpost.php?p=1568497
Reply With Quote
  #7  
Old 07-30-2008, 10:31 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
It should work with LiteSpeed, the script add ETag instead of the server.
Adding expires header and gzip can be done by LSWS along.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 04:38 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.