Questions tagged [optimization]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
1 answer
32 views

How to optimize the config save on Adobe Commerce 2.4.7?

I have Adobe Commerce 2.4.7, with 500 stores, and my store configs take almost a minute to save the configs due to the huge traffic and large database. I heard that I could optimize it on 2.4.7. How ...
Rafael Corrêa Gomes's user avatar
0 votes
1 answer
40 views

how to remove js files from layout added to page through require or direct src

i want to remove js files from a layout checkout_index_index which is loading by require or direct src. 1) <script src="https://abc.abc.ai/prompt.js" src_type="url" /> ...
nihal malik's user avatar
0 votes
0 answers
19 views

Magento 2 - Empty API call performance

I would like to know how you are doing either locally or ideally in production on an empty (rest or graph I guess) API call. Basically, how much time does Magento take to just load without even doing ...
MaryShaw's user avatar
0 votes
1 answer
126 views

List of log tables to safely truncate in Magento 2?

For Magento 1, here is a list of log/cache tables which can be safely truncated. Is there a similar list of tables for Magento 2, which can be truncated/deleted without deleting base data? Please note ...
amitshree's user avatar
  • 6,986
0 votes
1 answer
540 views

How to optimize Magento 2 indexer

I'm having one magento 2 website which contains 1 million products. The website is based on MSI and there are multiple CRON jobs running on hourly basis to do the inventory and price updates. So the ...
Sandeep Nair's user avatar
-1 votes
1 answer
424 views

What are some best practices for optimizing the front end performance of an Adobe Commerce store, with an emphasis on increasing lighthouse scores?

For someone looking to increase the front end speed and optimize the front end performance of an Adobe Commerce store, with an emphasis on lighthouse scores, what would be some good starting points to ...
Joshua34's user avatar
  • 2,307
0 votes
0 answers
44 views

Magento2 category page first time taking time to open

Magento2 category page first time taking time to open & then the varnish from server is applied. How to solve this issue?
Arjun's user avatar
  • 3,576
2 votes
2 answers
49 views

Is our hosting provider lying to me?

Magento 2.4.2-p1 Porto theme Amasty extensions I have a VPS Cloud4 account ($140/month) with the following specifications: 6 x 2.50 GHz Cores 16 GB ECC RAM 320 GB SSD Space 8 TB Bandwidth cPanel/WHM/...
Allysin's user avatar
  • 250
0 votes
1 answer
25 views

What methods do you use to optimize the work and performance of the backend part (.php)?

I want to try to optimize the performance of Magento 2. After searching this question, I see that for the most part everyone removes modules that are not used on the project or that are obsolete. But ...
David Young's user avatar
0 votes
1 answer
71 views

Magento 2: Different servers shows different TTFB for same project

I have the same project copy on two different servers and both the server shows different TTFB. On one server TTFB is 25ms & on another server it is 3s. Are there any server variables that slow ...
quickshiftin's user avatar
0 votes
1 answer
403 views

Magento 2.4.2 - reporting_system_updates table contain large data

I want to optimize the reporting_system_updates table in my database it is already over 5GB of data. Can I safely truncate/delete this table? If so then anything will happen with my Magento setup? ...
James's user avatar
  • 1
0 votes
1 answer
295 views

Does Magento execute a query to get the review count of each single product on the category listing page?

Let's say that your category page shows 36 products at a time and shows the rating/review count underneath each product title. Does Magento perform 36 queries to get each of the product's review ...
Timothy Fisher's user avatar
0 votes
1 answer
318 views

How to increase site performance by CSS and JS blocks from external Extensions

Hi here my site getting E grade rating in GTmetrix because of some CSS and JS files which came with some extensions. message as Critical am getting: Resources are blocking the first paint of your page....
Praveen Negimani's user avatar
0 votes
1 answer
186 views

Magento2: Slow Catalog Pages Loadtime

I have a website built on the top of magento 2, the problem is when I go to any of the catalog pages, the html takes significant time to load for the first time, as shown in the following screenshot: ...
Eng7's user avatar
  • 101
1 vote
1 answer
443 views

How to change or set cache key based on browser user agent?

Is it possible to maintain separate caches in Varnish or Fastly for desktop and mobile users? I am trying to load only the required items in the mobile devices instead of loading all CSS files, blocks,...
Sathish's user avatar
  • 829
1 vote
0 answers
192 views

Luma theme has high CLS. Any suggestions to fix it?

So, trying to find ways to lower my CLS I figured to run a demo Luma site to determine a baseline. Well, that is one bad baseline with a CLS of 0.2 or 0.4, depending how pagespeed interprets the ...
user82276's user avatar
1 vote
0 answers
223 views

How can I prevent styles-l.css loading for mobile only?

