1611 shaares
17 private links
17 private links
3 results
tagged
compression
unassertify
- Removeassert()
callsenvify
- Replace environment variables—by default, replacesNODE_ENV
with"production"
uglifyify
- Remove dead code from modulescommon-shakeify
- Remove unused exports from modulesbrowser-pack-flat
- Output a "flat" bundle, with all modules in a single scopebundle-collapser
- When using the--no-flat
option, bundle-collapser replaces file paths inrequire()
calls with short module IDsminify-stream
- Uglify the final bundle
[browser-pack-flat][] and [bundle-collapser][] are both not used if the --full-paths
option is passed to Browserify.
This way you can still get all of tinyify's other optimizations when building for [disc][].
I have lots of images in png format (over 250k+ png). Properly formatting and compressing png images can save many bytes of data. How do I compress and optimize png images on my amazon cloud account so that I can save bandwidth on cloudfront cdn account? How do I use an image compressor to create lossless compression on PNG files, with no effect on image quality in bulk using Red Hat Enterprise Linux bash shell?
The following image format is recommended and used by big web sites such as Google / Yahoo / Amazon / Facebook etc:
1 PNG file format is recommended for web.
2 GIF file format is recommended for small size images.
3 JPG file format is recommended for high resolution photographic-style images.
4 Do not use BMPs or TIFFs.