|
|

05-25-2007, 12:17 PM
|
|
Member
|
|
Join Date: May 2007
Posts: 14
|
|
Expires header not updated when status 304
I've noticed that LSWS does not send Expires header in 304 responses, so the browser always uses the old Expires. Shouldn't the Expires be updated?
Use case:
1. First page visit
get /default.css
response: 200, Expires: 25-May-2007 18:00
2. Page visit before expires
(nothing, since browser cached)
3. Page visit after expires
get /default.css
response: 304, etag: '34-342342-2342'
ALL consecutives page visits make the browser request the resource again, based on old Expires.
|

05-25-2007, 01:21 PM
|
|
LiteSpeed Staff
|
|
Join Date: May 2003
Location: New Jersey
Posts: 7,590
|
|
|
Fix will be in 3.1.2 release.
|

05-25-2007, 01:37 PM
|
|
Member
|
|
Join Date: May 2007
Posts: 14
|
|
|
Great news! Thanks!
|

05-25-2007, 02:47 PM
|
|
LiteSpeed Staff
|
|
Join Date: May 2003
Location: New Jersey
Posts: 7,590
|
|
|
|

05-25-2007, 03:36 PM
|
|
Member
|
|
Join Date: May 2007
Posts: 14
|
|
|
It works, thanks!
However, I have a question. I tested with the Example virtual host, setting image expires to a short time. It worked perfectly, but I didn't get why "index.html" gets cached, do you know why? Just curious.
Will it be available via update, link 3.1.1?
Thanks once again.
|

05-25-2007, 03:48 PM
|
|
LiteSpeed Staff
|
|
Join Date: May 2003
Location: New Jersey
Posts: 7,590
|
|
|
It is up to the browser to cache or not to cache a html page unless you have cache control header in the reply.
It will be available via update, we still need working on some features.
|

05-30-2007, 04:53 PM
|
|
Member
|
|
Join Date: May 2007
Posts: 14
|
|
Reinstall
Hi mistwang,
How could I reinstall this version in production smoothly? Is there a way?
If I just reinstall it using the same values, like users and directories, it would be OK? I mena, it would use the same settings as before?
Thanks.
|

05-30-2007, 06:20 PM
|
|
LiteSpeed Staff
|
|
Join Date: May 2003
Location: New Jersey
Posts: 7,590
|
|
|
Yes, just run the install.sh, then select "upgrade", your current configuration will not be touched.
|

05-31-2007, 10:39 PM
|
|
Member
|
|
Join Date: May 2007
Posts: 14
|
|
403
Hi mistwang,
I've just upgraded a production server to this version, and the main URL of the site gets a 403, like "http://www.example.com/".
The previous version was 3.1.1-std, and when I switch back it works without problem.
Any idea?
Thank you.
Last edited by eduardorochabr; 05-31-2007 at 10:46 PM..
|

06-01-2007, 06:15 AM
|
|
LiteSpeed Staff
|
|
Join Date: May 2003
Location: New Jersey
Posts: 7,590
|
|
|
Do you have any request filter rule configured? Maybe turning on "Debug logging" by set "Debug Level" to "High" will help.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 06:23 AM.
|
|