[Pmwiki-users] Suggestion for the sample-config.php

David Jackson itdoctor
Thu Mar 18 16:08:11 CST 2004


Patrick R. Michaud wrote:

[..]

>>Can I suggest that this info is put (commented) into the 
>>sample-config.php?
>>Or perhaps get a mention in the initial tasks page?
> 
> 
> How about if I just add it to the standard default configuration, with an
> option to set $EnableCompressedOutput=0 for those who don't want it?

Sounds good to me.  This is such a good tip, it should be standard.

> Also, I'm currently experimenting with getting PmWiki to honor the
> "If-Modified-Since" request header, which has the potential to reduce
> bandwidth even further because it allows browsers to again use the
> local cache if someone returns to a previously visited page (and no
> pages have been modified since then).  Basically it allows PmWiki to
> return "304 Not Modified" responses (with no body) instead of always
> returning "200 OK" responses with the entire regenerated page content.

I'll take your word on that.  404 is the only response I'm familiar with...

> I have the If-Modified-Since feature enabled on all of the pages in
> the Development group on pmichaud.com, if people want to test them for
> me.  Basically I'm looking to see if any browser caches get out of sync
> with the true page contents after someone edits a page.

Heh.  How would we know ;-)


Dave Jackson



More information about the pmwiki-users mailing list