3

We are having static website. We would like to integrate our website with CDN like Microsoft Azure, Akamai or Cloudflare. Is it possible to serve Sitecore content pages from CDN or only we can serve Media items from CDN?

4 Answers 4

4

You could serve your content pages from any CDN which supports serving html.

Question is, do you want to do this and why?

Let's just think about 1 thing: Your client bought Sitecore, not wordpress. They most probably want to personalize, content test, use marketing tools. Will any of that be possible with pages being served from CDN? How can content be personalized if Sitecore is not hit with any request, except from the very first one which was used to generate the first html stored in CDN? It can't. And analytics? And content testing? They won't work.

Yes, sure. You can serve html from CDN. But if you want to do this, don't waste your money on Sitecore licenses.

1
4

Actually a product exists which supports to serve HTML from CDN (currently Netlify Edge) for Sitecore. It's called Uniform for Sitecore available here: https://uniform.dev/sitecore-netlify-stack. Here is the an image how it works, stolen from the website.

enter image description here

2
  • 1
    Something to note that it supports all marketing features, but it's not free. Mar 27, 2020 at 4:22
  • Thanks for your reply. Mar 30, 2020 at 6:57
1

You can serve the pages entirely from CDN and use FXM to track the analytics. Definitely it needs AJAX implementation to dynamically load the personalized content.

https://github.com/brimfulofashar/Sitecore-CDN

0

Sitecore recommends caching only the media items in CDN. There is a CDN.config available within App_Config\Include\Examples folder to enable CDN for a Sitecore application. If you still want to cache your static pages in CDN, make sure that you filter out the pages on which personalization is implemented using the regex in the caching rules in CDN.

2
  • I am using v8.2 . I am not able to see any CDN.config file in include folder. Mar 30, 2020 at 6:55
  • This config is available in Sitecore 9.
    – Ghanendra
    Mar 31, 2020 at 7:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.