jlsitemap icon indicating copy to clipboard operation
jlsitemap copied to clipboard

Synchronous XMLHttpRequest

Open Sulpher opened this issue 5 years ago • 4 comments

Проверка lighthouse 6 ругается: (https://lh6.loading.express/)

Рано или поздно устаревшие API будут удалены из браузера - https://web.dev/deprecations/?utm_source=lighthouse&utm_medium=cli

Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/. ругается на это: https://domain.ru/media/plg_system_jlsitemap_cron/js/cron.min.js?d6303bc30b17b3055d462193f7bc66e3

chrome_v1j2RrAXmC

Sulpher avatar Aug 11 '20 05:08 Sulpher

Почему не заюзать fetch()?

denysdesign avatar Aug 11 '20 07:08 denysdesign

Почему не заюзать fetch()?

Нет совместимости.

Septdir avatar Aug 11 '20 07:08 Septdir

Так что вот вам на выбор. Переделать на ajax joomla где тоже самое. Либо ждать joomla 4 где нет поддержки ie

Septdir avatar Aug 11 '20 07:08 Septdir

в Joomla 4 сейчас та же ошибка. нужно теперь патчить компонент?

Sulpher avatar Feb 27 '21 13:02 Sulpher