Combo-ing the Binders #487

Closed
gvaish opened this Issue Sep 12, 2012 · 5 comments

Projects

None yet

3 participants

@gvaish
gvaish commented Sep 12, 2012

The HTMLFrameMojit adds on "script" tag each for the mojit used in a page. On a complex page, the number can go in 10s - which is a huge number of requests.

Feature Request

The binders may be served via a combo URL - configurable

@redonkulus
Contributor

You can use Shaker for handling assets from CDN and rolling up files:
https://github.com/yahoo/mojito-shaker

@gvaish
gvaish commented Sep 12, 2012

Will give a shot and report the updates.

@caridy
Collaborator
caridy commented Sep 15, 2012

You should strike for not serving any static asset from your node.js server, instead versioning them and serving them from CDN. As @redonkulus you should use shaker.

@gvaish
gvaish commented Sep 15, 2012

@caridy That's precisely the idea... CDN serving after combo-ing the binders.

Will checkout the shaker... had done earlier but received some gotchas. That was in 0.x, now it's 2.x. Tempted to give a full shot this time!

@caridy
Collaborator
caridy commented Jan 29, 2013

This is now solved with the new infrastructure in 0.5.x. Closing.

@caridy caridy closed this Jan 29, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment