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?

5

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.

| improve this answer | |
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

| improve this answer | |
  • 1
    Something to note that it supports all marketing features, but it's not free. – Mark Gibbons Mar 27 at 4:22
  • Thanks for your reply. – Jitendra Ghanekar Mar 30 at 6:57
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.

| improve this answer | |
  • I am using v8.2 . I am not able to see any CDN.config file in include folder. – Jitendra Ghanekar Mar 30 at 6:55
  • This config is available in Sitecore 9. – Ghanendra Singh Mar 31 at 7:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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