00286: compressed flat file database

Summary: compressed flat file database
Created: 2005-01-14 02:16
Status: Closed - added to Cookbook
Category: Feature
From: Klonk
Priority: 1
Version: 2.0beta16

Description: A Suggestion, for an option: What about optional compressing the flat files of the wiki for two reasons:

  1. smaller file resulting in less used diskspace on the webserver
  2. files are not directly readable

I tried to port this option from eWiki but my knowledge of Object Oriented PHP is non-existant (BTW: I have problems understanding OO)

Take a look at Cookbook.CompressedPageStore and see if that works for you. Warning: I haven't done a lot of testing on this script, although it seems to work fine. --Pm

Wow thanks, great Klonk

  • Just an additional wish: Is it possible to implement a switch or something to reverse the effect, i.e. load compressed file and save as standard??Klonk