"Add Expires Headers", "Use of a Content Delivery Network (CDN)", "Leverage browser caching", "Leverage proxy caching", ...
Did the Yahoo YSlow! plugin or the Google Chrome Developer Tools flash with some caching & CDN warnings?
Or even worse, does your web site collapse often or your data center's internet connection sometimes saturate from constantly serving static files?
Discover through this workshop how to use on your project the caching techniques of the big players of the Internet.
* Headers Http 'Expires' and 'Cache-Control'
** The theory: RFC 2616 - Hypertext Transfer Protocol -- HTTP/1.1 - Header Field Definitions - Cache-Control
** "cacheable content" versus "static content" : offer a new scalability to your web site,
** How to add caching headers with your web framework,
** ExpiresFilter: how to add caching headers to the static content of a java webapp,
* Apache Httpd mod_expires and NGinx HttpHeadersModule : global filters on web servers,
* Apache Httpd mod_cache and NGinx proxy_cache : the "quick wins" to add a caching proxy to your infrastructure,
* Varnish, the star of the caching proxies,
* Amazon CloudFront : the Content Delivery Network (CDN) made by Amazon AWS. It's simple, it's cheap and it works,
* Amazon S3, the other way to serve static content.
Bonus: deploy your webapp on Amazon Beanstalk, the Tomcat as a Service made by Amazon AWS.