Page loads take around 10 minutes due to requirejsBugs after Magento 2 InstallationMagento 2 setup:upgrade to update modules breaks layout and have to redeployMagento 2 - Very slow performance, Cache/static files issues after disabling cache and flushing static files cacheWhy Magento is using high CPU in AWS?Magento 2.2 often extremely slow, 100% processor usage after setup:upgradeMagento 2 strong performance issues (cron)How to check if an external process may be causing slowness while going through placing an order?pages loading slowMagento 1 & 2 fill up MailDir with irrelevant email data after each cronCache Expiring Too Quickly

Realistic, logical way for men with medieval-era weaponry to compete with much larger and physically stronger foes

Certain list transform

Am I allowed to determine tenets of my contract as a warlock?

Would a character with eternal youth be AL-compliant?

Why did the AvroCar fail to fly above 3 feet?

Why is my Taiyaki (Cake that looks like a fish) too hard and dry?

Does WiFi affect the quality of images downloaded from the internet?

Why is Skinner so awkward in Hot Fuzz?

Parsing text written the millitext font

New Site Design!

My parents claim they cannot pay for my college education; what are my options?

Can a 40amp breaker be used safely and without issue with a 40amp device on 6AWG wire?

Is it true that "only photographers care about noise"?

Was the Lonely Mountain, where Smaug lived, a volcano?

In The Incredibles 2, why does Screenslaver's name use a pun on something that doesn't exist in the 1950s pastiche?

Can an escape pod land on Earth from orbit and not be immediately detected?

Any gotchas in buying second-hand sanitary ware?

How to represent jealousy in a cute way?

Short story about psychologist analyzing demon

Placement of positioning lights on A320 winglets

What's the reason for the decade jump in the recent X-Men trilogy?

Interview was just a one hour panel. Got an offer the next day; do I accept or is this a red flag?

Can Dive Down protect a creature against Pacifism?

Is it a good security practice to force employees hide their employer to avoid being targeted?



Page loads take around 10 minutes due to requirejs


Bugs after Magento 2 InstallationMagento 2 setup:upgrade to update modules breaks layout and have to redeployMagento 2 - Very slow performance, Cache/static files issues after disabling cache and flushing static files cacheWhy Magento is using high CPU in AWS?Magento 2.2 often extremely slow, 100% processor usage after setup:upgradeMagento 2 strong performance issues (cron)How to check if an external process may be causing slowness while going through placing an order?pages loading slowMagento 1 & 2 fill up MailDir with irrelevant email data after each cronCache Expiring Too Quickly






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















I have a local site running Magento 2 Enterprise set up on a Hyper-V virtual machine running Ubuntu 18.04 and Nginx. I've got 4 CPUs and plenty of RAM assigned to the virtual machine.



This same site is running quickly on a remote hosting server, even though the hosting server I'm signed up for is one of the lowest tier services (so it doesn't have a huge amount of resources). Yet the site still runs quickly.



When I'm running this site locally, requirejs takes an unreasonably long time (10+ minutes) to load the JavaScript for a page. Here's an example of how long it's taking to load small JavaScript files. Everything that's being loaded is core Magento (no custom stuff) and most of the JavaScript files are 1-2 KB, with some being under 1 KB. The largest one was 34 KB. I'm using the default Luma theme.



enter image description here



What could be causing these files to load so slowly? Each JavaScript file is tiny, so there's no reason why the page should be hanging for several minutes or more while Magento loads JavaScript files. What could be causing this?



I'm doing development so I don't want to turn on the merge JavaScript option while I'm still in development mode.










share|improve this question






















  • Additional information request from your local PC. Post on pastebin.com and share the links. RAM size of your MySQL Host server A) complete (not edited) my.cnf or my.ini Text results of: B) SHOW GLOBAL STATUS; after minimum 24 hours UPTIME C) SHOW GLOBAL VARIABLES; D) SHOW FULL PROCESSLIST; E) complete MySQLTuner report AND Optional very helpful information, if available includes - htop OR top OR mytop for most active apps, ulimit -a for a linux/unix list of limits, iostat -xm 5 3 for IOPS by device and core/cpu count, for server workload tuning analysis.

    – Wilson Hauck
    Jun 8 at 13:27

















