Last modified: 2011-01-25 00:06:53 UTC
Not sure if this is a PDF handler issue or mediawiki. But I uploaded a 47 page PDF and had to click on each page, so that they were then cached and fast for everyone else. Is there anyway this can be improved?
We could generate the images on upload, but then the upload would be very slow. Or we could add a background job that generates them from the background queue. That queue is often
... quite long and it would thus take some time before the images would be generated.
I think adding a background job sounds like the best approach, maybe there could be a configuration option to enable or disable this?
Added a background job to create thumbnails one by one in r76941. Disabled by default to not change current behaviour. If you want to enable it, add $wgPdfCreateThumbnailsInJobQueue = true; to your LocalSettings.php