summaryrefslogtreecommitdiff
path: root/addons/website/static/src/xml/website.editor.xml
diff options
context:
space:
mode:
authorRobot Odoo <xmo+roboto@odoo.com>2019-06-04 13:02:06 +0200
committerGitHub <noreply@github.com>2019-06-04 13:02:06 +0200
commit1f5c9e363b6f7cb9a2770e6247536803fd13e3f0 (patch)
treeb6b5e2493bee632db9eb94e832aea5a24f1ad511 /addons/website/static/src/xml/website.editor.xml
parented924e956d1e7c617291430c44415a2d273cb346 (diff)
parent82b31aa9ffb21f08a406caede5cbb7342ea0ae76 (diff)
[MERGE] website, *: lazy load most frontend javascript
* web, survey, account, im_livechat, payment, web_tour, website_sale, base Before this PR, the asset bundles were loaded in a synchronous way, so website pages appeared to the user when all the css *and* js were downloaded, parsed and executed. This PR adds a series of improvements to enable lazy loading the JS on the frontend. Especially: 1) Extract the minimum part of the assets common: - promises library and polyfill - boot.js 2) Create "assets_common_lazy" which is "assets_common" - "minimum" 3) Include the "minimum" assets in frontend layouts using "defer" loading and "assets_common_lazy" using "lazy" loading 4) Create a script to do the actual lazy loading in a "minimum" frontend assets 5) Lazy load the current frontend / website editor assets See sub-commits for details. task-1961045 closes odoo/odoo#32181 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Diffstat (limited to 'addons/website/static/src/xml/website.editor.xml')
0 files changed, 0 insertions, 0 deletions