Configuring an MVC3 application using jquery?

I am trying to customize my MVC3 application which uses many jquery libraries including jqGrid.
I would be interested to hear your best practices and performance recommendations and tricks, if any. What do you usually do for the "majority" of MVC3-based applications as given.

thanks

+6
source share
3 answers

Description

If configured means a better download, you can do these 3 things. You can optimize load times up to 80% using these methods.

I suggest using Fiddler2 to see how your changes are implemented.

  • you should compress and merge javascript files.
  • you should use the OutputCache attribute if possible
  • you should remove unused ViewEngines

Example

Additional Information

+2
source

Following the recommendations of Yahoo , this is a great way to optimize and speed up the site. Some of the tips are very easy to implement and can bring significant performance gains.

Google has also posted some great resources , which I urge you to read.

+1
source

Combining and minimizing your scripts is a great start to reduce the size of your response and the number of requests. Also, be sure to include non-paid plugins and code that will not be used on certain pages ...

Related article:

http://www.hanselman.com/blog/TheImportanceAndEaseOfMinifyingYourCSSAndJavaScriptAndOptimizingPNGsForYourBlogOrWebsite.aspx

To tune server-side performance, check out the Mini Profiler tool created and used by SO:

http://code.google.com/p/mvc-mini-profiler/

+1
source

Source: https://habr.com/ru/post/904681/


All Articles