adds caching to embeddable.html