Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • EspaƱol
      • FranƧais
      • PortuguĆŖs
  • ę—„ęœ¬čŖžć‚³ćƒŸćƒ„ćƒ‹ćƒ†ć‚£
  • ķ•œźµ­ ģ»¤ė®¤ė‹ˆķ‹°
0

Open Pdf in browser create bigger iis log?

New Here ,
Jun 21, 2018 Jun 21, 2018

I have try to open a 3xMB PDF in my iis 8 windows 2012 server, it cause 2136 iis log record for only open one pdf url  request (the pdf reader in ie/chrome browser restart the reuqest more than one time in one donwload).

it cause the iis log is bigger than 2.X GB one day.

What can i do for it?

iis setting?

P.S. If i driect download pdf ,not open with browser plugin will not cause this problem. If this is a bug for Reader Plugin?

849
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 22, 2018 Jun 22, 2018

Chrome does not use the Reader plug-in. So you have Google's technology and Adobe's technology both doing the same thing, showing that this is normal, not a bug.

When you open a PDF in a browser, the PDF is, if possible, downloaded in small pieces, so it can be displayed in a responsive way. For example it will read the text on page 1 and show it with a substitute font, then each image on page 1, now read each font used on page 1. Each of these may result in a different request, so this is entirely normal, I'd say just manage the logs.

If you turn off the "optimized for fast web view" option for the PDF, the browser will be unable to do this and may produce smaller requests. A browser has to download the whole file before it can show anything - a long period with nothing to see. The downside will be more traffic and less responsive PDF files, which may not be a suitable price for administrative convenience.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 22, 2018 Jun 22, 2018

yes, you are right in chrome is not using a plugin.

But in IE it is a bug when using reader plugin

in chrome request iis(web server) get

sc-statussc-substatussc-win32-statussc-bytescs-bytes
20033,073,590674

In ie request iis(web server) get

sc-statussc-substatussc-win32-statussc-bytescs-bytes
200995329,737740
2064,741733
2065,029714
206933714
2061,445714
2064,005714
20633,663725
20616,890710

.........

206                                                         1,957    714       

more than 2000 row in iis log record for ie plugin.

it cause a bigger log file in my server. it does not make sense.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 22, 2018 Jun 22, 2018

Please see my reply about why there are many requests And how to stop it. Seems as if Chrome does not support this PDF feature. That’s not a bug, it’s a design decision.

Now you might have found a bug if Reader has CHANGED. This feature was added around the year 1999, it is not a surprise; as a web admin then I went to a lot of trouble to enable it.  It may be that this file has particularly many graphics fonts or whatever And you could use my solution, but as an end user Iā€˜d prefer not to look at a blank screen while 33 Meg download.

Presumably log analysis will consolidate these 206 partial responses.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 23, 2018 Jun 23, 2018
LATEST

Yes, i know what you are talking. But the true is it create a bigger iis log by the plugin request. but in chrome is not. So it have a problem.

This feature was added around the year 1999, dosen't mean there has not error. The log show 206 over 2000 record in one pdf request means it restart the request in transfer each 2000 bytes. it doesn't make sense. I think there make a control or setting  to fixed this issue. Otherwise a "optimized for fast web view" pdf file create a 2GB iis log per day is not possibile.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines