ewiki

db/fast_files

NOTE: The db_fast_files has been merged into db_flat_files, so both
formats can be read now - at the same time! Updated or new pages will
however always be written in the file format determined by
EWIKI_DB_FAST_FILES+ (defaults to 0) - edit the "db_flat_files.php"
script to change that constant setting, or even add it to your
"config.php" so it was always present.

While "db_flat_files" allows you to edit the WikiPage+ files (using
any simple text editor), the "db_FAST_files" plugin saves the pages
in a binary&compressed format (utilizing PHP's serialize function).

This generally leads to a speed enhancement. Additionally this also
allowed the PageHit+ counting to be activated (which is off in plain
flat files).

So you may wish to use this plugin in favour of the older
db_flat_files.  And as now both methods are available at the same
time, you can switch whenever you want.

Most of the setup guide from above is true for this one, too.

An additional configuration constant introduced here is
EWIKI_DBFILES_GZLEVEL+, which tells the PHP internal zlib how much
time to spend on compression of the saved pages. Usually the zlib
uses a default of 5, but for speed purposes it is set to 2 here. You
can also set the constant to 0 so the files will get saved
uncompressed (but still in 'binary' format). A value of 9 will give
you the smallest possible files, but this takes a little more CPU
cycles (a bit slower).

This plugin was contributed by Carsten Senf.
prev << "db/flat_files"
next >> "db/any"


You cannot modify the README.plugins file, but anyhow any ideas or suggestion should as usually get filed on BugReports, UserSuggestions or even better the README.plugins.Discussion.