This is a migrated thread and some comments may be shown as answers.

RadEditor not loaded after Using CloudFlare (Reverse Proxy)

1 Answer 143 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Vinix
Top achievements
Rank 1
Vinix asked on 27 Jun 2012, 03:36 AM
Recently I start using CloudFlare for my web site. After 1 day, I found that all pages with RadEditor failed to load the editor, displayed javascript error: Sys.InvalidOperationException. Some controls in Ajax Control Toolkit also failed as well.

Since CloudFlare works like a reverse proxy, I thought this is the cause. Disable the service for this site worked around the problem, but how to make RadEditor work under reverse proxy?

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 29 Jun 2012, 12:51 PM
Hello,

The problem is most likely due to that the proxy server is cashing the handlers and makes them invalid. For this reason the controls are unable to load their scripts and resources and do not work.

To fix it you can exclude the Telerik specific handlers from the proxy caching OR use enable the CDN scripts as explained in the following help article: CDN Overview, e.g.

<telerik:RadScriptManager
    ID="RadScriptManager1"
    runat="server">
    <CdnSettings TelerikCdn="Enabled" />
</telerik:RadScriptManager>


All the best,
Rumen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Editor
Asked by
Vinix
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or