[#40715549] add a way to enable caching links, don't embed javascript