
Twitter Updates
- I feel love, I feel love, I feel love… boingboing.net/2012/05/17/don… #RIP 16 hours ago
- the bus is showing that movie where Sean Connery plays Russian Kenny Rogers 2 days ago
- New post: The Avengers' "Adopted" Joke romkey.com/?p=336 4 days ago
- If Apple really does sell a TV it'll be the worst kept secret in all of product history. 6 days ago
flickr/romkey




Categories
Tags
Ajax amazon ambient apple bat blogs brian eno computers dashboard david foster wallace deal Entertainment feed feedcache ie in memoriam internet explorer ios iphone ipod itunes jquery json leopard Life live+press livejournal mac macintosh macos x Music MySQL security sidebar simplify software taxes toilet TV UNIX uvfood web Wordpress world of warcraft writersMeta
Tag Archives: json
WebDev: jQuery, JSON, IE and Caching
When you bookmark a listing the icon changes from a heart with a plus sign to a heart with a minus sign, the count of the number of times the the listing was bookmarked is updated and a message is displayed that confirms the item was bookmarked. … The first thing I tried was to make sure that my server returned a header in the response to tell the client not to cache the results. … GET is meant to be idempotent, no ill effects if it’s repeated (a request to move to position 8 is idempotent; a request to move to the next position is not). … Just add this to your jQuery initialization code: $.postJSON = function(url, data, callback) { $.post(url, data, callback, “json”); Changing my code to use postJSON() instead of getJSON() solved the problem. Continue reading