On 2014-05-23 06:53, Michael Heuberger wrote:
Hi James

Single page apps!

These become more and more popular with frameworks like RactiveJS or
AngularJS. There the first request is a HTTP request, for any subsequent
requests an AJAX one is generated. The problem is the first HTTP

AJAX requests are HTTP requests.

I assume you mean the distinction between "page navigation" and "using XMLHTTPRequest"?

request. The framework is unable to detect 404s with the first request
because the status code cannot be obtained via JavaScript, hence a
second request is made.

If the initial page load yields a 404 will there be any scripts to execute at all?

In my eyes, a waste of bandwidth.


Best regards, Julian

Reply via email to