Close

     

Our Blog

How to disable JavaScript bundling for particular page in Magento 2

November 28, 2018 // by Dmytro Cheshun

JavaScript bundling is an optimization technique you can use to reduce the number of server requests for JavaScript files. It is achieved by merging multiple JavaScript files together into one file to reduce the number of page requests. By default, Magento 2 allows excluding the particular JavaScript files from bundling by specifying the corresponding file in exclude node of the etc/view.xml file for a theme. However, sometimes it’s not enough.

Comments (0)

Advices and Best Practices for Magento developers | Part 2

November 26, 2012 // by Yaroslav Rogoza

We continue to share our experience with Magento developers by publishing the next set of Best Practices in Magento coding. If you missed our previous article, here it is.

Comments (4)

AJAX requests in Magento

October 21, 2011 // by Nick Kravchuk

AJAX is a great technology that is used to improve user experience and avoid page reloads, but how can you use it in your own Magento modules? Let’s explore…

1) You should either create a controller, for example: Namespace/YourModule/controllers/AjaxController.php or create a new action in an existing controller

Comments (10)