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

feat(core): Add prod asset versioning #1536

Merged
merged 1 commit into from
Oct 6, 2016
Merged

feat(core): Add prod asset versioning #1536

merged 1 commit into from
Oct 6, 2016

Conversation

sujeethk
Copy link
Contributor

feat(core): Add prod asset versioning

Asset versioning for prod - idea from #1509

Fixes #1509

@coveralls
Copy link

coveralls commented Sep 30, 2016

Coverage Status

Coverage remained the same at 73.224% when pulling d7f91e70120c2d748c767aefc853f2bd045f9013 on sujeethk:assetversioning into e3eafa6 on meanjs:master.

@sujeethk
Copy link
Contributor Author

maxAge is currently set to 1 day for all the static routes assuming vendor assets will not change in a day.

Do we need asset versioning for vendor assets as well? If so, they would have to be moved to dist folder and versioned. If this is accomplished then maxAge can be set to a year or more.

@coveralls
Copy link

coveralls commented Sep 30, 2016

Coverage Status

Coverage remained the same at 73.224% when pulling 652af06ec3556d065791afab25b1a6a0ab90331f on sujeethk:assetversioning into a7aebbd on meanjs:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage remained the same at 73.224% when pulling 652af06ec3556d065791afab25b1a6a0ab90331f on sujeethk:assetversioning into a7aebbd on meanjs:master.

@@ -24,6 +24,8 @@ var _ = require('lodash'),
protractor = require('gulp-protractor').protractor,
webdriver_update = require('gulp-protractor').webdriver_update,
webdriver_standalone = require('gulp-protractor').webdriver_standalone,
rev = require('gulp-rev'),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not use plugins.rev() below?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Valid point :)

Asset versioning for prod - idea from #1509

Fixes #1509
@coveralls
Copy link

coveralls commented Oct 4, 2016

Coverage Status

Coverage remained the same at 73.224% when pulling 67783a6 on sujeethk:assetversioning into 287f81c on meanjs:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage remained the same at 73.224% when pulling 67783a6 on sujeethk:assetversioning into 287f81c on meanjs:master.

@lirantal
Copy link
Member

lirantal commented Oct 6, 2016

Looks good, thanks.

@lirantal lirantal merged commit b0c5ad9 into meanjs:master Oct 6, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants