Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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 ( [id://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

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?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2024-03-28 13:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found