[SPT/CWIS] content caching w/ smarty

Edward Almasy ealmasy at scout.wisc.edu
Wed Jun 7 11:52:59 CDT 2006


On Jun 7, 2006, at 11:34 AM, Kucera, Rich wrote:
> Would you advise using Smarty for content caching (at the page level)?

    We've looked at Smarty, but haven't done any testing
    with it, so I can't say whether it would have much of
    an effect on performance.

    Given the structure of the SPT/CWIS code, if performance
    is an issue on your site you might want to consider
    using one of the available PHP accelerators, which parse
    the PHP source into opcodes and then cache the opcodes
    for frequently-loaded files.  There's a recent review of
    the most popular accelerator choices here:

      http://www.ipersec.com/index.php?q=en/bench_ea_vs_apc

    With more and more of the underlying logic being pushed
    down into component objects with each release of SPT and
    CWIS, I'd expect this type of accelerator to provide
    increasing performance gains in the future.

    Ed


    P.S.  (If you do give Smarty or an accelerator a try,
    please don't hesitate to share your experiences with the
    rest of us. :-))



---
    Edward Almasy                                      
ealmasy at scout.wisc.edu
    Co-Director                                         1210 W Dayton  
Street
    Internet Scout                                          Madison  
WI 53706
    Computer Sciences Department                        608-262-6606  
(voice)
    University of Wisconsin - Madison                      
608-265-9296 (fax)






More information about the SPT-CWIS-Users mailing list