Created
April 12, 2017 16:54
-
-
Save markyv18/163f492bacc335010fe00010eed43b0f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| What does it mean to concatenate files? Find an image of an example concatenated file. Why would we want to concatenate files? | |
| Smoosh all the style sheets and html together... one long stream of conciousness mashup | |
| https://i.ytimg.com/vi/kymoxCwW03c/maxresdefault.jpg | |
| What does it mean to precompile files? What does this have to do with coffeescript and sass files? | |
| make 'em faster... do shit before launch so compile process doesn't bog down load time? precompile the stylesheets to make them staticaly available upon full launch?? | |
| What does it mean to minify files? Find an image of an example minified file. Why would we want to minify files? | |
| minify = take out all unnecessary characters | |
| http://andygup.ipage.com/htdocs/WordPress/wp-content/uploads/2012/04/javascript-errors-with-no-meaning2_thumb.png | |
| for the comp to read and take a little bit of time off the rendering | |
| Start up the server for Catch ‘em All (rails s) and navigate to http://localhost:3000/assets/application.js. Then open up the code for application.js in your text editor. Why are these not the same? | |
| it's been compiled - ¯\_(ツ)_/¯ | |
| What is a manifest (in terms of the asset pipeline)? Where can you find two manifests in Catch ‘em All? | |
| In regular HTML files, we bring in css files with <link rel="stylesheet" href="application.css">. How is this done in a Rails project? Where do you see this line in Catch ‘em All? | |
| How is a digest/fingerprint used on the assets for caching purposes? | |
| Done? Take a look at RailsGuides: The Asset Pipeline. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment