Added possibility to replace stuff in html before saving to cache.

Solves a bug in which values of last comment-author are saved to cache and exposed to other visitors.