Cookbook /
CompressedPageStore-Talk
Summary: Talk page for CompressedPageStore.
Maintainer: Petko
This space is for User-contributed commentary and notes. Please include your name and a date along with your comment.
PmWiki saves its pages in flat files -- Is there any way to store those files in encrypted format that can be decrypted (using a password) just like this recipe gzips and ungzips page files, could you create a new recipe based on this idea? This recipe appears to be closest to what I am looking for. gnuzoo
Comments
- Great idea! One question... how does PmWiki do a search on compressed files? Uncompress them one at a time? What does this do to response time on searches? Keith Campbell
- Just for information: I had this script running for 6 weeks now and encountered no problems :) Klonk
- This is a great recipe but it doesn't work with Cookbook.CreditsBlock.
- I don't see a reason why it shouldn't work. What I once noticed that I had to take care to call his script as early as possible as otherwise some page could not be read after editing, thus compressing them. BTW as I included Cookbook.CreditsBlock I didn't get any display. No matter whether I included pagestoregz or not.--Klonk
- You are correct! I placed
include_once('cookbook/pagestoregz.php');
as the second line in my config.php (after turning on zlib compression) and now everything works wonderfully, including Cookbook.CreditsBlock. Thank you for your assistance.
- You are correct! I placed
- I don't see a reason why it shouldn't work. What I once noticed that I had to take care to call his script as early as possible as otherwise some page could not be read after editing, thus compressing them. BTW as I included Cookbook.CreditsBlock I didn't get any display. No matter whether I included pagestoregz or not.--Klonk
- This is a great recipe but it doesn't work with Cookbook.CreditsBlock.
- Good work but I found problem with wikifarm. If pages under
$FarmD
/wiki.d/ are compressed and one field wiki uses a page, for example Main.ABC which does not exist in the field wiki but does in$FarmD
/wiki.d/, the field one will use$FarmD
/wiki.d/Main.ABC but display nothing. --weijiang September 25, 2005, at 09:47 AM- Make sure to load pagestoregz.php early enough in your config.php! This can make a great difference! - Klonk
- I am sorry, but is it possible to use similar technique to uploaded files? I mean, it would be great if you can upload some files and the would saved compressed. I think this problem can be solved as web-server extension but i don't want to have apache on my pocket flash drive. Michael Savchuk -> mailto:mehos1 [snail] yandex [period] ru
- This does not see to work with the PerGroupSubDirectories recipe. Jonathan Cutrer
Talk page for the CompressedPageStore recipe (users?).