Quantcast
Viewing all articles
Browse latest Browse all 2279

Browser Development • PM 32.5.2: Twitter's embedding code is slow.

The problem related to Twitter was discussed in the topic: viewtopic.php?f=70&t=30699

What can I say...
1) It is more convenient to explore the direct link.

CODE:

https://syndication.twitter.com/srv/timeline-profile/screen-name/michaeljackson?dnt=false&frame=false&hideBorder=false&hideFooter=false&hideHeader=false&hideScrollBar=false&lang=en&showHeader=true&showReplies=false&theme=dark&transparent=false
2) In Firefox, a radical difference in loading speed is observed when moving from version 60.0 to version 61.0
https://ftp.mozilla.org/pub/firefox/rel ... n64/en-US/
https://ftp.mozilla.org/pub/firefox/rel ... n64/en-US/

3) I used a launcher that disables e10s and runs Firefox in "portable" mode. Just extract "Firefox Setup xxx.exe" using 7-zip and place the batch file near the "core" folder.

CODE:

@echo offset PGM_CORE=Coreset PGM_NAME=Firefoxrem set PGM_HOME_URL=set ABS_PATH=%~dp0set PGM_EXE=%ABS_PATH%%PGM_CORE%\%PGM_NAME%.exeset USER_PROF=%ABS_PATH%%USERNAME%set DNLDS_DIR=%ABS_PATH%Downloadsset MOZILLA_PLUGINS=%ABS_PATH%Pluginsset JAVA_PLUGINS=%ABS_PATH%Plugins\JavaIF NOT EXIST "%PGM_EXE%" EXITIF EXIST "%ABS_PATH%%PGM_CORE%\updater.exe" ren "%ABS_PATH%%PGM_CORE%\updater.exe" "updater.exe.old"IF EXIST "%ABS_PATH%%PGM_CORE%\updater.ini" ren "%ABS_PATH%%PGM_CORE%\updater.ini" "updater.ini.old"IF NOT EXIST "%USER_PROF%" md "%USER_PROF%"IF NOT EXIST "%DNLDS_DIR%" md "%DNLDS_DIR%"IF NOT EXIST "%MOZILLA_PLUGINS%" md "%MOZILLA_PLUGINS%"IF NOT EXIST "%JAVA_PLUGINS%" md "%JAVA_PLUGINS%"set USER_JS=%USER_PROF%\user.jsecho user_pref("browser.cache.disk.enable", false); >"%USER_JS%"echo user_pref("plugin.expose_full_path", true); >>"%USER_JS%"echo user_pref("extensions.enabledScopes", 5); >>"%USER_JS%"echo user_pref("browser.download.useDownloadDir", false); >>"%USER_JS%"echo user_pref("browser.download.manager.retention", 1); >>"%USER_JS%"echo user_pref("browser.shell.checkDefaultBrowser", false); >>"%USER_JS%"echo user_pref("browser.taskbar.lists.enabled", false); >>"%USER_JS%"echo user_pref("app.update.auto", false); >>"%USER_JS%"echo user_pref("app.update.enabled", false); >>"%USER_JS%"echo user_pref("browser.cache.disk.parent_directory", "%USER_PROF:\=\\%"); >>"%USER_JS%"echo user_pref("browser.download.lastDir", "%DNLDS_DIR:\=\\%"); >>"%USER_JS%"IF DEFINED PGM_HOME_URL echo user_pref("browser.startup.homepage", "%PGM_HOME_URL%"); >>"%USER_JS%"echo user_pref("browser.tabs.remote.autostart", false); >>"%USER_JS%"echo user_pref("browser.tabs.remote.force-enable", false); >>"%USER_JS%"echo user_pref("dom.ipc.processCount", 1); >>"%USER_JS%"echo user_pref("devtools.chrome.enabled", true); >>"%USER_JS%"echo user_pref("devtools.debugger.remote-enabled", true); >>"%USER_JS%"echo user_pref("dom.always_stop_slow_scripts", true); >>"%USER_JS%"echo user_pref("dom.max_script_run_time", 20); >>"%USER_JS%"set XRE_PROFILE_LOCAL_PATH=%USER_PROF%set XRE_PROFILE_PATH=%USER_PROF%set MOZ_FORCE_DISABLE_E10S=1set MOZ_NO_REMOTE=1set MOZ_PLUGIN_PATH=%MOZILLA_PLUGINS%;%JAVA_PLUGINS%start "%PGM_NAME% Portable" "%PGM_EXE%" -–disable-e10s
4) What is the cause of the problem - I don’t know yet. But I have some guesses.
It is possible that the images are loading and resizing slowly. Maybe the reason is SVG without dimensions. Also, maybe when the page is loaded, some unnecessary events are generated, the processing of which takes a lot of time. Maybe it's extra "load" events or something related to ResizeObserver.

Viewing all articles
Browse latest Browse all 2279

Trending Articles