Some of you are probably wonder, what does CDN stand for? It stands for ‘content delivery network’.   The trick I will be describing here is how to simulate a CDN. What we want to accomplish is having a free performance  increase and not spend any money on hardware. For the real and complete definition of a ‘Content Delivery Network’ [...]

In one of my previous blog posts I talked about using APC as an opcode cacher to speed up your site. I thought it was worth mentioning a second time. This greatly improves the performance. You can read more about the different opcode cachers and how to configure them here: http://blog.crazytje.be/php-opcode-caching-why-use-an-opcode-cacher/ Part 4 will talk about optimizing your php code [...]

Once your site begins to grow, it will most likely contain dozens of images, css and js files, and many other requests. Keep alives allows those requests to happen over the same tcp/ip connection. So what is keep alive exactly? As mentioned before, keep alive is an option in the apache config, this was added to the http protocol to [...]

This will be the first blogpost in a compilation of posts about optimizing your webserver. Everyone likes their website to go fast right?, So did I. Something that can give you an easy performance boost is gzip compression. This compresses the data that is being send to the user with mod_deflate(apache). Because of the way xml and html is structured, [...]

Recently a friend asked how to do a redirect with apache’s mod_rewrite if a part of the url’s query string matches. After allot of trail and error I came to a solution. Original Url: htpp://example.com/old/index.php?param1=first&param2=sometext In this url the param1=first is static so won’t change. The second parameter is not static, so it must not match this. Redirect it to: [...]

© 2011 Crazy's Blog Suffusion theme by Sayontan Sinha