Roger Farrell
Joined
30 Experience
0 Lessons Completed
0 Questions Solved
Activity
Posted in development env: is the asset pipeline expected to compile all assets or just those in demand?
In development, the asset pipeline typically compiles only requested assets and their dependencies. If it's compiling all assets, it could be due to:
Manifest Configuration: Broad directives like require_tree . in manifest.js might load everything.
Dependencies: A requested asset may depend on others, triggering additional compilations.
Configuration Flags: Certain settings might force precompilation.
To fix this:
Simplify manifest.js to include only necessary assets.
Enable debugging (e.g., config.assets.debug = true in Rails) to load assets individually.
Precompile large, infrequently changing assets if needed.
snow rider
Posted in Video Sync Cron Job Discussion
quite cool! Regards for sharing.
really cool! I appreciate you sharing.