config.action_controller.perform_caching is not working in 0.8.1

View: New views
2 Messages — Rating Filter:   Alert me  

config.action_controller.perform_caching is not working in 0.8.1

by landtax :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi all :

I'm workin in 0.8.1 and I think that

config.action_controller.perform_caching = false

in

environment/development.rb

is not working anymore with Rack.

Is it possible? is it a known issue?

I had to comment

#config.middleware.use ::Radiant::Cache

in environment.rb for disabling the cache. Am i doing something wrong?

The point is that when i do
  def cache?
    true/false
  end
in my extension Page it behaves as it should.

Santi
--~--~---------~--~----~------------~-------~--~----~
Radiant CMS Dev Mailing List
Post:        radiantcms-dev@...
Unsubscribe: radiantcms-dev-unsubscribe@...
Group Site:  http://groups.google.com/group/radiantcms-dev/
-~----------~----~----~----~------~----~------~--~---


Re: config.action_controller.perform_caching is not working in 0.8.1

by Jason Garber-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Radiant doesn't make use of config.action_controller.perform_caching.  
It's a Rails thing (see ActionController::Caching).  Radiant's caching  
is  separate (Rack::Cache).

On Nov 3, 2009, at 1:11 PM, landtax wrote:

>
> Hi all :
>
> I'm workin in 0.8.1 and I think that
>
> config.action_controller.perform_caching = false
>
> in
>
> environment/development.rb
>
> is not working anymore with Rack.
>
> Is it possible? is it a known issue?
>
> I had to comment
>
> #config.middleware.use ::Radiant::Cache
>
> in environment.rb for disabling the cache. Am i doing something wrong?
>
> The point is that when i do
>  def cache?
>    true/false
>  end
> in my extension Page it behaves as it should.
>
> Santi
> >


--~--~---------~--~----~------------~-------~--~----~
Radiant CMS Dev Mailing List
Post:        radiantcms-dev@...
Unsubscribe: radiantcms-dev-unsubscribe@...
Group Site:  http://groups.google.com/group/radiantcms-dev/
-~----------~----~----~----~------~----~------~--~---