PJAX: Speed up every link on every page

This is one of the most amazing jquery functions I’ve seen in a while. It loads your HTML or content that is dynamic without reloading the unchanged bits, making page loads lightning fast. ON that, does anyone know the speed of lightning (and no, Cars 2 is not what I’m asking)? You’ll need jquery included [...]

PHP: Gzip compression made easy

If you want to speed up your php pages with minimal trouble and maximum results, do this: Source: [Webcodingtech] Put this code in your main header or template file, before EVERYTHING, even doctype. <?php function print_gzipped_page() {   global $HTTP_ACCEPT_ENCODING; if( headers_sent() ){ $encoding = false; }elseif( strpos($HTTP_ACCEPT_ENCODING, ‘x-gzip’) !== false ){ $encoding = ‘x-gzip’; [...]

ASP.NET: Nested Web.config files in conflict

If you have a child app configured in IIS, and you don’t want the web.config of the parent application to affect your child app, here is how you tell the parent app’s config file to go chill down by the river alone. Example: blah.com/web.config

WordPress: GeoLocation JS Plugin

Have you ever needed to change a background image based on the state or IP address the visitor comes from? Here is the fastest, easiest, and most effective WP Plugin for that. I was blown away with how fast I got what I needed. This uses the very awesome MaxMind GeoIP web service. WP GeoLocation [...]

IIS: HTTP Error 500.19 – Internal Server Error

If you’ve ever seen this error, you probably pulled your hair out (if you still have some) and can’t figure out why IIS won’t just serve up your page. What is this madness about “There is a duplicate ‘system.web.extensions/scripting/scriptResourceHandler’ section defined” nonsense? Well, this is one of those things that is super simple to fix [...]

HTML: Remove blue border on links with images

Sick of that blue or purple box around your linked images? Here’s how to kill that stubborn thing. Simply place this bit of code in your CSS file or inside tags inside the head tags on your page. This applies the transparent “color” to all the states of a link, visited is usually purple, hover [...]