Why iOS6′s ajax POST requests get cached and how to fix it

iOS6 features something that will feel like a bug to most web developers out there, but in reality is Apple trying to enforce a definition in the HTTP spec that has never been utilized before. See this on Stack Overflow: http://stackoverflow.com/questions/12506897/is-safari-on-ios-6-caching-ajax-results In regards to POST data, the HTTP spec defines this little gem: “Responses to ...

iOS6 XHR bug – multiple 200 responses in Safari

Apparently iOS6 has a flaw in its handling of XHR requests in Safari. I can’t confirm if there is a particular condition for the repro, but working with A5 (a5js.com) the bug was present and has now been fixed. Using the safari remote debugger I was able to confirm that a single request went out ...

Dealing With Rogue IP Requests in Web Apps

When building web applications, we develop, we test, we release. And when we test, we’re generally designing and verifying test cases that we are expecting our end users to come across, either intentionally or accidentally. We may, if we are diligent, go a step further and attempt to identify holes in the application as well ...

HTML5 manifest mime type in grails 5

I ran into an issue serving the proper mime type for a cache manifest from grails today, adding a ‘manifest’ key to grails.mime.types failed to register for some reason (if you know why, do tell!). Running on a server this can be addressed by setting the mime type directly in tomcat, but i needed to ...

Internet Explorer 10 preview – no sign of Web Workers, among others

Microsoft today released a preview of Internet Explorer 10, and as of this first release there are no signs of Web Workers or other wish list JS items in IE9. I’ll give the benefit of the doubt as this preview is exceedingly early and it seems to be focusing on CSS3 improvements, but so far, ...

Multitask apps can be killed in OS 4.0 2

[dtse][/dtse]Scott Forstall, SVP of iPhone Software for Apple, appeared to dodge the question of how to kill an app running in the new multitasking interface for iPhone OS 4.0. When asked during the Q & A session post announcement, he stated that it wasn’t necessary to kill the apps in the first place. Note he never ...

Why the iPad’s user agent string presents a problem 15

[dtse][/dtse] Note: This post has been getting a fair amount of traffic. I originally posted this directly after launch, and subsequently it contained outdated information from what is now known from the final release of OS 3.2. I originally had left the original post info for the sake of blogging/ journalistic integrity, however after three revisions because of newer info, I ...

Time format from seconds in AS3 10

Here’s a quick and dirty class for converting seconds into the proper hours : minutes : seconds display format, with optional resolution setting (hours/minutes/seconds). Defaults to hours. Sample implementation: trace(TimeFormat.formatTime(200, TimeFormat.SECONDS)); outputs “0:03:20″. Full class after the break.

Tabulate updated to .2 alpha – AS3 tab management

There’s still a long way to go for what is planned for this one, but I have just updated the google code project to the .2 alpha release here doucmentation: http://www.jeffdepascale.com/documentation/tabulate

MouseEvent – relatedObject explained

One of those things that isn’t immediately clear based on its name, the relatedObject property is a reference to the object that the mouse is now over, and is receiving a MouseEvent.MOUSE_OVER event.  This property is valid for both over and out events. This is a really useful property, a typical example is working with ...