Skip to content
This repository has been archived by the owner on Aug 28, 2019. It is now read-only.

tuupola/wolf_funky_cache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

New maintainer

I do not maintain this code anymore. Latest version can be found at https://github.com/mvdkleijn/funky_cache.

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 wolf/plugins/
git clone git://github.com/tuupola/wolf_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 wolf 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 Wolf and plugin settings. Click “Your .htaccess file” on sidebar. Cut and paste given code to .htaccess file in your document root.

Changelog

0.3.6

  • Support for Dashboard plugin.
  • Support for SQLite3 (sartas)
  • Support for urls without trailings slash (/foo/bar) and with trailing slash (/foo/bar/) when not using URL suffix.

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

Releases

No releases published

Packages

No packages published

Languages