this is the low-level thing. i link to FOSHttpCache for this one.