[Pmwiki-users] Browsing Off Line (non-expiring wiki pages)

Steven Leite steven_leite
Sun Jun 20 23:01:34 CDT 2004


One thing that bugs me about Wikis (and many other portal sites) is that
I can't browse them off-line (they won't cache!!)

I found this nice snipppet in the archives which makes it so the
Wikipages (on my wiki only) won't expired.

$HTTPHeaders=array(
  "Expires: Tue, 01 Jan 2002 00:00:00 GMT",
  "Last-Modified: ".gmstrftime('%a, %d %b %Y %H:%M:%S GMT'),
  "Content-Type: text/html; charset=iso-8859-1;");

This is great, now I can browse my wiki's even when I'm not connected to
the Internet, saving me tons of time and money.  Now, I'm just
wondering, what are the side-effects?

-S




More information about the pmwiki-users mailing list