Problems setting MIME Headers

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 16931
interpreted = N
texte = A site that I'm working on is having serious problems when viewed via AOL's built-in browser. It appears that AOL's proxy system is being too enthusiastic when caching pages and isn't refreshing dynamically-created pages when it should. Fortunately, it looks like I can solve the problem by modifying some headers. To that end, I've added the following tag to a page:[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=259200Which 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?Rob Marquardt Designer/Resident Wirehead Toast Design300 First Avenue North, Suite 150 Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.toastdesign.com Associated Messages, from the most recent to the oldest:

    
  1. Re: Problems setting MIME Headers (Christer Olsson 1998)
  2. Re: Problems setting MIME Headers (Rob Marquardt 1998)
  3. Re: Problems setting MIME Headers (Rob Marquardt 1998)
  4. Re: Problems setting MIME Headers (Christer Olsson 1998)
  5. Re: Problems setting MIME Headers (Sandra L. Pitner 1998)
  6. Problems setting MIME Headers (Rob Marquardt 1998)
A site that I'm working on is having serious problems when viewed via AOL's built-in browser. It appears that AOL's proxy system is being too enthusiastic when caching pages and isn't refreshing dynamically-created pages when it should. Fortunately, it looks like I can solve the problem by modifying some headers. To that end, I've added the following tag to a page:[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=259200Which 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?Rob Marquardt Designer/Resident Wirehead Toast Design300 First Avenue North, Suite 150 Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.toastdesign.com Rob Marquardt

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:

Almost a there but..bye bye NetCloak (1997) Process SSI and WebCatalog.acgi (1998) Web Catalog 2 demo (1997) Is there a max number of fields? (1998) nested ListWords? (2003) Plugin vs. CGI (1998) HTTP upload (2000) UPPERCASE (1997) [WebDNA] PHP and WebDNA together? (2011) problems with 2 tags shakur (1997) Web Catalog not encrypting/decrypting problem (1998) Associative lookup style? + bit more (1997) my SOS last week... (1996) Random bug, OSX 10.04 (2001) Formating found categories (1997) Sort Order on a page search (1997) WebCat2_Mac RETURNs in .db (1997) pictures / referrer etc. (1998) Date Calulation (1997) Credit Card Number checking (1997)