Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Name the asset as a bundle for caching purposes #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Name the asset as a bundle for caching purposes #2

wants to merge 1 commit into from

Conversation

sz1149
Copy link

@sz1149 sz1149 commented Jul 28, 2015

I like what you have done with DynamicBundles and am planning on using it in a project; good work.

I thought an enhancement would be to add /bundle/ to the path. The reason is so response headers on /bundle/ can be added to enable browser caching resulting in faster page load time. I tested this by adding cache control rules in IIS on the /bundle/ path and was pleased with the result.

Let me know your thoughts.

Thank you,
Stuart

Naming the asset as a bundle for caching purposes, so the server can add
response headers to enable browser caching on */bundle/*.
@mperdeck
Copy link
Owner

mperdeck commented Aug 2, 2015

Thanks for your pull request. I'm glad you like the idea behind (my take on) dynamic bundles.

I am interested in your pull request and your thinking behind it. However, I'm overseas at the moment. I'll look at it when I'm back home mid September.

@RudeySH
Copy link

RudeySH commented Jan 27, 2017

Will this ever be merged? If so, I would suggest to use "~/bundles/" with an "s", that seems to be the default naming convention for bundles in ASP.NET.

@MrCsabaToth
Copy link

Will this be merged? Sounds like a performance improvement.

@RudeySH
Copy link

RudeySH commented Oct 10, 2018

For future readers: I forked dynamicbundles a while ago and merged this pull request over there. https://github.com/RudeySH/dynamicbundles

@MrCsabaToth
Copy link

@RudeySH Oh yes, and yours is available as a NuGet package as well also. I highly recommend to anyone!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants