added filter option to change html on the fly after compilation, before caching