WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
134105
XHR requests incorrectly cached/combined/coalesced
https://bugs.webkit.org/show_bug.cgi?id=134105
Summary
XHR requests incorrectly cached/combined/coalesced
Nick Shearer
Reported
2014-06-20 07:46:38 PDT
two identical XHR requests made close togeather are combined irrespective of method (i.e even POST which should never be cached) and cache control headers. jsfiddle demonstrating: (numbers should be different, as per latest chrome canary).
http://jsfiddle.net/D5s5M/2/
Issue is now fixed in chromium (canary), still present in webkit:
https://code.google.com/p/chromium/issues/detail?id=361087
this is very bad. i.e 'POST /api/getUUID' -> returns unique ID. If two of those calls happen close enough together the same ID will be returned to both. the logs will even show both requests going out, but if you watch a proxy you'd see only one request was actually made...
Attachments
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2014-06-20 20:56:24 PDT
<
rdar://problem/17395130
>
Oliver Joseph Ash
Comment 2
2018-11-08 06:18:24 PST
This is a fundamental flaw, yet this issue has been open since 2014. 😑
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug