Sitecore Cookbook for Developers by Yogesh Patel

Sitecore Cookbook for Developers by Yogesh Patel

Author:Yogesh Patel [Patel, Yogesh]
Language: eng
Format: azw3
Publisher: Packt Publishing
Published: 2016-04-29T04:00:00+00:00


The second task of this recipe was creating our custom media provider that modifies the media URL by appending the CDN domain name. For this, we created a hook to override Sitecore's default MediaProvider with our own CDNMediaProvider.

There's more…

We can also use the domain sharding technique to split resources across multiple domains. This means that website resources will get served through multiple domains. Using domain sharding, browsers will be able to download more resources simultaneously, resulting in a faster user experience. Refer to https://goo.gl/m1mgBq to know more about it.

For domain sharding, you can prepare an algorithm that will assign a domain name to each media item's URL based on the item ID or media ID.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.