-
- Downloads
[FIX] web: avoid expensive 404 during js tests
A 404 will take 3 to 5 seconds to be resolved and execute +- 1900 query, to return a rendered page which is quite expensive, especially when multiple missing images are rendered in a view. Catching static route and marking them as not frontend will help to avoid to handle miss on static resources. In this case server returns a standard 404. This commit also fix a iframe src in order to avoid a 404 on /web/(test )/report/html/some_report (thx to aab-odoo) X-original-commit: 818d0cb5
Showing
- addons/http_routing/models/ir_http.py 6 additions, 2 deletionsaddons/http_routing/models/ir_http.py
- addons/web/static/tests/chrome/action_manager_tests.js 4 additions, 3 deletionsaddons/web/static/tests/chrome/action_manager_tests.js
- addons/website/models/ir_http.py 2 additions, 1 deletionaddons/website/models/ir_http.py
Loading
Please register or sign in to comment