Skip to content

Commit 0a5db26

Browse files
author
Richard Jones
committed
apply IE caching "fix" to automatically serve up all pages expired
1 parent bae4283 commit 0a5db26

File tree

4 files changed

+15
-7
lines changed

4 files changed

+15
-7
lines changed

CHANGES.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,10 @@ Fixed:
4848
2004-10-?? 0.7.10
4949
Fixed:
5050
- reset ID counters if the database is cleared (thanks William)
51+
- apply IE caching "fix" to automatically serve up all pages expired
5152

5253

53-
2004-10-?? 0.7.9
54+
2004-10-26 0.7.9
5455
Feature:
5556
- DateHTMLProperty.field() accepts format string (thanks Wil Cooley)
5657

doc/index.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ Mike Thompson,
139139
Martin Uzak,
140140
Darryl VanDorp,
141141
J Vickroy,
142-
William,
142+
William (Wilk),
143143
Chris Withers.
144144

145145

doc/installation.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,10 @@ The ``adsutil.vbs`` file can be found in either ``c:\inetpub\adminscripts``
334334
or ``c:\winnt\system32\inetsrv\adminsamples\`` or
335335
``c:\winnt\system32\inetsrv\adminscripts\`` depending on your installation.
336336

337+
More information about ISS setup may be found at:
338+
339+
http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B276494
340+
337341
Copy the ``cgi-bin/roundup.cgi`` file to your web server's ``cgi-bin``
338342
directory. You will need to configure it to tell it where your tracker home
339343
is. You can do this either:

roundup/cgi/client.py

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $Id: client.py,v 1.210 2004-11-24 05:16:15 a1s Exp $
1+
# $Id: client.py,v 1.211 2004-12-03 22:19:41 richard Exp $
22

33
"""WWW request handler (also used in the stand-alone server).
44
"""
@@ -247,10 +247,13 @@ def inner_main(self):
247247
# pages with messages added expire right now
248248
# simple views may be cached for a small amount of time
249249
# TODO? make page expire time configurable
250-
if self.error_message or self.ok_message:
251-
date = time.time() - 1
252-
else:
253-
date = time.time() + 5
250+
# <rj> always expire pages, as IE just doesn't seem to do the
251+
# right thing here :(
252+
date = time.time() - 1
253+
#if self.error_message or self.ok_message:
254+
# date = time.time() - 1
255+
#else:
256+
# date = time.time() + 5
254257
self.additional_headers['Expires'] = rfc822.formatdate(date)
255258

256259
# render the content

0 commit comments

Comments
 (0)