This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Clear the page cache
Radiant’s cache is supposed to be invalidated automatically and/or every five minutes. However, there are situations where the automatic invalidation and/or five minute delay is not immediate enough. In these situations simply navigate to the root of your Radiant project and delete the cache directory.
cd /home/deploy/radiant_site/tmp
rm -r cache
Clearing the page cache from within your code
Since Radiant 0.8, ResponseCache has been replaced with Radiant::Cache (which inherits from Rack::Cache
Use this code to clear the entire cache without relying on a particular Radiant version:
if defined? ResponseCache == 'constant'
ResponseCache.instance.clear
else
Radiant::Cache.clear
end






