May 11 2010

Episode 68: Intro to Caching

Play

Cache your pages to reduce latency and conserve bandwidth.

News and Follow-ups – 00:40

  • Mark sold his soul to Steve Jobs and got a Mac

Geek Tool – 07:41

Webapps – 09:58

  • PicGhost – Mass image editing via the web
  • iPadPeek – See what your sites will look like on an iPad

Topic – 14:42

  • Caching
    • What is caching?
    • Why?
      • Reduce latency
      • Reduce network traffic
    • Headers
      • Last-Modified
      • Expires
      • Cache-Control
        • no-cache
        • no-store
        • no-transform.
        • must-revalidate
        • proxy-revalidate>
        • max-age<
        • cache-extension
        • public
      • Etags
    • Don’t change files unnecessarily. ¬†For example, don’t re-upload your entire site when you only change a few files as you will have a falsely young last-modified tag.
    • Strategies
      • Set far future expire headers
    • Data caching
      • memcached – A big giant key/value memory store
    • Caching while developing
      • A word of wisdom
    • Tools