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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Bug Reports > Content encoding errors with Firefox

Reply
 
Thread Tools Display Modes
  #1  
Old 09-10-2009, 01:54 AM
subBlue subBlue is offline
Member
 
Join Date: Oct 2006
Posts: 42
Default Content encoding errors with Firefox

A few of our clients have been reporting that sometimes their sites throw errors in their browser saying:

Content Encoding Error
The page you are trying to view cannot be shown because it uses an
invalid or unsupported form of compression.

Interestingly it only seems to be happening on Firefox 2 & 3+.
It's been reported sporadically on a couple of our servers with LS 3.3.24 ent and LS 4.0.10 ent. We are using the default gzip options:

Code:
Enable Compression: Yes
Enable Dynamic Compression	: Yes
Compression Level (Dynamic Content): 1
Compressible Types: text/*, application/x-javascript
Auto Update Static: Yes
Static GZIP Cache Directory: Not Set
Compression Level (Static File): 6
Max Static File Size (bytes): 1M
Min Static File Size (bytes): 300
Most of our sites use Ruby on Rails but we use page caching extensively and then serve up the static html pages via rewrite rules such as:

Code:
RewriteCond %{HTTP_HOST} ^www\.host\.com [NC]
RewriteRule ^$ cache/www.host.com/index.html [QSA]

RewriteCond %{HTTP_HOST} ^www\. host\.com [NC]
RewriteRule ^([^.]+)$ cache/www.host.com/$1/index.html [QSA]
It's like the static cached version of the page is corrupted as it only affects one or two pages in the site and disappears once the cache gets automatically updated,

Has anyone seen similar behaviour?
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 08:48 PM.



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