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
2 votes
1 answer
80 views

BundleTransformer: AssetTranslationException Could not find factory

I am using BundleTransformer for bundling the css and javascript. This is working fine with my Sitecore 9.3's MVC solution. I just upgraded sitecore to 10.3 and deployed the managed code. There is an ...
Yeshwanth's user avatar
3 votes
1 answer
122 views

Is there a way to add a cache buster to the RenderFormScripts Html helper function?

In our outerlayout.cshtml file we have the following code: @Html.RenderFormScripts() which seems to loop round the JS files, that have been attached to the Sitecore form: and create script tags for ...
Adam Brunt's user avatar
2 votes
2 answers
590 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 ...
Michael's user avatar
  • 520
0 votes
1 answer
812 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 ...
sukesh's user avatar
  • 3,131
0 votes
2 answers
716 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 ...
sukesh's user avatar
  • 3,131
1 vote
0 answers
754 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 ...
JKerny's user avatar
  • 349
2 votes
1 answer
279 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 ...
JKerny's user avatar
  • 349
2 votes
1 answer
417 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 ...
Sreekrishnan's user avatar
3 votes
2 answers
1k 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.
Siddharth's user avatar
  • 527
0 votes
1 answer
64 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 ...
Ken McAndrew's user avatar
  • 5,102
0 votes
1 answer
262 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 ...
Phoenix_uy's user avatar
4 votes
1 answer
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 ...
eat-sleep-code's user avatar