IE & JSON Caching Bug

I came across a weird bug. It seems that IE is the only browser that has a tendency insists on caching JSON results. I created a little api call that returned a list of users “favorites”. I use jQuery to retrieve this list and make updates to my site.
Well apparently IE caches the JSON file, [...]

September 17, 2009  Tags: , , ,   Posted in: Programming & Internet  23 Comments

XHTML Strict Anchor Target Fix with jQuery

Since switching from HTML to XHTML, one of the things that kills my HTML Validator most is when I get lazy and put a target="_new" or target="_blank" in an anchor tag. So then I have to go back and fix them and find the old sitepoint article that describes how to fix the problem with [...]

June 5, 2009  Tags: ,   Posted in: Programming & Internet  6 Comments

Django & Djson… er, JSON

I must admin this is my first attempt at even using JSON. I wanted to produce some data that I could consume with jQuery and I figured JSON was the best format for the job.
I found Django has a method for serializing Model query sets easily and it seemed to work just fine.
The problem I [...]

May 21, 2009  Tags: , , , ,   Posted in: Programming & Internet  7 Comments