Quote from: unsub777 at Mar 13, 2013, 08:38 PM
er...what?
I'm stupid when it comes to server stuff. Does anyone know what she's talking about? How are they being 'served' with php? (if they are...)
Mmm, sounds like nonsense to me. You
could be generating the PDFs dynamically using PHP, but that would increase server CPU load and not bandwidth (unless it was generating really bloated PDFs). In your case though, those look like plain ol' links to plain ol' files on the server, so when someone clicks on one there's no PHP involved.
However... Some of the PDFs on there really are massive, PHP or not. That HISUN 500cc EFI, 600cc EFI and 700cc EFI ATV Shop Manual is close to 90MB. It's because the whole thing is raster images. Somebody needs to OCR that stuff and make real text versions. Or re-export the PDF using better settings if it's already in some sort of digital format. (Converting the schematics to vector illustrations wouldn't hurt either, but the text is an easy win). They'd be an order of magnitude smaller and more useable too, since now the "text" isn't searchable and gets pixelated when you zoom in. Some of the PDFs are already done like this, like the Motorino scooter ones.
Also some of the images are much bigger than they ought to be. Like the SYM Wolf Classic 150cc over in the left side bar is a 422KB, 1024x768 pixel image that's being used at 127x96. Properly sized it should be around 10KB.
Those things add up pretty quickly to big bandwidth if the site gets a lot of traffic, especially first-time visitors.
[ed. note: jgrant last edited this post 11 years, 1 month ago.]