Skip to content

Compile AngularJS template partials into legacy.js - #4009

Merged
josephsnyder merged 1 commit into
Kitware:masterfrom
williamjallen:angularjs-cache-busting
Sep 25, 2026
Merged

josephsnyder merged 1 commit into
Kitware:masterfrom
williamjallen:angularjs-cache-busting

Conversation

@williamjallen

Copy link
Copy Markdown
Collaborator

The AngularJS template partials are currently loaded separately from the JS bundle, leading to marginally longer initial page load times and a cache-busting system requiring a an auto-generated version.js file to be written on every build. This eliminates version.js and compiles the template partials into the JS build. I plan to build on this by further separating the frontend build from the backend in the future.

The AngularJS template partials are currently loaded separately from the JS bundle, leading to marginally longer initial page load times and a cache-busting system requiring a an auto-generated `version.js` file to be written on every build.  This eliminates `version.js` and compiles the template partials into the JS build.  I plan to build on this by further separating the frontend build from the backend in the future.
@josephsnyder
josephsnyder added this pull request to the merge queue Sep 25, 2026
Merged via the queue into Kitware:master with commit 7db6268 Sep 25, 2026
7 checks passed
@williamjallen
williamjallen deleted the angularjs-cache-busting branch September 25, 2026 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants