Maybe mention in the comment that a change here also needs a change in html_cache_restore.js?  Also, I don't understand why you are bumping the rev here unless it's just a hacky way to force the cookies to get ignored when you're developing.  Maybe a changelog in the comment if you're not doing the hacky thing?