I am trying to link to a PDF from a normal html link. When I click in FF3.5 the link, my server gives a http200 then an http206 'partial content' response. And the browser simply says 'Stopped' in the status bar. If I Ctrl-R, it load sthe PDF. Any ideas why this is happening or how I can fix? My client and users are non-technical and its not an option simply to tell them to press Ctrl-R. No issues in other browsers.

1 answer


What's happening is the browser is loading a part of the PDF due to server caching. It enables data to be sent in chunks.

When you hit CTRL + F5 you're requesting a fresh copy of the file, hence why it's downloading properly.

I've tried to replicate the problem on my end without any luck but it might be worth mentioning it to your data center.

You could also try adding a random number to the end of the URL which should prevent caching and load the full PDF every time.

Do you use jQuery or a similar framework? I'll write you up a solution.

Answered about 7 years ago by Marko Ivanovski
  • I don't really understand why it would send a 206 verses a 302. Maybe it's some IIS setting. Regardless, I have found a workaround by linking to the PDF on our CDN service. I assume it works better now because the CDN is properly configured. Armitage about 7 years ago