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:

Search in 2 or more catalogs (1997) WCS Newbie question (1997) RAM variables (1997) Problem: 3.0 doesn't update carts (1997) UPS (2003) Searchable WebCat (etc.) Docs ? (1997) Trigger to restart Webcat Service (2001) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) Authenticate (1997) Cancel Subscription (1996) newbie Q: [cart] documentation (1999) WebCat2b13MacPlugIn - [shownext method=post] ??? (1997) PCS Emailer's role ? (1997) Rhapsody? (1997) Emailer (1997) weird convertchars behavior (2000) Cold Fusion Buster (1997) PCS Frames (1997) Searching Multiple DBs (1997) Weird WebCatalog problems (1998)