Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 294231

Very slow Drupal to load translated nodes/many internal redirects to translated pages/ late server response time 15s due to Drupal translation logic.

$
0
0

The issue is with loading time taken to open a translated node content and some time the page does not open, the browser error Page isn't working "too many redirects" the issue faced on nodes only, and translated content of views & taxonomy is working well, but however blocks to show views on translated pages sometimes doesn't show maybe because Drupal not able to determine the node language (no server log errors found)

Steps to reproduce

- fresh installation - add a language - add node content (include images)- open translated node and inspect the network and check loading time and server respond time AND compare translation and default language loading time some requests to translated pages will be redirected

to reproduce the error on language detection settings .
1- Fresh installation.
2-Add english as a second language for example.
3-Add 1 translated article.
4- /admin/config/regional/language/detection and enable (Customize Content language detection to differ from Interface text language detection settings) uncheck all possible options then save.
5- Now not possible to edit translation.
6- Disable (Customize Content language detection to differ from Interface text language detection settings) with all its option unchecked.
7- And still system will not be able to show or edit translated content and error logged ( /en-gb/admin/content/files. Drupal\Core\Http\Exception\CacheableAccessDeniedHttpException...)
* many scenarios are there for the same error but this is straight to the point.

For slow translated pages this script was never detected as initiator to the requested page instead it makes redirect and it blocks the main thread and for english language this script IS detected and no redirect happens

{"path":{"baseUrl":"\/","pathPrefix":"","currentPath":"node\/1","currentPathIsAdmin":false,"isFront":true,"currentLanguage":"en"},"pluralDelimiter":"\u0003","suppressDeprecationErrors":true,"ajaxTrustedUrl":{"\/search\/node":true},"user":{"uid":0,"permissionsHash":"6fa7f570a69ae4b08c19889751b604b8692f5aaecb279475965cebc74886416a"}}

Viewing all articles
Browse latest Browse all 294231

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>