Xavier-Do
5594d8f191
[IMP] base, *: speedup assets unique computation
...
One of the most costly part of a page loading when the ormcache is cold
is computing the assets node, the unique identifier of an attachment to
validate whether the existing attachment is still valid with the current
version of the static files.
This operation needs to glob assets path in the filesystem,
get the modification date, check attachments, ...
Right now this task is not really optimized and can take some time
because of an excessive number of glob on the filesystem, unnecessary
exists to define absolute path, double computation of file list and
modified times when getting js and css bundle separately, ...
A list of modifications mainly discussed in the pr message are made
with this commit to speedup things.
- split css and js unique
- prepare api for an in memory glob
- change api to propagate absolute path and meta information through
`ir.asset._get_paths`-> _get_asset_paths -> `_get_asset_content` ->
`AssetsBundle`
closes odoo/odoo#121159
Signed-off-by: Xavier Dollé (xdo) <xdo@odoo.com >
2023-05-17 14:47:12 +02:00
..
2023-05-17 14:47:01 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 13:37:54 +02:00
2023-05-17 10:34:00 +02:00
2023-05-12 22:59:22 +02:00
2023-05-17 10:34:00 +02:00
2023-05-08 23:39:42 +02:00
2023-05-17 10:34:00 +02:00
2023-05-12 22:59:13 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-03 12:39:40 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 14:47:01 +02:00
2023-05-16 15:55:24 +02:00
2023-05-17 13:37:37 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-12 22:59:14 +02:00
2023-05-17 10:34:00 +02:00
2023-05-05 12:43:58 +02:00
2023-05-17 10:34:00 +02:00
2023-05-05 12:43:59 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-16 13:37:05 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 14:47:06 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-10 13:21:07 +02:00
2023-05-12 22:59:22 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-12 19:54:42 +02:00
2023-05-11 18:24:51 +02:00
2023-05-12 19:54:57 +02:00
2023-05-17 13:37:54 +02:00
2023-05-10 04:14:50 +02:00
2023-05-11 18:25:38 +02:00
2023-05-10 19:16:47 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-11 13:54:59 +02:00
2023-05-10 18:16:24 +02:00
2023-05-10 04:14:50 +02:00
2023-05-17 10:34:07 +02:00
2023-05-11 13:54:53 +02:00
2023-05-10 13:21:32 +02:00
2023-05-10 04:14:50 +02:00
2023-05-11 12:01:18 +02:00
2023-05-12 19:54:57 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 18:16:08 +02:00
2023-05-10 18:16:08 +02:00
2023-05-11 12:01:26 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-17 10:34:12 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 18:16:21 +02:00
2023-05-10 04:14:50 +02:00
2023-05-12 19:54:22 +02:00
2023-05-17 13:37:54 +02:00
2023-05-15 13:59:34 +02:00
2023-05-10 20:15:02 +02:00
2023-05-10 20:14:51 +02:00
2023-05-10 04:14:50 +02:00
2023-05-11 12:01:13 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-12 19:54:57 +02:00
2023-05-12 19:54:57 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 13:21:34 +02:00
2023-05-15 11:41:26 +02:00
2023-05-10 20:15:04 +02:00
2023-05-11 12:01:29 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 19:16:49 +02:00
2023-05-10 13:21:16 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 20:15:07 +02:00
2023-05-12 22:59:22 +02:00
2023-05-12 22:59:22 +02:00
2023-05-15 08:34:42 +02:00
2023-05-12 19:54:57 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 18:16:16 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-15 11:41:37 +02:00
2023-05-10 20:14:59 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 20:15:23 +02:00
2023-05-02 14:47:10 +02:00
2023-05-17 13:37:54 +02:00
2023-05-10 20:14:56 +02:00
2023-05-11 18:24:53 +02:00
2023-05-10 21:18:26 +02:00
2023-05-10 13:21:13 +02:00
2023-05-11 13:54:51 +02:00
2023-05-10 18:16:06 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-11 10:40:47 +02:00
2023-05-10 13:21:24 +02:00
2023-05-10 20:15:12 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 13:21:19 +02:00
2023-05-11 10:40:53 +02:00
2023-05-11 10:40:55 +02:00
2023-05-10 04:14:50 +02:00
2023-05-11 12:01:21 +02:00
2023-05-10 20:14:48 +02:00
2023-05-11 12:01:24 +02:00
2023-05-10 18:16:19 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 13:21:29 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 13:21:42 +02:00
2023-05-10 20:15:14 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 13:21:39 +02:00
2023-05-10 20:15:17 +02:00
2023-05-12 09:21:49 +02:00
2023-05-10 20:15:20 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 13:37:37 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-04 19:09:49 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-12 22:59:14 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 13:37:47 +02:00
2023-05-17 13:37:47 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 13:37:48 +02:00
2023-05-17 13:37:47 +02:00
2023-05-17 10:34:00 +02:00
2023-05-11 18:25:26 +02:00
2023-05-15 09:32:43 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-12 22:59:14 +02:00
2023-05-16 06:49:56 +02:00
2023-05-12 22:59:14 +02:00
2023-05-12 22:59:14 +02:00
2023-05-12 22:59:14 +02:00
2023-05-12 22:59:14 +02:00
2023-05-12 22:59:14 +02:00
2023-05-12 22:59:14 +02:00
2023-05-12 22:59:14 +02:00
2023-05-12 22:59:14 +02:00
2023-05-12 22:59:14 +02:00
2023-05-12 22:59:14 +02:00
2023-05-16 06:49:56 +02:00
2023-05-12 22:59:14 +02:00
2023-05-12 22:59:14 +02:00
2023-05-12 22:59:14 +02:00
2023-05-12 22:59:14 +02:00
2023-05-12 22:59:14 +02:00
2023-05-12 22:59:16 +02:00
2023-05-17 13:37:47 +02:00
2023-05-17 10:34:00 +02:00
2023-05-16 15:55:18 +02:00
2023-05-17 10:34:00 +02:00
2023-05-12 19:54:57 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-05 17:06:38 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-05 17:06:38 +02:00
2023-05-05 17:06:38 +02:00
2023-05-17 10:34:00 +02:00
2023-05-05 17:06:38 +02:00
2023-05-08 15:18:30 +02:00
2023-05-17 10:34:00 +02:00
2023-05-15 09:37:48 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 13:37:47 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-15 07:30:57 +02:00
2023-05-17 10:34:00 +02:00
2023-05-15 09:01:27 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-09 21:04:01 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 13:38:02 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 13:37:54 +02:00
2023-04-28 16:04:27 +02:00
2023-05-17 10:34:00 +02:00
2023-05-09 00:41:08 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 13:37:54 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-12 19:55:08 +02:00
2023-05-17 14:47:01 +02:00
2023-05-17 13:37:47 +02:00
2023-05-17 13:37:54 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-02 19:07:09 +02:00
2023-05-09 00:40:59 +02:00
2023-05-03 13:56:54 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 13:37:47 +02:00
2023-05-17 13:38:02 +02:00
2023-05-17 13:37:47 +02:00
2023-05-17 13:37:47 +02:00
2023-05-17 13:37:47 +02:00
2023-05-17 13:37:47 +02:00
2023-05-17 10:34:00 +02:00
2023-05-16 20:33:11 +02:00
2023-05-12 21:50:44 +02:00
2023-05-17 14:47:01 +02:00
2023-05-16 15:55:18 +02:00
2023-05-16 15:55:16 +02:00
2023-05-15 16:48:22 +02:00
2023-05-17 14:47:12 +02:00
2023-05-11 10:41:06 +02:00
2023-05-12 22:59:16 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 14:47:12 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 14:47:12 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-12 22:59:14 +02:00
2023-05-17 10:34:00 +02:00
2023-05-12 22:59:14 +02:00
2023-05-17 10:34:00 +02:00
2023-05-15 09:37:51 +02:00
2023-05-12 21:50:44 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-05 17:06:23 +02:00
2023-05-17 10:34:00 +02:00
2023-05-12 22:59:14 +02:00
2023-05-17 10:34:00 +02:00
2023-05-12 22:59:14 +02:00
2023-05-17 10:34:00 +02:00
2023-05-12 22:59:14 +02:00
2023-05-12 22:59:15 +02:00
2023-05-17 10:34:00 +02:00
2023-05-12 22:59:14 +02:00
2023-05-12 22:59:14 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-15 09:37:48 +02:00
2023-05-12 22:59:14 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-15 15:07:13 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-12 22:59:14 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00
2023-05-17 10:34:00 +02:00