Safely Removing Image Assets from Rails
29-Oct-2019 1752
Why would we want to more safely delete image assets?a clean repo is easier to jump into and maintain over timecruft that isn’t in use can be confusing over timeimage assets can slow down your test and deploy pipelineRails tests frequently need to dynamically or initialize building all assets, this is often a slow hit on a Rails test suiteDeployment needs to work with assets as well, often multiple stepsbuilding all assets rake assets:precompilecompressing asset bundleuploading assets to a CDNAll of this time adds up, assets compilation on a large legacy Rails app still adds around 40 seconds to the build time, down from 1m30s in the past. While asset preparation and deployment before cleanup and optimization of that flow and files was adding over 3 minutes to our deploy time.
Safely Removing Image Assets from Rails #ruby #rubydeveloper #rubyonrails #Safely #Removing #Image #Assets #Rails #assets https://rubyonrails.ba/link/safely-removing-image-assets-from-rails