Page MenuHomePhabricator

Purge math cache on changes to math code
Closed, ResolvedPublic

Description

If the content of a math isn't changed, it will always use the same image, this
will introduce a problem when the underlying code is changed. My proposal is
that all related math is purged on purge and save.


Version: unspecified
Severity: minor

Details

Reference
bz7768

Event Timeline

bzimport raised the priority of this task from to High.Nov 21 2014, 9:26 PM
bzimport added a project: Math.
bzimport set Reference to bz7768.
bzimport added a subscriber: Unknown Object (MLST).

ayg wrote:

Sort of what we do for style right now, only this could be a lot more expensive
(don't know how much it costs to generate math images).

ayg wrote:

*** Bug 7367 has been marked as a duplicate of this bug. ***

gunther.vogel wrote:

At least, the rows having math_html like '%-' should be purged, they are almost
certainly wrong. On dewiki, the table 'math' contains ~6700 such rows (of
~250.000 in total).

(In reply to comment #3)

At least, the rows having math_html like '%-' should be purged, they are almost
certainly wrong. On dewiki, the table 'math' contains ~6700 such rows (of
~250.000 in total).

This is in progress now.

jeluf wrote:

The purge has been done long ago => close