Using Javascript to Make Relative Times Work With Caching

A great idea from the folks over at 37 signals.

It’s easy to think that the relative-time style of “this comment was written 15 minutes ago” is incompatible with caching. How are you supposed to cache something if the text changes every minute? Static pages with JavaScripts, that’s how!

full post.

Update: Looks like this type of idea has been around for a while (I’d just never thought of it before)! :D

Spread the Word
  • Twitter
  • del.icio.us
  • Digg
  • Facebook
  • Google Bookmarks
  • Reddit
  • NewsVine
  • Slashdot
  • connotea
  • HackerNews
  • Print
  • email

0 Responses to “Using Javascript to Make Relative Times Work With Caching”


  • No Comments

Leave a Reply