Javascript cache library tutorial. Also by default any browser should cache static content.