Caching improvements.

- Add Varnish config files.
- Use better cache-related headers to ensure browsers cache images locally.