<div dir="ltr">Thanks Eemeli! <br><br>Fastcache has saved me from ridiculous hosting fees (cpu usage fees). It's works very well, keeps my host's server cpu usage down, and delivers the pages very fast. As you or Pm pointed out, there are some issues with caching non public content, but in my case that's a small price to pay for reduced cpu usage and page delivery speed. Thanks a million for sharing the script.<br>
<br>Best,<br>Brent<br><br><div class="gmail_quote">On Mon, Sep 17, 2007 at 3:14 AM, Eemeli Aro <<a href="mailto:eemeli@gmail.com">eemeli@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I've gone and implemented something very much like Thomas's script as<br>
a cookbook recipe: FastCache<br>
<<a href="http://pmwiki.org/wiki/Cookbook/FastCache" target="_blank">http://pmwiki.org/wiki/Cookbook/FastCache</a>>. I didn't actually notice<br>
this thread until I was posting the thing, but the implementation is<br>
very similar.<br>
<br>
FastCache buffers printed output during anonymous page viewing and<br>
saves the complete HTML page to file, allowing for Apache mod_rewrite<br>
rules to serve up-to-date static pages for anonymous users, which<br>
significantly speeds up general site access. Cache pages are<br>
invalidated when a wiki page is posted, ensuring that the cache stays<br>
up to date.<br>
<br>
As an indicator of the efficiency of this kind of caching, my server<br>
without FastCache can handle at most 10 pages/second, and with<br>
FastCache it handles about 1500 pages/second.<br>
<br>
Some beta issues still remain, of course. See the recipe for more info.<br>
<font color="#888888"><br>
eemeli<br>
</font><div><div></div><div class="Wj3C7c"><br>
_______________________________________________<br>
pmwiki-users mailing list<br>
<a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a><br>
<a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users" target="_blank">http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Brent Zupp<br><a href="http://www.wanderings.net/">http://www.wanderings.net/</a><br><br>Disobedience, in the eyes of anyone who has<br>read history, is man's original virtue. It is<br>
through disobedience that progress has been<br>made, through disobedience and through rebellion.<br>~ Oscar Wilde
</div>