JavaScript

  • Using minified CSS and JavaScript files everywhere in SharePoint 2010

    In my previous post I showed you how you can automate minifying JavaScript and CSS files in Visual Studio 2010. As I also mentioned, SharePoint has limited support for using minified files. But just because something is not available out of the box doesn't mean it's not possible. Find out how to leverage the extensibility capabilities of the SharePoint 2010 platform and support using minified CSS and JavaScript files everywhere.

  • Minifying JavaScript and CSS files made easy with Mavention SharePoint Assets Minifier

    Minifying asset files is a known performance optimization technique. By removing all optional characters you can decrease the size of CSS and JavaScript files and make them download faster. Depending on how big your solution is this process might get tedious when done manually and this is exactly where Mavention SharePoint Assets Minifier can help you out.

  • Prefetching SharePoint search results

    Prefetching content allows users to access it more quickly what improves the user experience. Find out how to prefetch SharePoint search results and cut down your users’ waiting time.

  • Sample code: Asynchronously checking if a Ribbon command is available

    While extending SharePoint 2010 Ribbon with new functionality one of the common things you do is to check whether a command should be enabled or not. Since the checking function expects you to return a value it can get tricky if your custom checking operation is asynchronous. Find out how to asynchronously check if a Ribbon command is available.

  • How we did it: mavention.nl – Part 2a: Dealing with minified files

    In the previous part of the How we did it series about our new website I told you about how we optimized our website for performance. One of the optimization techniques that we applied was minifying asset files such as CSS and JavaScript. While minification allows you to decrease the size of files it has one serious disadvantage: it often makes them unreadable. So how did we deal with it?