ravi sharma

ravi sharma

  • NA
  • 87
  • 16.7k

Website working slow after version upgrade

Sep 22 2016 10:50 AM
Hi All,
 
We were using sitecore CMS 7.2 and now upgraded to sitecore 8.1. During this upgradation,
We have upgraded mvc version from 4.0 to 5.2.3. Before we were using visual studio 2012 and now using visual studio 2013. The website in old version was loading the page within 4 second but after upgradation it is loading the page in 15 seconds. Following are the versions changed during the upgrade.
 
Before
-------------------------------- 
<compilation defaultLanguage="c#" debug="true" targetFramework="4.5">
<assemblies>
<add assembly="System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add assembly="System.Data.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
<add assembly="System.Web.Helpers, Version=2.0.0.0, Culture=neutral,PublicKeyToken=31BF3856AD364E35" />
<add assembly="System.Web.Mvc, Version=4.0.0.0, Culture=neutral,PublicKeyToken=31BF3856AD364E35" />
<add assembly="System.Web.WebPages, Version=2.0.0.0, Culture=neutral,PublicKeyToken=31BF3856AD364E35" />
<add assembly="System.Data.Entity.Design, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
</assemblies>
</compilation>
 
After
------------------------------------------
<compilation defaultLanguage="c#" debug="true" optimizeCompilations="true" targetFramework="4.5.1">
<assemblies>
<add assembly="System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Data.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Web.Helpers, Version=3.0.0.0, Culture=neutral,PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Web.Mvc, Version=5.2.3.0, Culture=neutral,PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Web.WebPages, Version=3.0.0.0, Culture=neutral,PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral,PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Web.Http, Culture=neutral,PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Web.Http.WebHost,Culture=neutral,PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Net.Http.Formatting, Culture=neutral,PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Data.Entity.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
</assemblies>
</compilation>
 
Please suggest if anyone knows the reason.
 
Thanks and Regards,
Ravi Sharma 
 
 
 
 
 

Answers (1)