public
Description: Funky cache plugin for Frog CMS
Homepage: http://www.appelsiini.net/projects/funky_cache
Clone URL: git://github.com/tuupola/frog_funky_cache.git
tuupola (author)
Mon Apr 27 07:06:24 -0700 2009
commit  dac2939527c5cec8d45cd9f585ce6788de47fd41
tree    8f7aab2e61d61a6f3dbd679661c4448d989e4997
parent  9c2e6b404002d8019f68038238e43e2068173721
README.textile

Speed

Following chart show number of requests per second on a test server. Three bars represent Frog installation with no caching, with File Cache plugin installed and with Funky Cache plugin installed. More accurate numbers in speed comparison blog post.

Install

Copy files to frog/plugins/funky_cache/ folder.

cd frog/plugins/
git clone git://github.com/tuupola/frog_funky_cache.git funky_cache

Open you config.php and make sure the following is set:

define('USE_MOD_REWRITE', true);

Got to admin and enable Funky Cache plugin.

Reload the admin page to see “Cache” tab appear. Click on the tab to check your settings.

Cache file suffix is important! It is the suffix of static files written to disk. It should be the same as URL_SUFFIX in Frog config.php. If your URL_SUFFIX is empty cache file suffix will default to .html.

Cache folder is the folder where static files are written. Folder is related to document root. If you leave this empty cached files will be written to document root. Webserver must have write access to cache folder.

Go to shell and create the cache folder and give write access to it.

>cd path/to/document/root/
>mkdir cache
>chmod a+w cache

Funky Cache depends on correctly setup mod_rewrite rules. Rules are different depending on your Frog and plugin settings. Click “Your .htaccess file” on sidebar. Cut and paste given code to .htaccess file in your document root.

Changelog

0.3.5

0.9.5RC2 tried to use wrong views folder.

0.3.4

  • Fix compatibility issues with 0.9.5 mod_rewrite rules.
  • Show real (not cached) path in admin.
  • Delete cached pages from harddrive when disabling plugin.
  • Fix sidebar view path for 0.9.5