danielgtaylor / malt.io

Malt.io free community for brewers
26 stars 11 forks source link

Firefox Makes Multiple Requests for Recipe #26

Open jensyt opened 11 years ago

jensyt commented 11 years ago

In Firefox, going to any recipe causes two identical requests to be performed. The app stats show identical requests, e.g.

(1) 2012-10-24 10:31:39.536 "GET /users/danielgtaylor/recipes/monk-s-tripel" 200 real=33ms api=0ms overhead=1ms (2 RPCs, cost=0, billed_ops=[]) (2) 2012-10-24 10:31:38.267 "GET /users/danielgtaylor/recipes/monk-s-tripel" 200 real=33ms api=0ms overhead=1ms (2 RPCs, cost=0, billed_ops=[])

This doesn't happen in Chrome.

I'm not sure how severe this is, if it's an issue with Firefox and not the site, or if the site is somehow causing the page to refresh. Just thought I'd document that it's happening, and that it looks like it's only happening on the recipe page.

jensyt commented 11 years ago

This looks like it's happening because of the embedded Disqus thread, and I see it happening on other sites with Disqus that I visit in Firefox. I can't find any reports of other people experiencing this online, although it's happening to me on multiple different computers and different networks.