I'm trying to clean up some of our over stuffed css and js. Chrome inspector shows that styles-l.css is 100% unused for mobile and is used a little for desktop. I used 'remove' in the ...
Sparko's user avatar
  • 121
0 votes
2 answers
3k views

How to remove unused js from home page in Magento 2

There are so many js files not used on home page in Magento 2. So, I want to remove it from home page. But, it's not remove still loading on home page. Non used js example : jquery/ui-modules/...
Ankita Patel's user avatar
0 votes
1 answer
566 views

Magento 2.4.2: SyntaxError: Unexpected token: name (url)

I'm following the instructions to get advanced JS bundling done. I have been doing this over a year without much difficulty. This time around, I find the error below and I would like to know if there ...
CodeForGood's user avatar
0 votes
2 answers
268 views

Magento 2: optimization

I am facing issue with Magento 2 optimization server response What are the measures that are required to fix this My current Magento version in 2.3.4 running on the Cloudflare server
Paras Arora's user avatar
0 votes
2 answers
305 views

how to optimize queries in magento 1.9 with lots of attributes (over 500)

I have a website running Magento 1.9 which is flooding mysql with slow queries like this SELECT COUNT(DISTINCT e.entity_id) FROM `catalog_product_entity` AS `e` INNER JOIN `...
gabtzi's user avatar
  • 656
1 vote
0 answers
1k views

Magento 2: Remove unused JS from home page

There are several unused JS files which we do not use on the homepage. JS files are: jquery/ui-modules/datepicker.js jquery/ui-modules/timepicker.js moment.js jquery/ui-modules/sortable.js jquery/...
Sameer Bhayani's user avatar
0 votes
1 answer
114 views

Magento Command for bulk Optimizing existing Product images

How to optimize existing Product images via commandline, similar to resize command. php bin/magento catalog:images:resize https://docs.magento.com/user-guide/catalog/product-image-resizing.html This ...
Shailesh's user avatar
  • 133
0 votes
2 answers
200 views

Everything in one module or split up in multiple?

Module We're creating a webshop and are mostly creating every file we need in app/code/vendor/module right now. This means we have lots of different features like widgets and logic for multiple ...
Alphaegen's user avatar
0 votes
2 answers
183 views

How to optimize images in magento2

My site speed is very slow. Can anyone please let me know how can I optimize all the images? So, my site loading can be faster.
gill's user avatar
  • 329
3 votes
1 answer
503 views

Defer merged css in Magento 2

I need to Defer merged css using JavaScript. Is there any possibilities to defer merged css. Example code i want to do. <noscript id="deferred-styles"> <link rel="...
Jagveer Singh's user avatar
0 votes
1 answer
403 views

WebP Images Google Safari Image Optimization

WebP Images Google Safari Image Optimization We are using Amasty Google Page Speed Optmization Extension for Magento 2 which has Image Optimization options - There are options to covert images to webp ...
jt9489's user avatar
  • 175
0 votes
1 answer
809 views

Ram memory issue on Magento 2.3.4 website

I have a Magento 2.3.4 website on my server in Production mode. When I check memory usage with "top" command, I got a very high memory usage like this: There are so many php-fpm processes ...
Jack Pepper's user avatar
1 vote
1 answer
16 views

Code optimization, adaptation to a large number of conditions

I need to make a condition, if the server code has a certain value, then it will set the appropriate currency. I did this via an if else condition. But if there are many 5+ conditions, it will look ...
Alice's user avatar
  • 148
1 vote
2 answers
2k views

Magento 2 Varnish issue with images

Last days was trying to investigate why my magento 2.3.5p1 instance needed for uncached pages about 10-11 secs to load, measured with timer. I identified that the issues was Porto's template mega menu ...
G. G.'s user avatar
  • 1,132
0 votes
1 answer
211 views

How to reduce a large Magento 2 installation?

I'm using Magento 2.4 and my installation is using 200GB, I'd like to reduce it. I want to remove old logs, backups, caches, duplicated images and etc. How could I optimize it?
Rafael Corrêa Gomes's user avatar
1 vote
1 answer
74 views

Magento 2 Store Optimization?

I want to optimize magneto store. Magento store is deployed on Aws. I have not installed SSL certificate yet because It is still in development phase so I have not mapped it with domain name it is an ...
Anonymous Record's user avatar
0 votes
1 answer
41 views

Magento store optimization?

I am facing problem the total number of request send to server is 223 which is huge and due to which loading time is 13 seconds How can I reduce number of elements I have merged and minify JS and css
Anonymous Record's user avatar
0 votes
1 answer
629 views

404/410 responses. Either fix the broken links or remove the references to non-existent

following errors are returned when our site is tested on gtmetrix. Could you please share your insights into how to resolve them?
CodeForGood's user avatar
0 votes
1 answer
360 views

How to optimize my indexes cron execution?

I'm checking how to optimize my cron execution in the reindex action, and I saw the option to run the index job in a separated process. How does it work? can it be helpful to optimize the execution?
Rafael Corrêa Gomes's user avatar
0 votes
1 answer
92 views

Magento 2 How load product by sku and boot the system minimally?

Me need minimal load system that get ONLY: Product Name, Product Type, Product Url, Thumbnail Url, Price, Sub products for Configurable. Preferably use catalog_product_flat_ table (i think it's good ...
David Young's user avatar
0 votes
5 answers
2k views

Magento 2.2.2 site loading speed is very slow

I am using Magento 2.2.2 EE nginx + varnish + cdn still site is loading very slow for the very first time when I flush the cache from terminal using command 'php bin/magento cache:flush' or from ...
Chander Shekhar's user avatar
1 vote
1 answer
259 views

Magento 2 Js optimization

I use bundle js in magento2 now when i run command the error is comming Error: ENOENT: no such file or directory, open 'E:/projecct/tts-core-au-deveopment/pub/static/frontend/Sm/custom/en_AU/...
imtiazau's user avatar
  • 379
0 votes
1 answer
97 views

How can I add critical JS on Magento 2.3.3?

Magento 2.3.3 has "Move JS code to the bottom of the page" function which moves all JS code to bottom of the page. I need some JS code(Seal Verification Code which showing verification icon) not ...
Pejman Sufer's user avatar
0 votes
1 answer
134 views

Developer mode enable js merging

I searched for an answer, but I didn't find one. I like to enable js merging and compressing in Magento 2 developer mode. Is this possible? I enabled them in admin, but the merging is not working
tarek fellah's user avatar
0 votes
0 answers
49 views

How to speed up the magento 2.2.5 website in production mode

How to speed up the Magento 2.2.5 website in production mode I have tried all default options but still its very slow website url : [https://www.thedottedi.in/] please help me out on this Thanks ...
Chala Chalapathi's user avatar
0 votes
0 answers
40 views

How CSS loads partially or not at all in Magento 1?

I have an extremely weird problem that I face for the first time. From time to time (it's really absolutely random), the CSS of a Magento 1.9.3.10 store is not fully loaded. It can happen on a ...
Martin Konstantinov's user avatar
1 vote
0 answers
166 views

How to fix a long Time to Interactive in google pagespeed : Magento 2

Can anyone help me to fix " Time to Interactive " In magento 2? I really hope anyone can help me or tell me how to fix it Bad score on google pagespeed - 38 sec
lars's user avatar
  • 11
0 votes
0 answers
38 views

Magento 1.9 Localhost first request Wait Time very high

I know there had been many queries regarding the topic and I went through almost all of it. The point where my query is slightly different from the rest is that my magento website runs pretty well in ...
arqam's user avatar
  • 149
5 votes
3 answers
5k views

How to enable CSS Critical Path in Magento 2

How to enable CSS Critical Path in Magento 2.3? Ref: https://devdocs.magento.com/guides/v2.3/frontend-dev-guide/css-topics/css-critical-path.html When I try to enable it, I'm getting the below error. ...
Nagendra Kodi's user avatar
1 vote
1 answer
265 views

get customer who have not placed order from last 3 months but in optimized way

I need to optimized my answer. $start=2019-05-18 00:00:01; $end=2019-05-18 23:59:59; $customerArr=array(); $customers = Mage::getModel('customer/customer')->getCollection() ->...
Inzamam Waikar's user avatar
0 votes
1 answer
77 views

Magento 2 optimization - loading time is high

High configuration server with Redis configuration. Gtmatrix - https://gtmetrix.com/reports/mastersdirect.masters-sp.com/UQcit4p9 Waiting time is 2.68 s. Created a normal controller and exit in the ...
vijay raut's user avatar
0 votes
0 answers
34 views

how to optimize storage problem in magento 2

magento ver 2.2.6 i have 2,000 products but storage 16GB (pub/media folder 14GB) how i can optimize this storage problem..
prabhakaran7's user avatar
  • 1,077
-1 votes
2 answers
325 views

Recommendation for Free Lazy Loading Extensions Magento 2

I'm looking for a recommendation for free lazy loading extension that is likely works for Magento 2.2.9 with infortis ultimo theme. here are some list i found: -welt MAGENTO 2 LAZY LOAD PRODUCTS ...
Mage Explorer's user avatar
0 votes
1 answer
46 views

Consistent URL issue on magento1.9 site optimization

Getting issue in Website Optimization: Serve resources from a consistent URL All url are of small image of different products on the same page. https://www.text-machines.com/media/catalog/product/...
Yogita's user avatar
  • 784