Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Include asset versioning #1509

Closed
Xyroid opened this issue Sep 15, 2016 · 2 comments
Closed

Include asset versioning #1509

Xyroid opened this issue Sep 15, 2016 · 2 comments

Comments

@Xyroid
Copy link

Xyroid commented Sep 15, 2016

Since MEAN app depend heavily on Javascript files, it would be better if assets like CSS, JS and image files are versioned if they are changed. It helps it busting cache issues. In ASP.NET bundling provide minification and versioning. I was searching the same for MEAN and reached to gulp-rev npm module. But I am new to MEAN and I find it hard to integrate. If any one has used then please guide me for it. I also request to integrate it MEANJS itself.

@lirantal
Copy link
Member

Hi @Xyroid

That's a great idea and that plugin should be exactly what we need.
If you're able to figure out how to write this in our gulpfile.js configuration then I'd be happy to see a PR opened.

@Xyroid
Copy link
Author

Xyroid commented Sep 28, 2016

Hi @lirantal I am not able to figure out regarding integrating gulp-rev npm module because I am still learning MEAN. I also don't use gulp too much. If MEANJS team can do something, that'll be awesome.

lirantal pushed a commit that referenced this issue Oct 6, 2016
Asset versioning for prod - idea from #1509

Fixes #1509
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants