Showing posts from May, 2012

SharePoint 2010 Stop .debug.js files from downloading

When I view my SharePoint site I see a lot of .debug.js files being added by SharePoint. Is there a way to stop this happening. cui.debug.jscore.debug.jssp.debug.jssp.ribbon.debug.jsinit.debug.js they account for around 400k of the page download.
Gotcha, in your masterpage, set the ScriptMode to Release, so that it looks like this: <asp:ScriptManager id="ScriptManager" runat="server" ScriptMode="Release" EnablePageMethods="false" EnablePartialRendering="true" EnableScriptGlobalization="false" EnableScriptLocalization="true" /> – James LoveMay 26 '11 at 18:25