Repository is archived
No commit activity in last 3 years
No release in over 3 years
Enables per page admin option of setting caching to a non-default value, or turning it off altogether.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0.9.1
 Project Readme

Cache by Page

Extension for Radiant CMS which enables per page admin option of setting caching to a non-default value, or turning it off altogether

  • Created by: Andrew vonderLuft
  • Contact: avonderluft [at] avlux [dot] net

Revision History

  • 1.0 – 4/2009 – Radiant 0.7 compatible, per page caching options

Requirements

  • Radiant 0.7 or greater
  • no other known dependencies

Installation

From your RADIANT_ROOT:

  • $ script/extension install cache_by_page
  • Restart your radiant app, and you should be good to go.

Installation

From the Radiant Extension Registry

  1. From your RAILS_ROOT run:
    script/extension install cache_by_page
  2. Restart your app
    NOTE: In some earlier versions of Radiant, the migrations may not run, and the assets may not be copied and you may therefore need to run:
    rake radiant:extensions:cache_by_page:migrate

From Github

  1. From your RAILS_ROOT run:
    cd vendor/extensions
    git clone git://github.com/avonderluft/radiant-cache_by_page-extension.git ./cache_by_page
    cd ../../
    rake radiant:extensions:cache_by_page:migrate
  2. Restart your app

Using the gem

  1. Install the gem
    gem install radiant-cache_by_page-extension
  2. Update your Radiant config: add to environment.rb with other gem.configs
    config.gem ‘radiant-cache_by_page-extension’, :lib => false
  3. Run database migrations
    rake db:migrate:extensions
  4. Restart your app

Usage

See Admin help doc

Acknowledgments

As always, Sean Cribbs lent assistance with the finer points of Ruby, Rails and Radiant. The Jupiter of Holst is still exquisite, even if it is a little bit of overkill for a podcast.