6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
9/20/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#1140] javascripts can't be loaded periodically
*
Your Email Address
*
Spam protection
Enter the letters below:
._.. .. ,. .. | |__| \./ | || _|_| | | |/\||___
Comment
> The changes below seems to fix the problem as far as we can test. I > can't verify the original reporters problem, which was related to the > Last-Modifed header, but the issue we saw under Win98/IE6 seems to > be related to the missing Cache-control header. I think setting that > to no-cache is the desired behavior. > > > > --- javascript.php 2005-01-19 21:45:01.000000000 +0000 > > +++ javascript.php 2005-01-19 21:45:17.000000000 +0000 > > @@ -29,9 +29,7 @@ if (!empty($app) && !empty($file) && str > > * don't include base.php in this file. */ > > Horde::compressOutput(); > > > > - $mod_gmt = gmdate('D, d M Y H:i:s', > filemtime($script_file)) . ' GMT'; > > - header('Last-Modified: ' . $mod_gmt); > > - header('Cache-Control: public, max-age=86400'); > > + header('Cache-Control: no-cache'); > > header('Content-Type: text/javascript'); > > }
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers