Thursday, April 16, 2015

Minimal download strategy in SharePoint 2013

This feature introduced by SharePoint 2013 Minimal download strategy improved the SharePoint Site performance:
1.navigation,
2.fast rendering on client browser
3.It also reduces the SharePoint page load time, because it loads only a part
of a page which is been modified rather than getting a duplicate data from server.
This feature automatically activated by on SharePoint Team Sites
User can do deactivate this feature at site collection level.

Go to Site Settings -> Manage Site Features - >
Find Minimal Download Strategy Feature - > Click on Deactivate.


Uninstall the Minimal download strategy powershell Script

Uninstall-SPFeature MDSFeature -Force -Confirm:$false

Minimal download strategy Feature location in 15 hive directory

# backup current Feature XML
$xmlmpath = "C:\Program Files\Common Files\microsoft shared\
Web Server Extensions\15\TEMPLATE\FEATURES\MDSFeature\feature.xml"
Copy-Item $path "$xmlpath-orig"
# mo DLL assembly detail [xml] $x = Get-Content $xmlpath
$x.Feature.RemoveAttribute("ReceiverClass")
$x.Feature.RemoveAttribute("ReceiverAssembly")
$x.Save($xmlpath)
Minimal download strategy Install Feature in Configuration Database

Install-SPFeature MDSFeature
Enable Powershell Script in minimal strategy Feature
backup current Feature XML
$path = "C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\FEATURES\MDSFeature\feature.xml"
Copy-Item "$path-orig" $path -Force -Confirm:$false
Install minimal strategy Feature

Install-SPFeature MDSFeature

No comments:

Post a Comment