Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

RE: Why does back-buttoning to a cgi script-output page yield 'Page expired'?

by Crulx (Monk)
on Feb 15, 2000 at 03:29 UTC ( #3499=note: print w/replies, xml ) Need Help??


in reply to Why does back-buttoning to a cgi script-output page yield 'Page expired'?

The post above is correct. To the best of my knowledge, most web browsers do not cash anything that is not an image or a web page by default unless you specify in the header negotiation otherwise. Most web servers do no header negotiation if it is not an html or a image. You'll have to put in the header negotiation yourself. Typically setting the expires tag works. If you are using CGI...
print $query->header(-expires=>'+3d');
If that doesn't force the caching, you'll have to use the Cache-Control header request specified here
---
Crulx
crulx@iaxs.net
  • Comment on RE: Why does back-buttoning to a cgi script-output page yield 'Page expired'?
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://3499]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2022-09-29 07:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer my indexes to start at:




    Results (125 votes). Check out past polls.

    Notices?