Questions tagged [render-blocking]
The render-blocking tag has no usage guidance.
16
questions
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.
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.
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 ...
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"
...
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\...
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/...
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?
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="-">
<...
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, ...
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 ...
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 ...
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 ...
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 ...
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 ...
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">...
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 ...