We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Slow page loads when referencing ej2.min.js

Thread ID:

Created:

Updated:

Platform:

Replies:

142900 Feb 23,2019 05:30 PM UTC Mar 1,2019 09:57 AM UTC Angular - EJ 2 1
loading
Tags: General
Stephen
Asked On February 23, 2019 05:30 PM UTC

I followed the instructions in the documentation for my .NET Core MVC application by adding the to the head of my _Layout file. I'm not using any controls at the moment and simply looking at how long page loads take with and without the script. The difference is significant. Seems to add 3 seconds for every page (even if I revisit the same page). Shouldn't this file be cached? Is there a better way of injecting this script to support the various controls that will end up getting used?

Jayakumar Duraisamy [Syncfusion]
Replied On March 1, 2019 09:57 AM UTC

Hi Stephan, 
 
We suggest you use CRG (Custom Resource Generator) where you can generate the script files of required component. This may reduce the file size as the script files of unwanted components will not be included also the page loading will be faster. We have provided the CRG link below for your reference. 
 
 
We also would like to inform you that gzip request can also reduce the file size. 
 
Regards, 
Jayakumar D 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;