How to re-build the page cache
—
!!1!
!
>How to re-build the page cache
—
!!2!
!
—
!!3!
!
If you upgrade,
or something goes wrong,
or you just delete the contents of the cache directory in your wiki,
then it will be rebuilt automatically.
Unfortunately this can take quite a long time for very large
wikis (I have a 4,500 page wiki)
.
I will try and improve this in a future version of soks,
but in the mean time,
you can write yourself a small script to rebuild the cache by duplicating the start.rb script in your wiki folder and modifying it to be something like this.
!
!4!
!
!
!5!
!
!
!6!
!
!
!7!
!
!
!8!
!
!
!9!
!
—
!!10!
!
Wow,
that helped a bunch.
Went from 8+
hours to 3 minutes.
Thanks.
Bil !
!11!
!
—
!!12!
!
Tag: Include this page in the distribution !
!13!
!