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

Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

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

Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form