Making the 'First Hard Thing' easy – HTTP Caching done right

By Theo van Hoesel (‎vanHoesel‎) from,,,
Date: Saturday, 3 December 2016 10:10
Duration: 20 minutes
Target audience: Intermediate
Language: English
Tags: caching dancer http lwp middleware plack rfc speed useragent

„Make easy things easy and hard things possible”
Lary Wall

„There are only two hard things in Computer Science: cache invalidation and naming things.”
Phill Karlton

The internet and the HTTP specs were specifically designed to allow responses to be cached. RFC 7234 is a 43page long specification on how to do it.

Unfortunately, there is a whole plethora of modules on CPAN that take the 'easy way' and make caching and cache invalidation very hard because of poor implementations.

With Perl, it is not about "making the first hard thing – cache and invalidation – possible" ... let's make it easy!

Attended by: Martin Berends (‎mberends‎), Peter Haworth (‎pmh1wheel‎), Marco Fontani (‎mfontani‎), James Raspass (‎Raz‎), Theo van Hoesel (‎vanHoesel‎), Smylers, Dagfinn Ilmari Mannsåker (‎ilmari‎), Ian Brierley,



Adzuna     CV Library     Eligo     geek University     magnum Solutions     OpusVL     Perl Careers     Science Photo Library     Shadowcat
      Systems Limited


Enlightened Perl Organisation     FlossUK     Perl6 Community     Perl Weekly