Media formats can be cached again.

Encode the media filter tag into an inline macro that is rendered when the content is viewed.