Lasso Soft Inc. > Home

  • Articles

Debugging Multiple Page Loads

Common reasons why a page from the user might be loaded more than once.

Pedantic warning

Per the HTTP specification, GET requests should be "safe" and "idempotent" -- meaning GET requests shouldn't have any side effects and receiving more than of the same request should be the same as if you received only one.

Reasons why a page might be loaded more than once:

  • User may have reloaded the page.
  • User may have clicked the link multiple times.
  • Dynamically-generated <img src> is malformed, such as <img src=""> -- Firefox loads the current page, Safari does not.
  • YSlow plug-in for Firefox will reload the page to measure performance.
  • NoScript plug-in for Firefox will reload the page if the "Allow Scripts" option is changed.
  • Presenting a HTTP Authentication challenge will result in multiple hits to the page.
  • Some web accelerators use pre-fetching to pre-load all the links on the page.
  • Google AdSense will crawl the page to determine the ads to show to the user.

Author: Bil Corry
Created: 15 May 2009
Last Modified: 1 Mar 2011

Comments

No comments found
You must be logged in to comment.

Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft