Tags:
create new tag
view all tags

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

TWiki version: TWikiRelease2005x09x29x6683beta
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: RedHat Enterprise Linux AS rel 4, kernel 2.6.9
Web server: Apache/2.0.52 (Red Hat)
Perl version: 5.8.5
Client OS: MS Windows XP Pro SP 2
Web Browser: Mozilla 1.5.0
Categories: Performance

-- RicardoScachettiPereira - 10 Feb 2006

Answer

ALERT! 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

Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r7 - 2006-07-11 - JacekZapotoczny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.