The static part of the configuration moves to a new js/xwiki/requireConfig.js skin file, served through the skin action with a 30-day expiry; only the ~800 bytes of page and user specific XWiki.* values stay inline.
Measured between two 18.9.0-SNAPSHOT builds (default flavor, guest, minification on):
the document goes from 73,164 to 62,759 bytes, i.e. -10,405 bytes (-14.2%) on every view
a repeat view transfers 8.8% fewer bytes; a first visit transfers the same total, the bytes simply moving into one extra cacheable request
on a warm view throttled to Fast 3G, FCP and LCP go from 792 ms to 756 ms and DOMContentLoaded from 776 ms to 731 ms; on a cold view the gain is not measurable, the page being 2.8 MB in total
server-side page generation goes from 132.6 ms to 129.0 ms
Two caveats worth recording: neither instance compresses its responses, so behind gzip the saving is about 2.1 KB per view rather than 10.4 KB (the same ~15% of the document); and the file actually served is the minified copy, since the skin resolver rewrites .js to .min.js when minification is on – checked that it evaluates and works.
The static part of the configuration moves to a new {{js/xwiki/requireConfig.js}} skin file, served through the skin action with a 30-day expiry; only the ~800 bytes of page and user specific {{XWiki.*}} values stay inline.
Measured between two 18.9.0-SNAPSHOT builds (default flavor, guest, minification on): * the document goes from 73,164 to 62,759 bytes, i.e. -10,405 bytes (-14.2%) on every view * a repeat view transfers 8.8% fewer bytes; a first visit transfers the same total, the bytes simply moving into one extra cacheable request * on a warm view throttled to Fast 3G, FCP and LCP go from 792 ms to 756 ms and DOMContentLoaded from 776 ms to 731 ms; on a cold view the gain is not measurable, the page being 2.8 MB in total * server-side page generation goes from 132.6 ms to 129.0 ms
Two caveats worth recording: neither instance compresses its responses, so behind gzip the saving is about 2.1 KB per view rather than 10.4 KB (the same ~15% of the document); and the file actually served is the minified copy, since the skin resolver rewrites {{.js}} to {{.min.js}} when minification is on -- checked that it evaluates and works.]
This message was sent by Atlassian Jira (v9.3.0#930000-sha1:287aeb6)
If image attachments aren't displayed, see this article.