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 MarquardtDesigner/Resident WireheadToast Design300 First Avenue North, Suite 150Minneapolis MN 55401612.330.9863 v612.321.9424 fwww.toastdesign.com
Associated Messages, from the most recent to the oldest:
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 MarquardtDesigner/Resident WireheadToast Design300 First Avenue North, Suite 150Minneapolis MN 55401612.330.9863 v612.321.9424 fwww.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:
WebCatalog [FoundItems] Problem - AGAIN - (1997)
Extended [ConvertChars] (1997)
Change Subtotal (2000)
Separate SSL Server (1997)
Re:trouble (1997)
all records returned. (1997)
WebCatalog can't find database (1997)
[Announce]: Web server security and password protection (1997)
[Fwd: Rotating Banners ... (was LinkExchange)] (1997)
WebCat2 several catalogs? (1997)
FYI-WebCat Mac or NT (1997)
Mozilla/4. and Browser Info.txt (1997)
webcat and webkitty votes needed (1997)
emailer setup (1997)
Freeze (2003)
Netscape v. IE (1997)
triggers (2003)
applet example (1997)
Editing two databases in one form using [replace]? (1998)
WebCat & WebTen (1997)