Clear the page cache
wdso edited this page Aug 24, 2010
·
6 revisions
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
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
Access dev.localhost.