Title: Asset revisioning (long-term caching) · Issue #1817 · angular/angular-cli · GitHub
Open Graph Title: Asset revisioning (long-term caching) · Issue #1817 · angular/angular-cli
X Title: Asset revisioning (long-term caching) · Issue #1817 · angular/angular-cli
Description: I'd like to know if it'd be possible to add asset revisioning feature with angular-cli@webpack. As far as I see chunk hashes are only added to .js files during --prod build and are used in the generated index.html I can think of two poss...
Open Graph Description: I'd like to know if it'd be possible to add asset revisioning feature with angular-cli@webpack. As far as I see chunk hashes are only added to .js files during --prod build and are used in the gene...
X Description: I'd like to know if it'd be possible to add asset revisioning feature with angular-cli@webpack. As far as I see chunk hashes are only added to .js files during --prod build and are used in ...
Opengraph URL: https://github.com/angular/angular-cli/issues/1817
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Asset revisioning (long-term caching)","articleBody":"I'd like to know if it'd be possible to add **asset revisioning** feature with angular-cli@webpack. As far as I see chunk hashes are only added to `.js` files during `--prod` build and are used in the generated `index.html`\n\nI can think of two possible approaches:\n1. The `rewrite` approach, e.g. https://github.com/smysnk/gulp-rev-all which parses the asset references (considering dependencies) than does re-writing in raw asset files. This would not require using custom helpers in templates/styles.\n2. The `manifest` approach, e.g. https://github.com/nickjj/manifest-revision-webpack-plugin which will populate a manifest file with raw =\u003e revisioned mapping. Using helpers in templates/styles could be used for determining the right asset to use.\n\n---\n\nangular-cli: 1.0.0-beta.11-webpack.2\nnode: 6.2.2\nos: darwin x64\n","author":{"url":"https://github.com/exoszajzbuk","@type":"Person","name":"exoszajzbuk"},"datePublished":"2016-08-23T20:50:24.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/1817/angular-cli/issues/1817"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:aac41244-78d8-c9a3-8fe6-0aa2974e8cc5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E55C:3AFDE9:65CBEC4:8AA463F:69785EB8 |
| html-safe-nonce | 1f4d5eee7fb004536c60d1e7643455b1dcd886dc86c3f451016791eaf6918e1d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNTVDOjNBRkRFOTo2NUNCRUM0OjhBQTQ2M0Y6Njk3ODVFQjgiLCJ2aXNpdG9yX2lkIjoiNDk4MDE3NTczMjk0OTQwOTQ2NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 029c8a2b1719a4bca41ed40116172fb83b204fe26ce4b4caa725954cb0673d3b |
| hovercard-subject-tag | issue:172803253 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular-cli/1817/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a203df8a666bdaff89fdccf8b47d06c2422bfd7f02330845812863af71d652bf/angular/angular-cli/issues/1817 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a203df8a666bdaff89fdccf8b47d06c2422bfd7f02330845812863af71d652bf/angular/angular-cli/issues/1817 |
| og:image:alt | I'd like to know if it'd be possible to add asset revisioning feature with angular-cli@webpack. As far as I see chunk hashes are only added to .js files during --prod build and are used in the gene... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | exoszajzbuk |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2981c597c945c1d90ac6fa355ce7929b2f413dfe7872ca5c435ee53a24a1de50 |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular-cli git https://github.com/angular/angular-cli.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 36891867 |
| octolytics-dimension-repository_nwo | angular/angular-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 36891867 |
| octolytics-dimension-repository_network_root_nwo | angular/angular-cli |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 520b65a872113b919c1bbdb03834a50af15859fd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width