Compression of the templatedata property, which isn't needed to output the page, can be deferred until LinksUpdate update, using the LinksUpdate hook. gzencoding of data in the 64 KB range can take up to 15 ms.
Description
Description
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Invalid | None | T124883 Heavy processing of page properties not needed in output should be deferred until LinksUpdate | |||
Resolved | None | T124880 Defer compression of templatedata property |
Event Timeline
Comment Actions
Not sure if we should do this here since there's a warning if the size is exceeded.
We could avoid doing the encoding twice though.
Comment Actions
Avoided encoding twice in https://gerrit.wikimedia.org/r/#/c/266661/. Can't be deferred since there's a warning.