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
1
vote
0answers
155 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
68 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 ...
1
vote
1answer
186 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 ...
6
votes
1answer
322 views

Sitecore 8.2 MVC site setup and Issues

I am creating a Sitecore 8.2 MVC test website and I am getting couple of errors and client form validation Issue. Get methods are working fine but post method is not working. I have exact same test ...
3
votes
2answers
497 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.
0
votes
1answer
45 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 ...
0
votes
1answer
217 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 ...
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 ...