1















I have a local site running Magento 2 Enterprise set up on a Hyper-V virtual machine running Ubuntu 18.04 and Nginx. I've got 4 CPUs and plenty of RAM assigned to the virtual machine.



This same site is running quickly on a remote hosting server, even though the hosting server I'm signed up for is one of the lowest tier services (so it doesn't have a huge amount of resources). Yet the site still runs quickly.



When I'm running this site locally, requirejs takes an unreasonably long time (10+ minutes) to load the JavaScript for a page. Here's an example of how long it's taking to load small JavaScript files. Everything that's being loaded is core Magento (no custom stuff) and most of the JavaScript files are 1-2 KB, with some being under 1 KB. The largest one was 34 KB. I'm using the default Luma theme.



enter image description here



What could be causing these files to load so slowly? Each JavaScript file is tiny, so there's no reason why the page should be hanging for several minutes or more while Magento loads JavaScript files. What could be causing this?



I'm doing development so I don't want to turn on the merge JavaScript option while I'm still in development mode.










share|improve this question






















  • Additional information request from your local PC. Post on pastebin.com and share the links. RAM size of your MySQL Host server A) complete (not edited) my.cnf or my.ini Text results of: B) SHOW GLOBAL STATUS; after minimum 24 hours UPTIME C) SHOW GLOBAL VARIABLES; D) SHOW FULL PROCESSLIST; E) complete MySQLTuner report AND Optional very helpful information, if available includes - htop OR top OR mytop for most active apps, ulimit -a for a linux/unix list of limits, iostat -xm 5 3 for IOPS by device and core/cpu count, for server workload tuning analysis.

    – Wilson Hauck
    Jun 8 at 13:27













1












1








1








I have a local site running Magento 2 Enterprise set up on a Hyper-V virtual machine running Ubuntu 18.04 and Nginx. I've got 4 CPUs and plenty of RAM assigned to the virtual machine.



This same site is running quickly on a remote hosting server, even though the hosting server I'm signed up for is one of the lowest tier services (so it doesn't have a huge amount of resources). Yet the site still runs quickly.



When I'm running this site locally, requirejs takes an unreasonably long time (10+ minutes) to load the JavaScript for a page. Here's an example of how long it's taking to load small JavaScript files. Everything that's being loaded is core Magento (no custom stuff) and most of the JavaScript files are 1-2 KB, with some being under 1 KB. The largest one was 34 KB. I'm using the default Luma theme.



enter image description here



What could be causing these files to load so slowly? Each JavaScript file is tiny, so there's no reason why the page should be hanging for several minutes or more while Magento loads JavaScript files. What could be causing this?



I'm doing development so I don't want to turn on the merge JavaScript option while I'm still in development mode.










share|improve this question














I have a local site running Magento 2 Enterprise set up on a Hyper-V virtual machine running Ubuntu 18.04 and Nginx. I've got 4 CPUs and plenty of RAM assigned to the virtual machine.



This same site is running quickly on a remote hosting server, even though the hosting server I'm signed up for is one of the lowest tier services (so it doesn't have a huge amount of resources). Yet the site still runs quickly.



When I'm running this site locally, requirejs takes an unreasonably long time (10+ minutes) to load the JavaScript for a page. Here's an example of how long it's taking to load small JavaScript files. Everything that's being loaded is core Magento (no custom stuff) and most of the JavaScript files are 1-2 KB, with some being under 1 KB. The largest one was 34 KB. I'm using the default Luma theme.



enter image description here



What could be causing these files to load so slowly? Each JavaScript file is tiny, so there's no reason why the page should be hanging for several minutes or more while Magento loads JavaScript files. What could be causing this?



I'm doing development so I don't want to turn on the merge JavaScript option while I'm still in development mode.







magento2 performance requirejs magento2.3.1






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jun 7 at 3:11









Ben RubinBen Rubin

2118




