is basically just another take on improving browsing experience across the ever-growing multitude of web enabled devices. It can help you preserve your visitor's bandwidth by shrinking your website's images and CSS files to fit the device-specific limitations.
squeezr can easily be applied to any website that meets the requirements – be it a collection of plain HTML files or rendered by a full-blown CMS – and does not require any remarkable change to your source code. As a means of responsive web design it is to be used in combination with fluid image techniques.
What squeezr does
Currently squeezr consists of two engines that can be used independently of each other:
The image engine automatically resizes images so that they don't exceed your visitor's screen size. The resulting image variants get cached to disk for optimized follow-up request performance.
squeezr's image engine is heavily inspired and influenced by Matt Wilcox' Adaptive Images. At the same time, squeezr tries to overcome some drawbacks of Matt's approach.
The CSS engine creates and caches device-specific CSS file variants by stripping out irrelevant CSS3 media query sections on the server side before delivering them to the client. Optionally also CSS minification can be applied as well (using external libraries like e.g. Minify), potentially reducing CSS file size even further.
You can find a complete description of squeezr's functions and configuration options at http://squeezr.it.
- Download the latest version from here or from the squeezr website and unpack the archive locally on your computer.
- Customize the 3 configuration files (common / global settings file and one for each of the engines)
/squeezr/conf/*to your needs if necessary or desired.
- Upload the
/squeezrdirectory to your website root and ensure that the webserver has write privileges for this directory.
- Upload the included
.htaccessfile to your website root only in case you don't already have a file named alike. Otherwise, thouroughly incorporate the contained rewrite rules into your existing
Please visit the squeezr website for further instructions and configuration options.
- On the client side:
- Cookie support
- On the server side:
- Apache 2.2+ with mod_rewrite
- PHP 5.3+
- GD (Image engine only; mostly standard with PHP)