November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
Hmmm.. this post really received a screwed layout. Maybe you should look into that as well ;)
I've got a module that handles this, but only for images. Maybe you can extend that? I just uploaded it here: https://github.com/torjue/EpiCdnHandler . It just handles images, but feel free to add support for any media types. I will create a nuget package for it soon.
When using the UrlHelper extension Url.ContentUrl(this UrlHelper urlHelper, ContentReference contentLink) I get a url in the form http://domain/globalassets/file.txt. As this is static content it gets cached by most browsers. If an editor edits the file.txt file and decides to replace the existing file when uploaded to the assets manager, the url will still be same. Whouldn't it be better if updated static files gets a query parameter appended (e.g. http://domain/globalassets/file.txt?v=123456789) in order to trigger a refresh by the browser?