Closed AstuteMediaDev closed 5 years ago
This library does not contain a cache, hence why there is no documentation on caching. It implements the IFileSystem interface from Umbraco, nothing more.
FYI for any other confused newcomers see the AzureCDNToolKit by Jeavon:
https://github.com/CrumpledDog/Umbraco-AzureCDNToolkit
It builds on the aforementioned packages and provides extension methods to render cdn urls.
Hi guys please excuse me if this is documented somewhere. I can't find a detailed explanation of how these three component work together and the behaviour we're seeing after set up doesn't seem right.
Environment
UmbracoCms 7.5.14 ImageProcessor 2.7.0.100 ImageProcessor.Web 4.10.0.100 ImageProcessor.Web.Config 2.5.0.100 ImageProcessor.Web.Plugins.AzureBlobCache 1.5.0.100 UmbracoFileSystemProviders.Azure 1.0.3 Azure storage account (Standard/Hot, GRS, StorageV2 (general purpose v2), container access level Blob) Azure cdn - Standard Microsoft (cache query strings true)
Configuration files (see end)
Observed behaviour
Our requirements are basic. We have an international site and need to serve mostly images and a few large mp4 files from cdn.
When we request a page with a full range of assets we see this behaviour:
Images with IP query string return 302 to the cdn. We see caching occur in the 'cache' blob container. OK makes sense.
Images without IP query string return 200. Unsure this is correct. Should these not also 302 to the cdn?
mp4 files are range requested and return 206 but are never cached, they are downloaded on each page load. This can't be correct and defeats the point of the cdn. We previously used a web.config clientCache setting when serving straight from IIS and the mp4 file were cached and loaded from disk on the client.
TIA it's quite confusing for a newcomer.
Configuration files
security.config
cache.config
filesystemproviders.config