Sent from my iPad
> On 24 Nov 2014, at 17:15, richard schneeman <richard.schnee...@gmail.com> > wrote: > > > Serving in milliseconds > > This is because sprockets doesn't generate hashes, remove whitespace, > compress javascript, or compile all JS to one file. > > If you don't need any of those things then don't use the asset pipeline, > store your assets in `/public` and serve them individually. We do make use of the asset pipeline, quite heavily, and dev mode does put all assets into a single file. This is why I'm unsure why minify and hash should take so much time. The asset compile takes minutes in production. > > > Likely because you do not have an asset/sprockets cache configured. > > http://blog.alexmaccaw.com/faster-deploys > > If you are deploying to Heroku > > DO NOT USE http://blog.alexmaccaw.com/faster-deploys on Rails 3 > DO NOT USE http://blog.alexmaccaw.com/faster-deploys on Rails 3 > DO NOT USE http://blog.alexmaccaw.com/faster-deploys on Rails 3 > DO NOT USE http://blog.alexmaccaw.com/faster-deploys on Rails 3 > DO NOT USE http://blog.alexmaccaw.com/faster-deploys on Rails 3 > > For the love of god and all that is holy. It will break your application, > maybe not today, maybe not tomorrow, but eventually. If you missed it: > > DO NOT USE http://blog.alexmaccaw.com/faster-deploys on Rails 3 > > This is because Rails 3 has issues with caching and elements __may__ not be > cleared properly. If you're deploying Rails 4 assets on Heroku we cache these > for you and the double caching actually SLOWS down your application. > > > > 2014-11-24 11:04 GMT-06:00 Bráulio Bhavamitra <brau...@eita.org.br>: >> Hello Ken, >> >> This is not good enough as the rails server is going to be reached for each >> asset request. You want nginx or another server to serve assets. >> >> cheers, >> bráulio >> >>> On Mon, Nov 24, 2014 at 2:00 PM, Ken Collins <k...@actionmoniker.com> wrote: >>> >>> Likely because you do not have an asset/sprockets cache configured. >>> http://blog.alexmaccaw.com/faster-deploys >>> >>>> On November 24, 2014 at 11:58:40 AM, Jonathan Lozinski >>>> (jonathan.lozin...@gmail.com) wrote: >>>> >>>> It's interesting that you mention that. In development mode (with debug >>>> assets off) the consolidated assets build and serve in milliseconds. I'm >>>> still unsure as to why the asset pre-compile takes so long. >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Ruby on Rails: Core" group. >>> To unsubscribe from this group and stop receiving emails from it, send an >>> email to rubyonrails-core+unsubscr...@googlegroups.com. >>> To post to this group, send email to rubyonrails-core@googlegroups.com. >>> Visit this group at http://groups.google.com/group/rubyonrails-core. >>> For more options, visit https://groups.google.com/d/optout. >> >> >> >> -- >> "Lute pela sua ideologia. Seja um com sua ideologia. Viva pela sua >> ideologia. Morra por sua ideologia" P.R. Sarkar >> >> EITA - Educação, Informação e Tecnologias para Autogestão >> http://cirandas.net/brauliobo >> http://eita.org.br >> >> "Paramapurusha é meu pai e Parama Prakriti é minha mãe. O universo é meu lar >> e todos nós somos cidadãos deste cosmo. Este universo é a imaginação da >> Mente Macrocósmica, e todas as entidades estão sendo criadas, preservadas e >> destruídas nas fases de extroversão e introversão do fluxo imaginativo >> cósmico. No âmbito pessoal, quando uma pessoa imagina algo em sua mente, >> naquele momento, essa pessoa é a única proprietária daquilo que ela imagina, >> e ninguém mais. Quando um ser humano criado mentalmente caminha por um >> milharal também imaginado, a pessoa imaginada não é a propriedade desse >> milharal, pois ele pertence ao indivíduo que o está imaginando. Este >> universo foi criado na imaginação de Brahma, a Entidade Suprema, por isso a >> propriedade deste universo é de Brahma, e não dos microcosmos que também >> foram criados pela imaginação de Brahma. Nenhuma propriedade deste mundo, >> mutável ou imutável, pertence a um indivíduo em particular; tudo é o >> patrimônio comum de todos." >> Restante do texto em >> http://cirandas.net/brauliobo/blog/a-problematica-de-hoje-em-dia >> -- >> You received this message because you are subscribed to the Google Groups >> "Ruby on Rails: Core" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to rubyonrails-core+unsubscr...@googlegroups.com. >> To post to this group, send email to rubyonrails-core@googlegroups.com. >> Visit this group at http://groups.google.com/group/rubyonrails-core. >> For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-core+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-core@googlegroups.com. Visit this group at http://groups.google.com/group/rubyonrails-core. For more options, visit https://groups.google.com/d/optout.