d_i_r_t_y has asked for the wisdom of the Perl Monks concerning the following question:
naturally, this often ends up with the old (and usually incorrect) information being shown.i have tried setting the http 'expires' header to 'now' and '-10d' (using the CGI::header method), and then verified the http headers by telnet'ing to port 80 and issuing manual http 1.1 GET's... all looks well - the expires header is there and set to the correct date/time etc...
one thing i've done which is perhaps a little unusual is that all my scripts do not have suffixes - they are simply named 'query', 'results' etc -- i have accordingly setup apache to execute as CGI anything in a particular directory (and kept all my library *.pm's elsewhere...).
can any web monk(-ey) provide any explanation or pointers as to why the silly browser (any browser) continues to cache the output of my cgi's?
d_i_r_t_y
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: http header / browser caching issues
by echo (Pilgrim) on Aug 30, 2001 at 12:15 UTC | |
Re: http header / browser caching issues
by tachyon (Chancellor) on Aug 30, 2001 at 17:34 UTC | |
Re: http header / browser caching issues
by earthboundmisfit (Chaplain) on Aug 30, 2001 at 18:14 UTC |