Re: [Radiant] Per-request caching?

2009-09-15 Thread Rufo Sanchez
t; The key is adding the correct caching-related headers that will be detected > by Rack::Cache.  You can do this automatically in your controllers using > "expires_in", "expires_now", and the like.  I suggest checking out the > ActionController API for more details. &

[Radiant] Per-request caching?

2009-09-15 Thread Rufo Sanchez
Anyone have any pointers toward the best way of implementing per-request caching in Radiant 0.8.x? The basic idea is that we're writing a bunch of extensions to handle a membership database, user login, etc. - logged-in users may have different options appear, will have their name in a corner of t

Re: [Radiant] Re: Re: [Radiant-Dev] [ANN] Styles 'n Scripts Extension

2008-05-20 Thread Rufo Sanchez
> is there any way to call js/css files from anywhere of the page/layout? > suppose, i use one template and many subpages? > but i use different/extra css/js files on subpages (and also common), for > example i will use accordion script on a subpage and putting this on > template or on header snip

Re: [Radiant] Ruby Gems Installation Issue

2008-04-19 Thread Rufo Sanchez
On Sat, Apr 19, 2008 at 8:28 PM, Tom Cloyd <[EMAIL PROTECTED]> wrote: "locate" spewed out the files in > "/var/lib/gems/1.8/doc/radiant-0.6.4/", of course. It also listed > "/var/lib/gems/1.8/bin/radiant", so, I executed the > > radiant --database sqlite3 "/home/tom/Ruby projects - > Toms/radiant-