Questions tagged [optimization]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
13 views

Magento 2.2.8: Is it possible to optimize the validation process of the cart rules?

I find that with a cart of 400 products and 300 cart rules when adding a product or going to finish the purchase takes minutes. I have been debugging processes but it is a dangerous thing to ...
0
votes
6answers
149 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 ...
1
vote
1answer
50 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/...
0
votes
0answers
38 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 ...
0
votes
1answer
31 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
0
votes
0answers
34 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 ...
0
votes
0answers
19 views

How to optimize the code in magento2?

I have run profiler in my live site and i am using mageplaza onestepchekout. IT almost take 11sec to load. How to improve onestepcheckot speed. FPC on Varnish enabled. Redis enabled.
0
votes
0answers
26 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 ...
1
vote
0answers
55 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
0
votes
0answers
23 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 ...
2
votes
1answer
633 views

How to enable CSS Critical Path in Magento 2

How to enable CSS Critical Path in Magento 2.3.0 Reff: https://devdocs.magento.com/guides/v2.3/frontend-dev-guide/css-topics/css-critical-path.html When I try to enable, I'm getting the below error. ...
1
vote
1answer
31 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() ->...
0
votes
1answer
34 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 ...
0
votes
0answers
26 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..
0
votes
1answer
45 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 ...
0
votes
1answer
30 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/...
4
votes
3answers
286 views

Magento 2: I am not aware about Magento optimization. Can you please share the steps for this?

I am not aware about Magento optimization. Can you please share the steps for this? How to compete with this? Thanks
1
vote
1answer
31 views

Optimising the Magento 2 backend

In general, the loading times of pages in the backend are around 2 seconds. Can't really argue with that. However, I have noticed that Grid Pages (such as the Order and Products) require additional ...
0
votes
2answers
77 views

Improving Performance

We run a Magento 1.9 online store. It contains 110,000 products. We are running into issue around long page load times for category pages and product pages. Dedicated WebApp server specs: - Apache 2....
1
vote
1answer
777 views

How do i remove unused css from magento 2 homepage?

I am not getting good performance when i audit my website with chroome lighthouse. I am getting few errors like - Remove unused CSS - Ensure Text Remain Visible during web front load - Minimize main ...
0
votes
1answer
18 views

Admin Menu doesn't slide out and configuration menue doesn't open. Also buttons not working

Preconditions (*) Magento 2.3.1 Ubuntu 18.04.2 LTS PHP 7.2.17 Working in dev environment and and enabled few optimization parameters which made admin panel inaccessible and buttons were don't appear ...
0
votes
3answers
682 views

Magento 2: Ram memory issue

I have Magento2 website on production mode. And i have 8gb ubuntu 16.04 server. But i have checked ram memory uses 99% so my website is working slow. Please any one tell me why used my memory 99%? ...
1
vote
2answers
162 views

Merge JS/CSS files

I'm trying to compress the code files on my magento 2 store. And so we wanted to use the Merge JS/CSS files in the magento 2 admin. We are not programmers, and we would like to not have to contact ...
0
votes
7answers
944 views

Magento 2 increase site speed

Magento 2 website speed very slow as per https://developers.google.com/speed/pagespeed/insights/ Result of site:- Reduce server response times (TTFB) - 1.68 s JavaScript execution time - 2.9 s ...
1
vote
1answer
39 views

magento 2 remove root lib/web/ js files from home page

Magento 2 sends around 300 request on home page so speed is very slow. Also, bundling create very large file so its taken time to load resources. I want to remove js from root lib/web from home page. ...
0
votes
1answer
347 views

Magento 2 Optimization Eliminate render-blocking resources on a Merged css and js files

I am optimizing the Magento 2.2.6 Website.In Google Page Speed test suggestion Eliminate render-blocking resources. There are following files /pub/static/version1555309524/_cache/merged/...
1
vote
0answers
58 views

Magento 2 Issue with JavaScript and CSS Merge

I have checked my site for speed and it was requesting 258 requests. I have merged all JavaScript and CSS files and again tested it but still 251 requests are there. While in view page source I can'...
0
votes
0answers
88 views

Defer images in CMS blocks Magento 1.9.3

I am trying to speed up my page to get the best result on google but it is showing defer images. I have deferred the images on the pages but lazy loading is not working for any of the images in the ...
0
votes
2answers
113 views

How to optimize the images of a magento 2 site?

There is a site which have a lot of images of high quality because of which the load time of site is quite high. It is impossible to optimize images one by one as we have many images. So could anyone ...
0
votes
1answer
48 views

Minify CSS Magento 2

It possibile to fix this issue? Where is the file that i can minify? How can i find it? Thanks :) Magento 2.2.2 CE
0
votes
0answers
38 views

