[Radiant] Can I use standard Rails plugin?

Mohit Sindhwani tech at onghu.com
Tue Nov 6 06:20:48 CST 2007


Andrea Franz wrote:
> On 11/6/07, Andrea Otto <andrea.otto at tiscali.it> wrote:
>   
>> Hi all,
>> I noticed that my sites losts a lot of time loading js e css file. I
>> searched for a solution and I found this great rails plugin:
>> http://www.artweb-design.de/2007/4/13/rails-plugin-blazing-fast-page-loads-through-bundled-css-and-javascript
>>
>> but I don't know how can I use it in radiant.
>>
>>     
>
> I usually create a radiant page called javascripts that loops through
> its children...each children it's a js page...then from my layout a
> call only one js file (/javascripts) that contains all my js code. It
> should be cool to add a new Filter that use jsminifier to compress all
> the code...what do you think?
> ___________________________________

Not sure about it but would it not make sense to push the JS and CSS out 
to a file?  Or create a bundle into public or compress it all and then 
put it into public?

Or am I missing something here?  Of course, this requires that you have 
access to public rather just through the admin.  (but then page 
attachments could help there).

Cheers,
Mohit.
11/6/2007 | 8:18 PM.





More information about the Radiant mailing list