Skip to Main Content
Head Rush Ajax
book

Head Rush Ajax

by Brett McLaughlin
March 2006
Beginner to intermediate content levelBeginner to intermediate
448 pages
13h 33m
English
O'Reilly Media, Inc.
Content preview from Head Rush Ajax
you’re on your way 4
115
ajax requests
Internet Explorer is a pretty smart browser,
and tries to do lots of things to help make your
browsing a better and faster experience. For
instance, it will cache a lot of your images, so if
you visit a page with lots of graphics, and then
come back later, you’ll see the graphics come up
really quickly.
IE tries to do something similar with URLs. If
you make a request to a server-side program, IE
keeps track of the URL you requested. Then, if
you make a request to the same URL—without
any different data—IE gures you’re going to
get the same response. So, instead of re-sending
the request, it just gives you the result from the
rst time you made the request.
Since we rst saw this problem in the Boards
‘R’ Us app, let’s start by xing that app on
Windows. Then, we can take what we learned
and x up Break Neck Pizza, too.
What’s going on in Windows?
And what about that Windows problem from
back in Chapter 1? Don’t we need to x that
so Break Neck runs on Macs and PCs?
brain
power
Why would Internet Explorer’s and Opera’s caching of requests cause a
problem in the Boards ‘R’ Us application? Will this also create trouble for
customers using the Break Neck pizza order form? And what should we
do to try and x this problem?
The Opera browser does
the same thing that IE
does in this situation: it
caches URLs.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Reinventing the Organization for GenAI and LLMs

Reinventing the Organization for GenAI and LLMs

Ethan Mollick
Head First Ajax

Head First Ajax

Rebecca M. Riordan

Publisher Resources

ISBN: 0596102259Errata PageSupplemental Content