Improve the development experience in debug=assets mode by reducing the number of requests to the server. We are adapting the solution used for the JS files to the CSS files. This solution consists of no longer sending all the files separately, but sending only the bundles associated with their sourcemap. This allows us to keep the same debugging experience while drastically reducing the number of requests to the server. Benchmark: saas 14.2 917 requests domcontentloaded after 3.76s master (bundling du js) 299 requests domcontentloaded after 2.03s branch (bundling js+css) 36 requests domcontentloaded after 1.01s Task id : 2463840 closes odoo/odoo#66169 Related: odoo/design-themes#453 Signed-off-by: Géry Debongnie (ged) <ged@openerp.com>
26 lines
705 B
Python
26 lines
705 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from . import _monkeypatches
|
|
from . import pycompat
|
|
from . import win32
|
|
from . import appdirs
|
|
from . import pdf
|
|
from . import cloc
|
|
from .config import config
|
|
from .misc import *
|
|
from .translate import *
|
|
from .image import *
|
|
from .sql import *
|
|
from .float_utils import *
|
|
from .mail import *
|
|
from .func import *
|
|
from .debugger import *
|
|
from .xml_utils import *
|
|
from .date_utils import *
|
|
from .convert import *
|
|
from .template_inheritance import *
|
|
from . import osutil
|
|
from .js_transpiler import transpile_javascript, is_odoo_module, URL_RE, ODOO_MODULE_RE
|
|
from .sourcemap_generator import SourceMapGenerator
|