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
- 1.0 – 4/2009 – Radiant 0.7 compatible, per page caching options
- Radiant 0.7 or greater
- no other known dependencies
From your RADIANT_ROOT:
$ script/extension install cache_by_page
- Restart your radiant app, and you should be good to go.
- From your RAILS_ROOT run:
script/extension install cache_by_page
- 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 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
- Restart your app
- Install the gem
gem install radiant-cache_by_page-extension
- Update your Radiant config: add to environment.rb with other gem.configs
config.gem ‘radiant-cache_by_page-extension’, :lib => false
- Run database migrations
rake db:migrate:extensions
- Restart your app
See Admin help doc
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.