Welcome to Squishdot Squishdot How-To Newbies Websites
 about
 search
 post article
 Documentation
 Mailing Lists
 Bug Tracking
 Development
 Installation
 Upgrading
 Download
 admin
 rdf

 main


Squishdot page gets cached
Squishdot Posted by Bruce Perens on Monday January 31, 12:12AM, 2000
from the I fixed this once and the upgrade broke it again dept.
The Squishdot front page should cache for perhaps 10 minutes, not forever as it presently does. The same goes for article pages. Can someone give me a quick fix? I applied a lame fix to this a few versions back and I think it's since been overwritten.

Thanks

Bruce

<  |  >

 

Related Links
  • Articles on Squishdot
  • Also by Bruce Perens
  • Contact author
  • The Fine Print: The following comments are owned by whoever posted them.
    ( Reply )

    Re: Squishdot page gets cached
    by deekayen on Monday January 31, 02:27AM, 2000
    There's client side and server side caching. I'm not familiar with server side and I'm pretty much limited to my PHP3 knowledge. Here's a link that helped me a while back with HTTP headers for client side caching.

    http://www.mnot.net/cache_docs/
    [ Reply to this ]
    Re: Squishdot page gets cached
    by Luke Tymowski on Monday January 31, 04:01AM, 2000
    The technocrat header says the content expires tomorrow, monday.

    What I do is set my headers in Zope to expire in the past, which always causes Zope to push out a fresh page each time.

    Here's what I use:

    <META HTTP-EQUIV="Expires" CONTENT="Mon, 01 Jan 1990 01:00:00 GMT">
    [ Reply to this ]
    • Re: Squishdot page gets cached
      by deekayen on Monday January 31, 06:49AM, 2000
      Meta tags is one way of doing it but not the best. For example, in Netscape you can set the preferences to not cache webpages at all. That would make the meta tag pretty much useless.

      On the other hand if you can use HTTP headers, you have some server involvement in caching.

      More info:
      http://www.mnot.net/cache_docs/#META

      [ Reply to this ]
    Re: Squishdot page gets cached
    by deekayen on Monday January 31, 06:56AM, 2000
    Come to think of it... I don't even know if/how Zope deals with HTTP headers. It might be better just to go with the meta tag route.
    [ Reply to this ]
    The Fine Print: The following comments are owned by whoever posted them.
    ( Reply )

    Powered by Zope  Squishdot Powered
      "Any system that depends on reliability is unreliable." -- Nogg's Postulate
    All trademarks and copyrights on this page are owned by their respective companies. Comments are owned by the Poster. The Rest ©1999 Butch Landingin, ©2000-2002 Chris Withers.