HTTP Response Status Codes: Cheat Sheet: AJAX, RESTFul responses

When building a front-end to an app, site, or whatever have you. It’s likely good to build it up with standards everyone practices. Assuming that there is an off chance you want to expose your API’s to the world eventually, and even if not, its just good practice. Below is a just a simple cheat sheet of http response status codes and why they are often used

Continue reading

Google Chrome clear/reset DNS Cache

It didn’t occur to me until recently, and its less likely anyone will really ever have a need for clearing the DNS Cache in Google Chrome. But if your like me and you just recently updated nameservers for your domain (maybe even more then once in a 24 hour period). Then you might notice despite all your attempts to clear the history, cookies, and all else. Even restarting your browser. Or even more extreme, flushing your OS’s DNS and your router’s (if you have a router). Despite all that the domain in question just fails to open in the browser. Well, today after a little digging I have found that Chrome has its own built in internal DNS Cache mechanism.

That said to access this built in DNS Cache to clear it out you need to access it like one of the many hidden gems Chrome or anything Google for that matter built in. You have to go to the following URL.


Once you’re in there all you need to do is look under the first table for a button that has text to the effect of “Clear host Cache”. Clear that, restart he browser and you should hopefully pending other upper level DNS / Hosting issues are blocking you, be able to finally access that site.

Internet Explorer (IE) 6, 7, 8, 9, 10, 11 on Mac for Web Developers and those shackled to IE


Well finally figure a legal way out to testing all my browser needs on my projects while saving on my electric bill. All without having to also format various machines and update them per the needs at the time. Through the use of my good old friend VirtualBox I can now have various flavors of Windows from XP up. Containing versions of Internet Explorer 6 and up (currently up to the dev version of 11). Continue reading

.htaccess version your static files, to help prevent sticky browser cache’s

Just the other day I was presented an issue where multiple browser types on multiple flavors of OS’s were caching styles, scripts and images in a variety of ways. We had rolled out a new version of a product, which ended up having a bug in it, and we had to roll it back to a previous state in order to fix a few things and push it back out. However, due to the flip flopping back and forth depending on the OS you were on, and the browser you were using new scripts were stuck in the cache while the old version was visible, and vis versa. It was a nightmare for a short while. But the at the end of the day it was all due to caching. Not all browsers are equal even Chrome on Mac vs Chrome on Windows vs Chrome on Linux. While they hold similar techniques, each has its own quirks. However thats a discussion for another day. Continue reading

Zend Framework – Disable Layout and View from Rendering (Handy for AJAX)

I don’t know how many times I have needed to look this up for myself, typically when I am putting together a controller action that I want to use specifically for outputting something like JSON for some AJAX related thing I am doing. That or when I am working on a page that I need to have different from the base template that I have setup in my layouts. Either way, figured I’d post it here like the rest of the code I tend to reuse often, and share with the world cause they may be looking for it too.
Continue reading