SDCH looks to be going after a similar problem, but it would cache the templates between browsing sessions rather than just among consecutive pageviews. I'm not sure how well it would work for AJAX-y sites which rely on maintaining Javascript state, though, but potentially you could still use, e.g., localStorage for that purpose.