diff options
| author | Géry Debongnie <ged@odoo.com> | 2018-10-17 12:35:03 +0000 |
|---|---|---|
| committer | Géry Debongnie <ged@odoo.com> | 2018-10-19 09:18:28 +0000 |
| commit | a8cec47c930c1d3b60f0e5c5788106cc30dc1a0b (patch) | |
| tree | 4985fb702f1de380434f66036c6ae2b22b87ae15 /doc/reference/javascript_reference.rst | |
| parent | 2b0642d09e6a40b6a0e03c547842aca076cc34bc (diff) | |
[IMP] assets: remove css files split
Before this commit, our asset bundles had a special behaviour for
bundles of type css: because of an old limitation in IE9, css files had
to be split to make sure they had less than 4095 rules per stylesheets.
Since we no longer support IE9, this code can be removed, which should
slightly simplify the bundle code, and should slightly reduce the number
of requests required to properly load odoo.
closes odoo/odoo#27933
Diffstat (limited to 'doc/reference/javascript_reference.rst')
| -rw-r--r-- | doc/reference/javascript_reference.rst | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/reference/javascript_reference.rst b/doc/reference/javascript_reference.rst index fe04dc06a6f..034938acaaf 100644 --- a/doc/reference/javascript_reference.rst +++ b/doc/reference/javascript_reference.rst @@ -129,9 +129,8 @@ Here is what happens when a template is rendered by the server with these direct be replaced by a list of script tags pointing to the js files - if we are not in *debug=assets* mode, - - the css files will be concatenated and minified, then splits into files - with no more than 4096 rules (to get around an old limitation of IE9). Then, - we generate as many stylesheet tags as necessary + - the css files will be concatenated and minified, then a stylesheet tag is + generated - the js files are concatenated and minified, then a script tag is generated Note that the assets files are cached, so in theory, a browser should only load |
