Posts

Showing posts from May, 2012

SharePoint 2010 Stop .debug.js files from downloading

http://sharepoint.stackexchange.com/questions/13455/can-all-the-layouts-xxx-debug-js-files-not-be-served-to-end-users 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.js core.debug.js sp.debug.js sp.ribbon.debug.js init.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 Love   May 26 '11 at 18:25