Index: openacs-4/packages/xowiki/tcl/xowiki-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/xowiki-procs.tcl,v diff -u -r1.291 -r1.292 --- openacs-4/packages/xowiki/tcl/xowiki-procs.tcl 4 Oct 2008 19:15:45 -0000 1.291 +++ openacs-4/packages/xowiki/tcl/xowiki-procs.tcl 6 Oct 2008 12:06:56 -0000 1.292 @@ -182,10 +182,20 @@ and ci.publish_status <> 'production'" # - # Page definitions + # We do here the same as in xotcl-core/tcl/05-db-procs.tcl + # Read there for the reasons, why the cache is not created in + # a -init file..... # + if {[catch {ns_cache flush xowiki_cache NOTHING}]} { + ns_log notice "xotcl-core: creating xowiki cache" + ns_cache create xowiki_cache -size 200000 + } + # + # Page definitions + # + Page set recursion_count 0 Page array set RE { include {{{([^<]+?)}}([&<\s]|$)}