rubyonrailsin

A Ruby and Rails talk

Wednesday, March 24, 2010


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

by rubyonrailsin 0 comments

Tag


Share this post:
Design Float
StumbleUpon
Reddit

On Wed, Mar 24, 2010 at 15:21, 31 30 <3130@mail.com> wrote:


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

What does DynamicPage do?

There isn't a trivial way to expire the response stored by Rack::Cache. You should make sure that the next response returned by Radiant would set the cache headers in a way that Rack::Cache sees that the stored page is obsolete. 

--
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