Giter VIP home page Giter VIP logo

funky_cache's Introduction

Short history and status

The funky cache plugin for Wolf CMS was originally created by tuupola.
Maintainership for the plugin was later taken over by mvdkleijn at tuupola’s request since he no longer had time to work on it.
The current version of the plugin was tested to work on Wolf CMS 0.7.5 and upwards.

Speed

Following chart show number of requests per second on a test server.
Three bars representing a Wolf CMS installation with no caching,
with File Cache plugin installed and
with Funky Cache plugin installed. These numbers are just an indication.

Install

Copy the files to wolf/plugins/funky_cache/ folder.

cd wolf/plugins/
git clone git://github.com/mvdkleijn/funky_cache.git funky_cache

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

define('USE_MOD_REWRITE', true);

Go to the Wolf CMS admin interface and enable the Funky Cache plugin.

A “Cache” tab should appear after enabling the plugin. Click on the tab and 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 the static files are written. The folder is relative to the document root of your web server. If you leave this empty, cached files will be written to the document root of your web server. The web server MUST have write access to the cache folder.

Go to the shell (or your FTP client) and create the cache folder and give the web server write access to it. For example:

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

Funky Cache depends on correctly set up mod_rewrite rules. The rules are different depending on your Wolf CMS and plugin settings. Click on “Example rewrite rules” in the plugin’s sidebar. Cut and paste the given code for your web server to the .htaccess file (or its equivalent) in your document root.

Changelog

0.4.1

  • Fixed small issue with regards to tab being displayed (thanks chrisgo)
  • Added nginx rewrite rules to documentation screen (thanks marvind)

0.4.0

  • Support for root and non-root sites.
  • Fixed some paths
  • Updated for 0.7.5

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

funky_cache's People

Contributors

tuupola avatar mvdkleijn avatar johnnytumlinson avatar chrisgo avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.