I have a very simple test case (and 3 hours of search and flu)
<!DOCTYPE HTML> <html lang="en-US"> <head> <meta charset="UTF-8"> <title> </title> </head> <body> <script type="text/javascript" src="http://example.com/myscript.js"></script> <script type="text/javascript" src="http://example.com/myscript.js"></script> </body> </html>
And the server returns the following response headers
Connection: keep-alive Expires: Mon, 04 Dec 1999 21:29:02 GMT Cache-Control: no-store, no-cache, must-revalidate, max-age=0 Pragma: no-cache
This code, executed in chrome, issues a single request to the server, also in opera, safari escape.
Is this behavior standard?
Is there official documentation for this behavior?
Is this a cache problem because I thought you would still have a request anyway with a 304 response?
Disclaimer: Please do not offer to randomize or avoid this problem. I want to study this question.
source share