Comments (2)
Currently I don't have plans to implement this. It is difficult to do, because there are a lot of factors that can affect how assets are compiled. For example, even if the asset files themselves haven't changed, upgrades to gems or changes to app configuration can affect the compilation step.
I assume that your goal is to speed up deployment times? In that case there are some things you can do to improve the speed of the rake assets:precompile
task:
- Make sure these directories are in
:linked_dirs
:tmp/cache
,public/assets
. - Install bootsnap to speed up Rails boot
In my case, for a medium-sized app, the rake assets:precompile
task runs in 2-3 seconds if no assets have changed.
from rails.
I see. That was a fair point. Thank you for the explanation. @mattbrictson
from rails.
Related Issues (20)
- Not compiling webpacker assets on deployment HOT 7
- Rollback a webpacker project without sprockets fails
- deploy assets precompile always failed though i already set rails_env to production HOT 13
- Application is running in Production instead of Staging HOT 4
- LoadError: cannot load such file -- capistrano/rails HOT 5
- Update Dependency for capistrano-bundler
- Task deploy:migrate exists with SystemStackError (version 1.6.0) HOT 7
- Timeout during `deploy:compile_assets` HOT 2
- How about conditionally compiling assets?
- getting folloiwng issue in jenkins. capistrano deploy is stuck at compiling forever
- Asset cleanup HOT 3
- Rails 7 + Capistrano HOT 1
- Use `bin/rails` rather than `rake` for deployment tasks HOT 2
- Capistrano fail to deploy rails app due to incompatibility with OpenSSL 3.0 HOT 1
- Support for propshaft HOT 4
- Feature request: Be able to change assets:precompile CPU priority HOT 1
- The deploy doesn't create node_modules and raises Sprockets::FileNotFound (after upgrading to rails 7) HOT 3
- Deprecated method 'exists?' for File:Class in ruby 3.2.0 HOT 1
- `cap doctor` erroneously reports that `:keep_assets` is an unrecognized setting HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rails.