Re: Problems setting MIME Headers
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 16934
interpreted = N
texte = >[setMIMEHeader name=Cache-control&value=proxy-revalidate]>>Which should cause the proxy to revalidate at each request.>Unfortunately, when I list the MIME headers on the page, I get:>>12) Cache-control = Max-age=259200>>Which is the same as if I'd done nothing at all. I've also tried>>[setMIMEHeader name=Cache-control&value=max-age=0]>>and would rather use, but it also appears to have no effect (is there a>problem by having an = in the value definition?)>>Is there someplace special the [setMIMEHeader] needs to be placed? Anyone>able to get something like this to work?Cache-control is a HTTP/1.1 header - is your server HTTP/1.1.For HTTP/1.0 you could try: Pragma: no-cache or Expires: 0 for avoidingcaching. ************************************************************* Christer Olsson Stora Nygatan 21 Phone +46 40 791 50 Art director S-211 37 Malmoe Fax +46 40 97 99 77 Ljusa Ideer AB Sweden http://www.ljusaideer.se
Associated Messages, from the most recent to the oldest:
>[setMIMEHeader name=Cache-control&value=proxy-revalidate]>>Which should cause the proxy to revalidate at each request.>Unfortunately, when I list the MIME headers on the page, I get:>>12) Cache-control = Max-age=259200>>Which is the same as if I'd done nothing at all. I've also tried>>[setMIMEHeader name=Cache-control&value=max-age=0]>>and would rather use, but it also appears to have no effect (is there a>problem by having an = in the value definition?)>>Is there someplace special the
[setmimeheader] needs to be placed? Anyone>able to get something like this to work?Cache-control is a HTTP/1.1 header - is your server HTTP/1.1.For HTTP/1.0 you could try: Pragma: no-cache or Expires: 0 for avoidingcaching. ************************************************************* Christer Olsson Stora Nygatan 21 Phone +46 40 791 50 Art director S-211 37 Malmoe Fax +46 40 97 99 77 Ljusa Ideer AB Sweden http://www.ljusaideer.se
Christer Olsson
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Webmerchant quitting (1998)
WebCat2b15MacPlugin - showing [math] (1997)
Rhapsody? (1997)
Multiple 'Users.db' files not possible (1997)
japanese characters (1997)
RE: ANother SHOWIF problem (1997)
TCP Connect code for SMTP transaction (2004)
[WebDNA] Good advise on [Showif] or alternative... (2012)
quit command on NT (1997)
Problems passing [SKU] with $Replace in 2.0 (1997)
RE: [WebDNA] Installing WebDNA on Windows 7 64 Bit, Home Premium (2010)
WebCommerce: Folder organization ? (1997)
possible, WebCat2.0 and checkboxes-restated (1997)
Where's Cart Created ? (1997)
What are SMSI's upgrade policies, and how long will theyappl (2003)
[SHOWIF AND/OR] (1997)
reserved characters for field names? (1998)
Searching/sorting dates (1997)
[append] vs. [appendfile] delta + question? (1997)
weird happenings (1997)