Ignore:
Timestamp:
11/25/08 00:57:30 (4 years ago)
Author:
KennethLavrsen
Message:

Item221: Finish the TWiki:Codev to Foswiki:xxx conv
Had to leave a few behind in docs that were to hard to convert
old extensions that probably are out of date

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CacheAddOn/data/TWiki/CacheAddOn.txt

    r788 r929  
    11%META:TOPICINFO{author="guest" date="1046815987" format="1.0" version="1.1"}% 
    22The *CacheAddOn* implements a simple, 
    3 agressive server side caching strategy for TWiki pages. 
     3agressive server side caching strategy for Foswiki pages. 
    44The speed-up is considerable. 
    55 
     
    88---++ Rationale 
    99 
    10 While the functionality and flexibility of TWiki is all nice and useful, 
    11 it comes at a high price: TWiki _is_ slow. 
     10While the functionality and flexibility of Foswiki is all nice and useful, 
     11it comes at a high price: Foswiki _is_ slow. 
    1212Especially, if you make use of the form system 
    1313combined with dynamic searches, 
     
    1919[[http://www.sun.com/desktop/sunblade100/][SunBlade100]] 
    2020with few plug-ins installed 
    21 (TWiki:Main.DefaultPlugin TWiki:Main.TablePlugin TWiki:Main.EditTablePlugin TWiki:Main.IncludeIndexPlugin TWiki:Main.InterwikiPlugin TWiki:Main.PdfPlugin TWiki:Main.SpacedWikiWordPlugin TWiki:Main.SpreadSheetPlugin TWiki:Main.TWikiDrawPlugin TWiki:Main.XpTrackerPlugin) 
     21(Foswiki:Extensions.DefaultPlugin Foswiki:Extensions.TablePlugin Foswiki:Extensions.EditTablePlugin Foswiki:Extensions.IncludeIndexPlugin Foswiki:Extensions.InterwikiPlugin Foswiki:Extensions.PdfPlugin Foswiki:Extensions.SpacedWikiWordPlugin Foswiki:Extensions.SpreadSheetPlugin Foswiki:Extensions.TWikiDrawPlugin Foswiki:Extensions.XpTrackerPlugin) 
    2222 
    2323|                                         Test case | Min[s]| Avg[s]| Max[s]| URL path                          | 
    2424|       Hello-world = load+compile+init perl |  0.65|   0.75|   0.93| /twiki/benchmark?-h | 
    25 |                                        Short page |   1.51|   2.03|   3.10| /twiki/render/TWiki/BumpyWord | 
    26 |                        Formatted search |     2.44|   2.58|   3.17| /twiki/render/TWiki/ProjectContributor | 
    27 |        Large index w/much RCS |       5.36|   5.82|   7.46| /twiki/render/TWiki/WebIndex | 
    28 |         Large page w/INCLUDEs |       6.91|   7.21|   8.37| /twiki/render/TWiki/CompleteDocumentation | 
     25|                                        Short page |   1.51|   2.03|   3.10| /twiki/render/System/BumpyWord | 
     26|                        Formatted search |     2.44|   2.58|   3.17| /twiki/render/System/ProjectContributor | 
     27|        Large index w/much RCS |       5.36|   5.82|   7.46| /twiki/render/System/WebIndex | 
     28|         Large page w/INCLUDEs |       6.91|   7.21|   8.37| /twiki/render/System/CompleteDocumentation | 
    2929 
    3030mod_perl could cut the fist figure, startup+compile overhead, to zero; 
    3131[[http://daemoninc.com/SpeedyCGI/][SpeedyCGI]] to almost zero. 
    3232If I understand correctly, 
    33 for TWiki you can only _subtract_ that gain of 0.65s from the other figures. 
    34 4.7s instead of 5.3s for the TWiki documentation index -- no big deal. 
     33for Foswiki you can only _subtract_ that gain of 0.65s from the other figures. 
     344.7s instead of 5.3s for the Foswiki documentation index -- no big deal. 
    3535 
    3636Given, that viewing is far more frequent than editing, 
     
    5151 
    5252        0 Wiki links, mostly to missing topics, may be out-dated; 
    53         0 TWiki search results are very likely to be out-dated 
     53        0 Foswiki search results are very likely to be out-dated 
    5454        0 Layout changes in templates are not reflected in cached pages 
    5555        0 Decide for ultra fast, but clunky Unix only ksh/bash implementation 
     
    7373        |                                         Test case | Min[s]| Avg[s]| Max[s]| URL path                          | 
    7474        |       Hello-world = load+compile+init perl |  0.63|   0.68|   0.98| /twiki/benchmark?-h | 
    75         |                                        Short page |   0.05|   0.06|   0.08| /twiki/view/TWiki/BumpyWord | 
    76         |                        Formatted search |     0.05|   0.06|   0.12| /twiki/view/TWiki/ProjectContributor | 
    77         |        Large index w/much RCS |       0.05|   0.06|   0.07| /twiki/view/TWiki/WebIndex | 
    78         |         Large page w/INCLUDEs |       0.05|   0.07|   0.10| /twiki/view/TWiki/CompleteDocumentation | 
     75        |                                        Short page |   0.05|   0.06|   0.08| /twiki/view/System/BumpyWord | 
     76        |                        Formatted search |     0.05|   0.06|   0.12| /twiki/view/System/ProjectContributor | 
     77        |        Large index w/much RCS |       0.05|   0.06|   0.07| /twiki/view/System/WebIndex | 
     78        |         Large page w/INCLUDEs |       0.05|   0.07|   0.10| /twiki/view/System/CompleteDocumentation | 
    7979 
    8080 
     
    8787        0 It inserts a tee into the pipeline from the render script to the web server 
    8888        0 The tee output is stored in the file system 
    89         0 Next time it's called, it compares the TWiki data file modification 
     89        0 Next time it's called, it compares the Foswiki data file modification 
    9090          time with that of the cached page 
    9191        0 If up to date, pipe the cached page to the web server 
     
    114114          | bin/fresh | shell force rendering a fresh page into the cache | shell | 
    115115          | bin/edit.cache.diff | patch for edit script | optional for both | 
    116           | data/TWiki/CachePlugin.txt | this description | both | 
     116          | data/System/CachePlugin.txt | this description | both | 
    117117        0 Create the the =/your/twiki/cache= directory, 
    118118          make sure everything below is writable for the web server, e.g. <br> 
    119119          =chgrp www /your/twiki/cache; chmod g+ws /your/twiki/cache= 
    120120        0 Create one sub-directory per web which you want to cache, e.g.: 
    121           =/your/twiki/cache/TWiki= for the documentation 
     121          =/your/twiki/cache/Foswiki= for the documentation 
    122122        0 To minimize misleading out-dated edit links, 
    123123          modify the =/your/twiki/bin/edit= script with the supplied patch; 
Note: See TracChangeset for help on using the changeset viewer.