5
votes
Accepted
Sitecore media library - unable to load large files ( > 8MB) via Azure Front Door
Azure Front Door and Azure CDN use the RFC-7233 implementation of Range header requests. (Source)
In Sitecore, the Media.EnableRangeRetrievalRequest setting is enabled by default. It is implemented ...
4
votes
Can we serve all the content pages from CDN instead?
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 ...
4
votes
Can we serve all the content pages from CDN instead?
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. ...
4
votes
Accepted
Sitecore with personalisation and CDN such as CloudFlare
I'm on a proof of concept for the same question at the moment this week.
What i'm doing:
1. no caching for personalisation
- Set Cache header for all pages ==> Hit from Cloudfront
- Set No Cache ...
4
votes
Updated media Item is not showing on the site due to caching set on CloudFlare/CDN
Adding a query string will fix your issue. But it will break all your analytics reports(For example you won't be able to track number of downloads for any given pdf etc)
I would utilise cloudflare ...
3
votes
Sitecore Media Request Protection errors with CDN enabled
I think that this is a bug in Sitecore.
Here's whats happening
When you enable the CDN config, it sets Media.AlwaysAppendRevision to true
This appends rev=xxx to all media urls
The media request ...
3
votes
CORS Error while downloading the fonts from the Azure CDN using Sitecore PaaS
To resolve the CORS CDN error , You would need to create a pipeline which adds the below request headers.This pipeline was written for Cloudfront on Amazon AWS instance , but the underlying logic is ...
3
votes
MediaLinkServerUrl per site
Custom code is necessary to achieve this since you want to generate media urls in different ways based on the context site.
Override the MediaProvider and provide config nodes to determine which ...
2
votes
Sitecore with personalisation and CDN such as CloudFlare
It truly depends on how the CDN is setup. The way we have done it is that its transparent and has nothing to do with Sitecore. If an image/asset (js/css/docs) are requested by the end user, the first ...
2
votes
Accepted
Why does Sitecore CMS UI trigger OWASP captcha when combined with Cloudflare?
After speaking to Sitecore Support I received the following answer. I hope this can help someone else experiencing the same situation.
Sitecore client/backend does not support running behind a CDN ...
2
votes
Updated media Item is not showing on the site due to caching set on CloudFlare/CDN
The simplest solution is to append an additional querystring parameter such as the updated date or revision id like in this previous answer I provided. You can do this by inheriting MediaProvider and ...
2
votes
CORS Error while downloading the fonts from the Azure CDN using Sitecore PaaS
You can add the following rewrite rule to your web.config to add the required header on font files. The benefit of this is that you don't need any extra code - IIS rewrite module is available by ...
2
votes
CDN images on EXM email generation
I could not find anything about EXM and CDN urls. I guess it is expected in the scaled environment, the EXM dispatcher would be on its own server witn CDN turned on.
For my CM environment, I added a ...
1
vote
Accepted
Set cache-control header to public
Cristi answer pointed me to right direction, however at the end I extended GetPageRenderingProcessor.
public class CustomBrowserCaching : GetPageRenderingProcessor
{
public override void ...
1
vote
Set cache-control header to public
In App_Config/Sitecore.config there is a processor defined for setting browsercaching <processor type="Sitecore.Pipelines.RenderLayout.BrowserCaching, Sitecore.Kernel" />
You can take ...
1
vote
Can we serve all the content pages from CDN instead?
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/...
1
vote
Sitecore Media Request Protection errors with CDN enabled
I stumbled across this while looking for a solution to the same issue and thanks to Mark's info I was able to get rid of the log spam by simply wrapping the GetMediaUrl in an extension method in which ...
1
vote
Accepted
Securing the Sitecore client on a single server setup with CDN
You can setup CDN normal way, but block access to the /sitecore on the CDN level.
Then add subdomain like cms.example.com that points to the same server but without CDN.
And you can setup ip ...
1
vote
Accepted
Request Entity Too Large Error from CDN When WFFM form Submitted
I got some help from one of my colleague about this issue
So basically the suggestion made by the hosting provider about Request Header size is incorrect.
There is a defined limit for Request ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
cdn × 17media-library × 5
azure × 4
caching × 3
security × 2
dianoga × 2
sxa × 1
sitecore-client × 1
jss × 1
experience-editor × 1
wffm × 1
sitecore-forms × 1
exm × 1
paas × 1
multisite × 1
processor × 1