Glance-Bookmarklet
Glance-Bookmarklet copied to clipboard
minify files
Smaller files = faster downloading, better caching Loads of online & scriptable minifers. HTML is a bit more rare; try kangax/html-minifier or Moveo/minimize. Best if you use a condensed top-line banner.
My personal preference is that the minified versions are named spritz.js
& spritz.css
& sources are spritz.src.js
& spritz.src.css
; saves a few bytes.
Might be better to insert the CSS inside the HTML, since the CSS is so small & not worth a 2nd download IMHO. Maybe even insert all into the JS, either by hand or via browserify. But still have to ensure they all are minimized.
This is not a bad idea, however, I strongly favor code quality and maintainability over micro-optimization, so I don't like mixed HTML and CSS and things like that.
This is definitely something which would be factored into the 1.2 release pipeline though.
I strongly favor code quality and maintainability over micro-optimization
They are not exclusive; develop in separate files, then concatenate/minify at final release. Many projects do this. Many build tools to help out with that if you don't want to do by hand.
Yes, I agree. This will be done for 1.2.0 release.