3 ms·
> I also think it's a bad idea to enable asset compilation in production. I don't see where the article recommended that. The article (and the Rails Guides) se
by pjungwir 14y ago
> I also think it's a bad idea to enable asset compilation in production.
I don't see where the article recommended that. The article (and the Rails Guides) seem to be pre-compiling for production. This is the standard & recommended practice.
- Finbarr 14y agoYes, the articles and all of us in the comment thread are recommending pre-compiling. There's a rails configuration option that enables run-time compilation of uncompiled assets - this is referred to both in the rails guide and in the linked HN article. It is not recommended for performance reasons.