You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Blockscout's js logic is in a single js file (except staking dapp part). It loads synchronously significantly contributing to the page loading time.
Solution
Extract the common part from the client's code logic to load on every page. And split the rest of js logic into multiple files in order to load them only on the pages where it is required. Also, consider a possibility to make some code to load asynchronously, if it is not required for page rendering. The changes should decrease the time of js code loading increasing the speed of pages opening.
The text was updated successfully, but these errors were encountered:
Problem
Blockscout's js logic is in a single js file (except staking dapp part). It loads synchronously significantly contributing to the page loading time.
Solution
Extract the common part from the client's code logic to load on every page. And split the rest of js logic into multiple files in order to load them only on the pages where it is required. Also, consider a possibility to make some code to load asynchronously, if it is not required for page rendering. The changes should decrease the time of js code loading increasing the speed of pages opening.
The text was updated successfully, but these errors were encountered: