rubyonrailsin

A Ruby and Rails talk

Wednesday, March 24, 2010


[Radiant-Dev] Expiring page in Radiant::Cache

by rubyonrailsin 0 comments

Tag


Share this post:
Design Float
StumbleUpon
Reddit

With the move to Radiant::Cache, Andrea Franz's DynamicPage extension
no longer works.

The key section is:

cache = ResponseCache.instance
self.ancestors.each do |ancestor|
cache.expire_response(ancestor.url) if ancestor.class_name
== 'DynamicPage'
end

Can someone give me a hint as to the appropriate replacement for
ResponseCache.instance.expire_response() using the new Radiant::Cache
implementation ?

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

To unsubscribe from this group, send email to radiantcms-dev+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.

No comments:

Post a Comment

Subscribe feeds via e-mail

Blog Archive