Last modified: 2011-01-25 00:06:53 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T24902, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 22902 - PDF pages slow on first opening
PDF pages slow on first opening
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
PdfHandler (Other open bugs)
unspecified
All Linux
: Normal minor (vote)
: ---
Assigned To: Mike Połtyn
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-03-19 15:06 UTC by Shaun Phillips
Modified: 2011-01-25 00:06 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Shaun Phillips 2010-03-19 15:06:06 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?
Comment 1 JeLuF 2010-03-21 10:49:10 UTC
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
Comment 2 JeLuF 2010-03-21 10:49:56 UTC
... quite long and it would thus take some time before the images would be generated.
Comment 3 Shaun Phillips 2010-03-24 14:29:13 UTC
I think adding a background job sounds like the best approach, maybe there could be a configuration option to enable or disable this?
Comment 4 Mike Połtyn 2010-11-18 09:08:52 UTC
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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links