Question
I wanted to know what is the status of
CacheAddOn. Is there anyone using it?
I'm trying to optimize the performance of my TWiki setup and came across many options, CacheAddOn being the most promising.
However, coulnd't make it work. After setting it up, I got errors like these:
[error] /mypath/twiki/bin/cache.sh[35]: exec: ./render: cannot execute [Permission denied]
Later I found out that there is a policy in SELinux (Secure Enhanced Linux) that prevents httdp from spawning shell scripts from within a CGI script.
Before I go ahead and mess up with my SELinux setup, I would like to know whether others had similar experiences and more generically, what are the best bets for improving TWiki performance.
Any help is greatly appreciated.
Environment
--
RicardoScachettiPereira - 10 Feb 2006
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
I do not know about this add-on. If you need to speed-up just a number of slow topics (that contain dynamic
%SEARCH{}% etc) you can install the
VarCachePlugin.
--
PeterThoeny - 10 Feb 2006
Another excellent speed-up is using
SpeedyCGI (or Persistent Perl). Very few pitfalls (unlike mod_perl), excellent performance gains.
--
SteveRJones - 12 Feb 2006
CacheControlHeaders has a comment from me half-way down that points to various caching options. Generally,
SpeedyCGI or similar would be the most transparent way to improve performance - if that doesn't give you enough speedup, you could try one of the caching add-ons (see
CacheControlHeaders for links), but that will change the way the TWiki site works somewhat, particularly for dynamic pages of course.
--
RichardDonkin - 15 Feb 2006
You might want to try the
DBCachePlugin and replace any INCLUDE and SEARCH with
DBCALL and DBQUERY.
--
MichaelDaum - 15 Feb 2006
I successfuly use
CacheAddOn for almost a year in two big projects. I didn't have any installation problems with it (installed on
SunOS with Apache). I didn't check any other "TWiki speed up solutions" except mod_perl. mod_perl was not good enough, the speed encrease was minor. Now when I'm close to upgrade to Dakar I found even better solution:
CacheChooserAddOn. It lets user to decide which page or even full web is fully dinamic or shall be cached.
--
JacekZapotoczny - 11 Jul 2006