David Piehler wrote:
> I'm running Radiant 0.6.0rc2
> 
> Is there any way to disable caching of Radiant generated pages AND 
> plugin code when running in development mode? Having to clear the page 
> cache after every plugin code change is slowing me down.
> 
> In order to not cache Radiant pages I had to set the following in 
> /config/environments/development.rb
> config.cache_classes = true
> ResponseCache.defaults[:perform_caching] = false
> 
> Setting the first flag to true seems odd, but I couldn't turn off 
> caching any other way.
> 
> My plugin code, which injects some HTML into the page through a radiant 
> tag, seems to always be cached nomatter what I set config.cache_classes 
> to.
> 
> 
> Any ideas?

Now using Radiant 0.6.1 on a new project and I'm still having trouble 
with disabling both class and page caching. Any way I need to 
specifically setup environment/development.rb?

config.cache_classes     = false
# Show full error reports and caching is turned off, but ResponseCache 
caching is on
config.action_controller.consider_all_requests_local = true
config.action_controller.perform_caching             = false
ResponseCache.defaults[:perform_caching]             = true
# setting expire_time does not help at all
ResponseCache.defaults[:expire_time]                 = 10.seconds


Also, from the commented line above, what is the difference between 
"caching" and "ResponseCache caching"?

Thanks,
- Dave

-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to