Re: Caching pages...again

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 36903
interpreted = N
texte = Paul Uttermohlen wrote: > > John, it sounds like great advice. Could you indulge us with a brief > tutorial on using MIME headers correctly? > You must have both Last-modified and Expires set properly in order to control when a page is cached and when it is not. They must both be in the correct GMT form and iff they are the same, then no caching will be done (including AOL). The biggest problem with AOL is that their cache has an incredibly narrow definition of what an active page URL looks like. You must use the MIME headers to correctly specify that a page not be cached.I have included my MIMEHeaders.inc file on several occasions, so please check for it in the archives. Simply call like this: [include MIMEHeaders.inc&expires=0]when you want a page to not be cached under any circumstances. I allow most of my pages to be cached by default, since any POST variables will prevent caching of any search page.HTHJohn-- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Caching pages...again (Glenn Busbin 2001)
  2. Re: Caching pages...again (John Peacock 2001)
  3. Re: Caching pages...again (Christer Olsson 2001)
  4. Re: Caching pages...again (John Peacock 2001)
  5. Re: Caching pages...again (Bob Minor 2001)
  6. Re: Caching pages...again (Christer Olsson 2001)
  7. Re: Caching pages...again (Bob Minor 2001)
  8. Re: Caching pages...again (Christer Olsson 2001)
  9. Re: Caching pages...again (Donovan Brooke 2001)
  10. Re: Caching pages...again (Christer Olsson 2001)
  11. Re: Caching pages...again (Christer Olsson 2001)
  12. Re: Caching pages...again (Bob Minor 2001)
  13. Re: Caching pages...again (John Peacock 2001)
  14. Re: Caching pages...again (Christer Olsson 2001)
  15. Re: Caching pages...again (Donovan Brooke 2001)
  16. Re: Caching pages...again (Christer Olsson 2001)
  17. Re: Caching pages...again (Anup Setty 2001)
  18. Re: Caching pages...again (John Peacock 2001)
  19. Re: Caching pages...again (John Peacock 2001)
  20. Re: Caching pages...again (Christer Olsson 2001)
  21. Re: Caching pages...again (Glenn Busbin 2001)
  22. Re: Caching pages...again (Paul Uttermohlen 2001)
  23. Re: Caching pages...again (John Peacock 2001)
  24. Re: Caching pages...again (Christer Olsson 2001)
  25. Re: Caching pages...again (Paul Uttermohlen 2001)
  26. Re: Caching pages...again (John Peacock 2001)
  27. Re: Caching pages...again (Christer Olsson 2001)
  28. Caching pages...again (Glenn Busbin 2001)
Paul Uttermohlen wrote: > > John, it sounds like great advice. Could you indulge us with a brief > tutorial on using MIME headers correctly? > You must have both Last-modified and Expires set properly in order to control when a page is cached and when it is not. They must both be in the correct GMT form and iff they are the same, then no caching will be done (including AOL). The biggest problem with AOL is that their cache has an incredibly narrow definition of what an active page URL looks like. You must use the MIME headers to correctly specify that a page not be cached.I have included my MIMEHeaders.inc file on several occasions, so please check for it in the archives. Simply call like this: [include MIMEHeaders.inc&expires=0]when you want a page to not be cached under any circumstances. I allow most of my pages to be cached by default, since any POST variables will prevent caching of any search page.HTHJohn-- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ John Peacock

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:

[WriteFile] problems (1997) big database file (2000) [protect] on NT? (1997) Automatically submitting form with web cat. (2001) emailer (1997) wc 2 pro users - sites, quotes wanted (1997) Calendar (1997) Showif, Hideif reverse logic ? (1997) Problems passing [SKU] with $Replace in 2.0 (1997) Use WebCat to search files in a folder like a search engine? (2001) Document Contains No Data! (1997) Emailer setup (1997) Adding up line items. (2000) can WC render sites out? (1997) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) To Err or Not Custom Error (1999) Date Calulation (1997) [WebDNA] Unsubscribe (2008) User/pass with tcpconnect (2000) Browser frames and URLs in the Location field (2004)