EmbeddedStaticIssue
A repro repo for issues with my fork of Nancy.Embedded.
To test this
- Clone this project
- Build the solution (i think NuGet should restore stuff correctly for you)
- Select the Demo.FileSystem project and run it
- Browse to http://localhost:8080 and open devtools -> network
- Click on the link a bunch of times and watch the image only get loaded once
Then try the other project:
- Select the Demo.Embedded project
- Run it
- Browse to http://localhost:4444 and open devtools -> network
- Click on the link a bunch of times and watch the image only get loaded once
When i do this i see this diff between the headers in Fiddler gist.
i'm using Chrome Version 33.0.1750.146 m on Windows. Maybe this doesn't happen in other browsers? The whole reason i'm doing this is because i'm seeing this crop up in a real-world application on iOS Mobile Safari as well and it's messing up images used in real-time updates i have going in SignalR.
Questions
i have many questions
- How can i improve in my devtools skills to figure out what is actually happening?
- What causes a the browser to download an image tag inserted via javascript?
- What is happening and how can i fix this?