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¶m2=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: [...]
Oct 182009
Why use an opcode cacher? When users surf to the website(s) hosted on your machine, the php files are compiled each time. Compiling the php code you worked so hard to develop takes time, and the more files you have, the longer it takes. This is especially the case when using PHP frameworks(personally I use CakePHP) or when using a [...]