You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `cas` directory contains files named by their SHA256 content hash. Each file contains the raw content of a resource produced during a build. Ideally a library like [`cacache`](https://www.npmjs.com/package/cacache) should be used to manage the content-addressable store.
@@ -260,15 +261,12 @@ An alternative to using the incremental build in the UI5 CLI server would be to
260
261
261
262
## Unresolved Questions and Bikeshedding
262
263
263
-
* Measure performance in BAS. Find out whether this approach results in acceptable performance.
264
264
* How to distinguish projects with build cache from pre-built projects (with project manifest)
265
+
* Check presence of "sourceMetadata" attribute. Only with "sourceMetadata", the cache can be used for incremental (re-)builds the project. Otherwise it is "only" a build *result* that can be used for building dependent projects.
265
266
* Cache related topics
266
-
* Clarify cache key
267
-
* Current POC: project version + dependency versions + build config + UI5 CLI module versions
268
-
* Include resource tags in cache
269
267
* Allow tasks to store additional information in the cache
270
-
* Cache Purging
271
268
* Some tasks might be relevant for the server only (e.g. code coverage), come up with a way to configure that
269
+
* This will implicitly cause the creation of different caches for server and build. This might just be an acceptable and easy to understand trade-off.
272
270
* What if a task ceases to create a resource because of a change in another resource? The previously created version of the resource would still be used from the cache
273
-
*Test with selected (community) custom tasks
274
-
*With this concept, providing pre-built UI5 libraries becomes especially important. Otherwise consumers will always have to locally build framework libraries, even in the server
271
+
*Measure performance in BAS. Find out whether this approach results in acceptable performance.
0 commit comments