As I understand it, the caching stuff simply looks for all files in  
(e.g.) public/stylesheets and concatenates them into a single file,  
called all.css (or all.js, for the javascript files). Thus, if you  
were to create a task that did a "cat *.css > all.css" and then  
copied that to your asset servers...it might work. Nothing is ever  
simple when it comes to production environments, but that might give  
you a start.

- Jamis

On May 20, 2007, at 11:03 AM, Josh Peek wrote:

>
> The new javascript and stylesheet caching feature of edge it pretty
> sweet.
>
>   <%= stylesheet_link_tag :all, :cache => true %>
>
> However, it makes it hard to use an asset server. Is there anyway to
> automate the generation of the cached javascript and stylesheet files
> from capistrano?
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to