2118












  • Additional information request from your local PC. Post on pastebin.com and share the links. RAM size of your MySQL Host server A) complete (not edited) my.cnf or my.ini Text results of: B) SHOW GLOBAL STATUS; after minimum 24 hours UPTIME C) SHOW GLOBAL VARIABLES; D) SHOW FULL PROCESSLIST; E) complete MySQLTuner report AND Optional very helpful information, if available includes - htop OR top OR mytop for most active apps, ulimit -a for a linux/unix list of limits, iostat -xm 5 3 for IOPS by device and core/cpu count, for server workload tuning analysis.

    – Wilson Hauck
    Jun 8 at 13:27

















  • Additional information request from your local PC. Post on pastebin.com and share the links. RAM size of your MySQL Host server A) complete (not edited) my.cnf or my.ini Text results of: B) SHOW GLOBAL STATUS; after minimum 24 hours UPTIME C) SHOW GLOBAL VARIABLES; D) SHOW FULL PROCESSLIST; E) complete MySQLTuner report AND Optional very helpful information, if available includes - htop OR top OR mytop for most active apps, ulimit -a for a linux/unix list of limits, iostat -xm 5 3 for IOPS by device and core/cpu count, for server workload tuning analysis.

    – Wilson Hauck
    Jun 8 at 13:27
















Additional information request from your local PC. Post on pastebin.com and share the links. RAM size of your MySQL Host server A) complete (not edited) my.cnf or my.ini Text results of: B) SHOW GLOBAL STATUS; after minimum 24 hours UPTIME C) SHOW GLOBAL VARIABLES; D) SHOW FULL PROCESSLIST; E) complete MySQLTuner report AND Optional very helpful information, if available includes - htop OR top OR mytop for most active apps, ulimit -a for a linux/unix list of limits, iostat -xm 5 3 for IOPS by device and core/cpu count, for server workload tuning analysis.

– Wilson Hauck
Jun 8 at 13:27





Additional information request from your local PC. Post on pastebin.com and share the links. RAM size of your MySQL Host server A) complete (not edited) my.cnf or my.ini Text results of: B) SHOW GLOBAL STATUS; after minimum 24 hours UPTIME C) SHOW GLOBAL VARIABLES; D) SHOW FULL PROCESSLIST; E) complete MySQLTuner report AND Optional very helpful information, if available includes - htop OR top OR mytop for most active apps, ulimit -a for a linux/unix list of limits, iostat -xm 5 3 for IOPS by device and core/cpu count, for server workload tuning analysis.

– Wilson Hauck
Jun 8 at 13:27










1 Answer
1






active

oldest

votes


















0














We always remember about Cache first. As I see, the Js and css should be loaded from disk cache or from memory cache. So, make sure Magento cache and Browser cache are enabling.



My current laptop hardware: 128GB SSD, 12GB RAM, Ubuntu 18.

Magento 2.3.1 default.



enter image description here



[NOTE] On checkout page, Magento will load a lot of Js files. So, it will be a bit slower.






share|improve this answer

























  • I have to clear the cache a lot because I'm doing development. Even with the cache empty, ten minutes still seems like way too long a time for Magento to load a page.

    – Ben Rubin
    Jun 7 at 19:04











  • Did you use xDebug?

    – Khoa TruongDinh
    Jun 7 at 21:24











Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f277544%2fpage-loads-take-around-10-minutes-due-to-requirejs%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














We always remember about Cache first. As I see, the Js and css should be loaded from disk cache or from memory cache. So, make sure Magento cache and Browser cache are enabling.



My current laptop hardware: 128GB SSD, 12GB RAM, Ubuntu 18.

Magento 2.3.1 default.



enter image description here



[NOTE] On checkout page, Magento will load a lot of Js files. So, it will be a bit slower.






share|improve this answer

























  • I have to clear the cache a lot because I'm doing development. Even with the cache empty, ten minutes still seems like way too long a time for Magento to load a page.

    – Ben Rubin
    Jun 7 at 19:04











  • Did you use xDebug?

    – Khoa TruongDinh
    Jun 7 at 21:24















