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:
[SearchString] (1998)
Sort Floating Point Number (2008)
multi-paragraph fields (1997)
Navigator 4.01 (1997)
unsubscribe (1997)
Search a date field by month only... (1999)
WebCat2 - Getting to the browser's username/password data (1997)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
Emailer port change (1997)
spaces in [texta] (1998)
Calendar Program (2004)
[WebDNA] Open Source CMS (2012)
Hiding URL ? (1998)
[WebDNA] anyone have a good tcpconnect post snippet? (2009)
[OT] Robust order processing (2003)
autosensing lanague selection (1997)
Emailer (1997)
Blowback and budgets. (2000)
searching within same page (2000)
default value from Lookup (was Grant, please help me) (1997)