Solved

Pragma: no cache

Posted on 1998-01-01
1
338 Views
Last Modified: 2010-05-18
I ran into the following:
print "Content-type: text/html/\nPragma: no-cache\n\n";

I know what the Content-type/html means, but my perl book doesn't explain the Pragma:no-cache.  Can anyone help with this?
0
Comment
Question by:donb1
1 Comment
 
LVL 5

Accepted Solution

by:
icd earned 50 total points
ID: 1209421
When a document is requested from your browser it first requests the document header, which contains the date that the document was last modified. This date can be compared against any locally cached version (if any) and the document contents only retrieved if there is no local copy or the local copy is older than the one on the server. The Pragma: no-cache ensures that no local copy is made and the server is requested for the contents every time.

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Perl Sort Question 4 129
Perl efficient DB Call 8 81
iSeries PERL Scripts 7 147
add a syntax to a csv file 8 98
On Microsoft Windows, if  when you click or type the name of a .pl file, you get an error "is not recognized as an internal or external command, operable program or batch file", then this means you do not have the .pl file extension associated with …
In the distant past (last year) I hacked together a little toy that would allow a couple of Manager types to query, preview, and extract data from a number of MongoDB instances, to their tool of choice: Excel (http://dilbert.com/strips/comic/2007-08…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now