0














We always remember about Cache first. As I see, the Js and css should be loaded from disk cache or from memory cache. So, make sure Magento cache and Browser cache are enabling.



My current laptop hardware: 128GB SSD, 12GB RAM, Ubuntu 18.

Magento 2.3.1 default.



enter image description here



[NOTE] On checkout page, Magento will load a lot of Js files. So, it will be a bit slower.






share|improve this answer

























  • I have to clear the cache a lot because I'm doing development. Even with the cache empty, ten minutes still seems like way too long a time for Magento to load a page.

    – Ben Rubin
    Jun 7 at 19:04











  • Did you use xDebug?

    – Khoa TruongDinh
    Jun 7 at 21:24













0












0








0







We always remember about Cache first. As I see, the Js and css should be loaded from disk cache or from memory cache. So, make sure Magento cache and Browser cache are enabling.



My current laptop hardware: 128GB SSD, 12GB RAM, Ubuntu 18.

Magento 2.3.1 default.



enter image description here



[NOTE] On checkout page, Magento will load a lot of Js files. So, it will be a bit slower.






share|improve this answer















We always remember about Cache first. As I see, the Js and css should be loaded from disk cache or from memory cache. So, make sure Magento cache and Browser cache are enabling.



My current laptop hardware: 128GB SSD, 12GB RAM, Ubuntu 18.

Magento 2.3.1 default.



enter image description here



[NOTE] On checkout page, Magento will load a lot of Js files. So, it will be a bit slower.







share|improve this answer














share|improve this answer



share|improve this answer








edited Jun 7 at 4:53

























answered Jun 7 at 4:38









Khoa TruongDinhKhoa TruongDinh

22.7k64491




22.7k64491












  • I have to clear the cache a lot because I'm doing development. Even with the cache empty, ten minutes still seems like way too long a time for Magento to load a page.

    – Ben Rubin
    Jun 7 at 19:04











  • Did you use xDebug?

    – Khoa TruongDinh
    Jun 7 at 21:24

















  • I have to clear the cache a lot because I'm doing development. Even with the cache empty, ten minutes still seems like way too long a time for Magento to load a page.

    – Ben Rubin
    Jun 7 at 19:04











  • Did you use xDebug?

    – Khoa TruongDinh
    Jun 7 at 21:24
















I have to clear the cache a lot because I'm doing development. Even with the cache empty, ten minutes still seems like way too long a time for Magento to load a page.

– Ben Rubin
Jun 7 at 19:04





I have to clear the cache a lot because I'm doing development. Even with the cache empty, ten minutes still seems like way too long a time for Magento to load a page.

– Ben Rubin
Jun 7 at 19:04













Did you use xDebug?

– Khoa TruongDinh
Jun 7 at 21:24





Did you use xDebug?

– Khoa TruongDinh
Jun 7 at 21:24

















draft saved

draft discarded
















































Thanks for contributing an answer to Magento Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f277544%2fpage-loads-take-around-10-minutes-due-to-requirejs%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

Circuit construction for execution of conditional statements using least significant bitHow are two different registers being used as “control”?How exactly is the stated composite state of the two registers being produced using the $R_zz$ controlled rotations?Efficiently performing controlled rotations in HHLWould this quantum algorithm implementation work?How to prepare a superposed states of odd integers from $1$ to $sqrtN$?Why is this implementation of the order finding algorithm not working?Circuit construction for Hamiltonian simulationHow can I invert the least significant bit of a certain term of a superposed state?Implementing an oracleImplementing a controlled sum operation

Magento 2 “No Payment Methods” in Admin New OrderHow to integrate Paypal Express Checkout with the Magento APIMagento 1.5 - Sales > Order > edit order and shipping methods disappearAuto Invoice Check/Money Order Payment methodAdd more simple payment methods?Shipping methods not showingWhat should I do to change payment methods if changing the configuration has no effects?1.9 - No Payment Methods showing upMy Payment Methods not Showing for downloadable/virtual product when checkout?Magento2 API to access internal payment methodHow to call an existing payment methods in the registration form?