Magento 2 Optimization [duplicate]

I'm trying to optimize my website. On Gtmetrix it is giving me this "warning" How can I fix this issue "Use cookie-free domains"?
0
votes
0answers
35 views

Magento2: How can load all css and js files after 5 seconds on site load?

I want to load all css and js files after 5 seconds when site load. actually I am doing optimisation and css and js files taking so much time of load. I have minify js/css and merged css/js also. ...
5
votes
3answers
1k views

How to get a good Google Pagespeed mobile score for a Magento2 site?

We migrated a website from Drupal to Magento. After the migration the website's Google Pagespeed scores are much lower. With WordPress I can easily get to scores 99 for mobile and 100 for desktop. It'...
2
votes
0answers
72 views

How to edit source of the index page in Magento

I am a professional PHP developer, it's been like 2-3 days since I am trying to work with magento. My task is to optimize the index page. Thing is, I can not edit the "actual" source of index page. ...
2
votes
1answer
249 views

JS Merge vs JS Bundle which one is better for Google ranking

JS bundling saves page size in MBs but bundled js loaded synchronously. And the browser waits for js download completion. But in JS Merge Magento merges only those js which are required synchronously....
1
vote
0answers
31 views

Use of Image Compression

We have almost 300 products on our site. For each product, we have created the images. Let say, the average size of images for one product is 4MB. But as far as I understand, cache serves the ...
1
vote
6answers
1k views

Magento unable to add webp images to category thubmnail

I want to add webp images to category thumbnail, how can we do this, it gives below error on adding webp images "File validation failed."
0
votes
3answers
547 views

Check if product is saleable, without product load

There's the following code in my theme, that checks in a loop if products are saleable: foreach ($_products as $productId){ $product = $_productModel->load($productId); if (!$product->...
0
votes
2answers
760 views

Redis vs Memcached for Magento 2.3?

It says here that Redis is superior to Memcached, but I plan to update to upgrade my store to the latest Magento 2.3 Will Redis still work? Can't risk slowing the shop down
1
vote
1answer
852 views

Advanced js bundling

I try to optimize the bundles of magento with the information from devdocs . I try to do it on Magento 2.2.6 but the main issue is that after generating the bundles I get an error from the customer-...
0
votes
1answer
46 views

Minify JS cause an error in my store

I'm building a store using Magento CMS. It was all working fine, however a bit slow and so I decided to take some steps to optimize the store. The first one was the minify of the files. However, when ...
0
votes
1answer
200 views

Add tag “noscript” in HEAD for CSS files ( Magento 2)

I want to add tag "noscript" in head. <head><noscript id="deferred-styles"> <link rel="stylesheet" type="text/css" media="all" href="http://dev.magento2.com/magento2/pub/static/...
0
votes
1answer
271 views

Magento stock update via Direct SQL

I have to update 50000 stock levels from a csv file. I am running 2 SQL queries. One to obtain the productID from an EAN barcode and the other to update the stock. When iterating through a small ...
3
votes
3answers
2k views

Magento 2 : page speed optimization

Please provide me the suggestion regarding magento 2 store speed up? I already set the minified js and css from the admin panel. Also find too many request in the browser, how can we reduce server ...
2
votes
1answer
172 views

Possible issues after removing images of deleted products from media/catalog/product folder

From what I understood Magento2 deleting product behavior, associated images of the deleted product are not removing from media/catalog/product folder. I need to manage around 11.000 new products in ...
1
vote
1answer
26 views

Preventing the call to default.xml

I have default.xml overridden into my custom_theme but is actually an empty file(need not worry about the content). I want to prevent magento 2 from calling this empty file so as to improve the system ...
5
votes
2answers
2k views

Magento2 : Manage and understand images of deleted products behavior?

I'm trying to understand how M2 handle images of deleted products. If I delete a product (by admin or import/delete), all associated images in the media/catalog/product folder are still here. In M1 ...
1
vote
0answers
75 views

How to turn off URL rewrites for products not visible individually in Magento 2?

I have configurable products which in visible on the website. All it's associated simple/virtual products are not visible individually on the site. How I can turn off url_rewrites of these simple/...
1
vote
2answers
741 views

Magento 2 : Image scaling Magento

Is there any way to serve scaled images? Specially, when images are already uploaded like product images or some CMS page images. I'm not looking for some solution that will scale images one-by-one. ...
0
votes
1answer
166 views

What are the limitations of Magento 2 CE? [closed]

I've recently got a Magento 2 website project and I'm not sure which edition of Magento that I should go with. I Know Magento 2 EE has many advantages over the CE edition, but I need details only in ...