Today my colleague @alinulms and I had the “fun” task of updating an old Sitecore 6.5 to version 7.2. Actually we really want to upgrade the solution to Sitecore 7.5 but we are still waiting for Sitecore. I really hope 7.5 will be officially released any time real soon. I’ve upgraded Sitecore installations at least a trillion […]
Month: September 2014
Azure API Management and output cache policies
I am writing this post because I was one day confronted with the situation when I had to move a whole bunch of HTTP Services to be called via Azure API Management. These services were serving mobile calls from both iOS and Android devices. All nice and well but the problem I got was that some of […]
An involuntary lossless image compression by Sitecore
This is a small bonus post following my post series about responsive images in Sitecore. When you load a JPEG image in .NET into a Bitmap and then draw it on another Bitmap then you will notice that the original image is sometimes bigger than the new one. How can that be.. This is because .NET does […]
Make Sitecore deliver images which fits the screen, part 2
This is the second part of a mini-series where I show how you can make Sitecore deliver images that fully support a responsive web design. See the first post here if you haven’t read it already. In this part I will show how to make Sitecore center-crop images through the media handler using query string […]
Make Sitecore deliver images which fits the screen
When implementing a responsive design the size of images is almost always an issue. You want the images to be resized server-side so they fit the screen. Primarily for performance but also to please Google Page Speed. Sitecore enables us to set the width and height dynamically by sending query parameters to the media handler. My […]
How to gzip svg files in ASP.NET
My previous post showed how to gzip svg files served by the Sitecore media library. This is fine if all svg files reside in the media library but this is typical not the case. In this post I will show how to gzip compress any svg files served by your ASP.NET solution. As I explained in my […]
How to compress SVG images from the Sitecore media library
This blog post is long overdue. The code was written some time last year when I started my still on-going fight with Google Page Speed. When Sitecore deliver svg files from the media library there is no out-of-the-box approach for gzipping the media content and setting the Content-encoding response header to gzip. Gzipping the svg media content First […]