Questions tagged [render-blocking]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
2 answers
83 views

PageSpeed - How to reduce Reduce initial server response time and Eliminate render-blocking to increase page speed

In gtmetrix, I am facing high initial server response time and render-blocking resources.
kiran's user avatar
  • 547
0 votes
1 answer
336 views

How did you handle with the Eliminate render-blocking resources and Limit unused CSS in Magento 2

How did you handle with the Eliminate render-blocking resources in Magento 2 and Limit unused CSS it is about real treatments. I have enabled Varnish, Minify CSS, JS, WebP, Image attributes added.
mattkrupnik's user avatar
0 votes
1 answer
256 views

Magento 2 How to Render Child blocks in controller

I want to remove the 'Proceed to Checkout' button when the qty reaches a specified limit. For that I add a condition check in this page module-checkout\view\frontend\templates\onepage\link.phtml On ...
Jancy Abraham's user avatar
0 votes
2 answers
490 views

$block->getNameInLayout returns block's name but for configurable product returns alias

I'm trying to add a custom template just after ADD To Cart Button in product's page. In catalog_product_view.xml its defined as bellow: <block class="Magento\Catalog\Block\Product\View" ...
jefferson's user avatar
0 votes
1 answer
58 views

how to add option in the Action field

in my case i want to add more option inside a column 'Voir' fro example 'option2' in a grid created with block , like this: but for now i have just 'Renouveler' the function in the class \Magento\...
David montera's user avatar
1 vote
1 answer
1k 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/...
Hardik Makwana's user avatar
4 votes
2 answers
2k views

How do i eliminate render blocking css and js in magento 2

In google page-speed test it shows best opportunity to speed up is eliminate blocking resource. So is there anyone who can guide me to do this?
Nayem323's user avatar
  • 731
0 votes
0 answers
112 views

Magento 2 layout xml is not working

I am creating page layout using xml <referenceContainer name="content"> <container name="page.container.main" htmlTag="div" htmlClass="page-container-main" before="-"> <...
Himanshu's user avatar
  • 1,751
1 vote
1 answer
3k views

How to Eliminate render-blocking JavaScript and CSS in above-the-fold content

Google insights is showing eliminate render bloking javascripts and css in above the fold content, i have used all way of doing this but haven't got the right solutions. my magento version is 1.9, ...
pawan's user avatar
  • 11
0 votes
1 answer
6k views

Mage::app()->getLayout()->createBlock()->toHtml() taking much load time

I am calling a block method of another module in one of the .phtml file using below code-- Mage::app()->getLayout()->createBlock('tablisting/list')->toHtml(); this code works but it takes ...
Shashank Kumrawat's user avatar
1 vote
0 answers
1k views

How to display tier prices in custom page in magento 2?

I want to display of tier prices of simple product.I checked in catalog module and find tier prices block and its template defined in catalog_product_prices.xml.tier price block and templte rendering ...
Niraj Patel's user avatar
2 votes
1 answer
2k views

How do I eliminate render blocking JavaScript and CSS in above fold content [duplicate]

I am trying to improve my Google Page Insight score and it states that I need to do the following; Eliminate render-blocking JavaScript and CSS in above-the-fold content Your page has 1 blocking ...
user avatar
0 votes
1 answer
514 views

How do I remove Render Blocking JS?

A Google Page Speed Insights test has revealved that I need to remove render-blocking JavaScript. I am following this tutorial - https://varvy.com/pagespeed/defer-loading-javascript.html which ...
user avatar
6 votes
1 answer
6k views

Magento 2: Overriding Block class – not generating output

I'm trying to override the module-catalog/Block/Product/View/Options/Type/Select.php class with a new version which includes a few other bits of custom php (adding HTML classes and IDs to the ...
MikeMason's user avatar
  • 1,357
6 votes
1 answer
3k views

Magento 2: override block class by product type

Sorry but I dont know how to define my quetion.Let me show you code : Magento 1 : <checkout_cart_index> <reference name="checkout.cart"> <action method="addItemRender">...
Krupali's user avatar
  • 379
1 vote
2 answers
3k views

how to reorder the payment methods on front end?

In the payment method section I have three options and are in the following order.. 1.checkout with credit card 2.Payment with amazon 3.Pay with paypal And this method is getting rendered by the ...
Kishore Patra's user avatar