Page MenuHomePhabricator

Browser timeouts if server needs to generate many png's
Closed, DeclinedPublic

Description

Author: bothie

Description:
If a user edits a page, and create many formulars, either he (if he uses preview) or the
first user(s) trying to view the new page (which may be the same physical person, of
course) will get a server timeout because the server is busy generating the tex-pngs.

Suggestion to solve the problem: When a page is rendered, simply don't wait for the images
to be created. Tell that some images are being created and may not be shown therefore and
output the page as it would be outputted, if the images were present already. This is not
very nice, as one sees some tex-replacements instead of the images, but it prevents the
timeout. Of course, doing so would require another checkbox to allow the editor to force
wait for generation of images, so if he only creates of changes two or three formulas, he
doesn't need to preview twice.

Regards, Bodo


Version: 1.3.x
Severity: enhancement

Details

Reference
bz1079
TitleReferenceAuthorSource BranchDest Branch
Commit working beta version of semgrep-merge-toolrepos/security/semgrep-merge-tool!2sbassettscotts-dev-branchmain
Initial commit for repo, mostly app structurerepos/security/semgrep-merge-tool!1sbassettscotts-initial-dev-branchmain
Create initial import of custom semgrep rules, README, LICENSErepos/security/wikimedia-semgrep-rules!1sbassettscott-initial-rules-importmain
Customize query in GitLab

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 8:01 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz1079.
bzimport added a subscriber: Unknown Object (MLST).

brian wrote:

Why not send the HTML and then generate the images,
ready to be sent when the user's computer processes the
HTML and requests them?

Since TeX is an open standard, why isn't it integrated
into web browsers?

robchur wrote:

Since TeX is an open standard, why isn't it integrated into web browsers?

We develop MediaWiki, not web browsers. Why don't you go and ask the people who
do do that, like Microsoft and Mozilla?

A) Didn't see this happening with Mathjax, which is now default .
B) It has been 7 years since this bug was opened and no comments were added since than, so closing as works for me.