Last Friday I watched a video by Rick Perreault on Conversion Rate Optimization (CRO). It’s something which many marketeers seamlessly forget, focussing mainly on the direct metrics without analyzing the actual process. CRO defines the process of converting a visitor on your website into an actual customer (CR campaign A= converted visitors campaign A/total visitors of campaign A). With techniques such as Google Analytics and A/B Testing you are able to acquire essential insights in how a visitor converts and how this process can be improved. Investing in your CRO can therefore be a very effective approach in increasing the campaign’s
Using cache expire headers can help you improve the speed of your website. The browser stores certain website elements in its cache and will keep loading them from its cache until they are remotely removed or the attached date is expired.
I myself use a simple code snippet in my .htaccess file to ensure all the filetypes I decide to attach an expire-header to are set in one and the same place. The code is set to all file-extensions mentioned in the code and you can manually add any filetype you want. Simply paste the following code to your main .htaccess file
Header set Expires
I have written about gzipping your stylesheets with php using the ob_gzhandler. But using this handler, it will not check for a compatible browser. Don’t get me wrong here, nowadays all browsers are capable of using gzip encoding, but for the older browsers like IE and past versions of our popular browsers this is a more compatible way.
Improving your website includes a few steps. In this article I will be discussing how to implent a php snippet that will gzip your css file to the browser. This little piece of code will be attached to your css files with the auto_prepend_file module in a little .htaccess file.
Note that if you have access to your apache server, there is an easy Gzip module that will do this trick for you. If you do wish to gzip through PHP there are several ways, this being one of them. In other articles I discuss different methods.
The first step is to copy the following code into a php