ARCHIVES

PHP and .htaccess Redirects

February 10, 2010

The 2 most comment types of redirects are the permanent redirect (301) and the temporary redirect (302). There are some other types of redirects, but for the most part you should never need to use them. Introduced in HTTP 1.1 is a new temporary redirect (307). For now I would stay away from using it [...]

Enable Gzip in .htaccess with mod_deflate

January 16, 2010

There are a few different ways to go about compressing your javascript and CSS files. Most of them require you to edit your.js and .css files to include some PHP to compress the files.  Another common method has you create a PHP file that will include all of the .js or .css files and then [...]

punypng: PNG Image Optimization and Compression

September 16, 2009

punypng is a PNG optimization image compression tool that makes PNG, GIF and JPEG images smaller, developed by Gracepoint Fellowship Church. It is the latest in the line of image compression tools. I used to run all of my image through Smush.it but now I use punypng. I’ve found that punypng was able to compress [...]