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:

[OT] authenticate with email server (2004) Quickie question on the email templates (1997) WordBreak Qestion (part 2) (1998) Email Problems on 4.0 (2000) WebCommerce: Folder organization ? (1997) [protect] on NT? (1997) New WebCatalog site! (1997) Various Problems (1997) Possible Bug in 2.0b15.acgi (1997) shipcost (1997) [OT] grep help (2004) Making Thumbnail Graphics (1997) Banner DNA (1997) WebCat2b13MacPlugIn - syntax to convert date (1997) Requiring that certain fields be completed (1997) Changes to the List (1997) Replace Statement (1997) Not really WebCat (1997) Re:quit command on NT (1997) View order not right (1997)