Questions tagged [bundling]

Bundling combine or bundle multiple files into a single file. You can create CSS, JavaScript and other bundles. Fewer files means fewer HTTP requests and that can improve first page load performance. All questions related to this in Sitecore reference, should use this tag.

Filter by
Sorted by
Tagged with
6
votes
1answer
452 views

Sitecore 8.2 MVC site setup and Issues

I am creating a Sitecore 8.2 MVC test website and I am getting a couple of errors and client form validation Issues. Get methods are working fine but the post method is not working. I have exact same ...
0
votes
2answers
79 views

Bundling and Minification not working after upgrade

After upgrading to 9.3 from 8.2.3, css (and I assume script) bundling is not working. When I view the page source, it LOOKs like it should be working; I see the css bundle link, but the page is ...
0
votes
1answer
129 views

What is the use of remove-module & IgnoreUrlPrefixes in bundling

I have followed the steps from this document, to setup bundling & minification in my local instance. It works with & without executing the last two steps, which are: Adding the remove ...
0
votes
2answers
255 views

Bundling not working in Sitecore MVC

I'm trying to implement bundling in Sitecore 8.2 and followed all the steps in this document. The breakpoint is hit for the RegisterBundles method, but the assets are not rendered on page. In the ...
0
votes
1answer
244 views

Loading specific stylesheets and css (bundling) depending on included controls? [duplicate]

I'm new in Sitecore and I need to know how to manage the styling and javascript files for the controls. I have a control that can be many times on the website, so if I place the bundle on the cshtml ...
2
votes
1answer
279 views

Sitecore MVC Bundling Optimization

I have created bundling in my project as follows : Have created a config under App_Start/BundleConfig.cs public class BundleConfig { [UsedImplicitly] public virtual void Process(PipelineArgs ...
3
votes
2answers
692 views

Bundling and Minification of Javascript and CSS files

How to perform bundling and minification of Javascript and CSS files kept in sitecore/media library path.
1
vote
0answers
372 views

Asset Bundling: Could not load file or assembly 'WebGrease, Version=1.5.1.25624

I am trying to bundle css and js on a sitecore 9.0.2 solution. I am getting the above run time error when the view calls the Styles.Render method. I am using Web.Optimizations 1.1.3 which is dependent ...
2
votes
1answer
128 views

How to set up Asset Bundling

I am trying to bundle assets. I read Is there something in Sitecore 8.2 that breaks bundling? which was the simplest example I could find. My RegisterBundles.Void() method is not being hit and ...
0
votes
1answer
50 views

Using MS optimization bundles in extension sections

Likely a few folks have seen this code before as a way to get around Sitecore not supporting MVC sections, so we can place CSS and JS in the right place on our page: public static class ...
4
votes
1answer
1k views

Is there something in Sitecore 8.2 that breaks bundling? [duplicate]

I just upgraded our Sitecore 8.1 Update 2 install to Sitecore 8.2 Update 1. Our solution has utilized MVC bundling since we implemented it a year ago. But now -- after the upgrade -- bundling no ...