alexander.akait
ac0bd21801
style: improve style of code
2024-08-02 19:32:14 +03:00
alexander.akait
500ee96dcb
style: improve style of code
2024-08-02 19:32:14 +03:00
alexander.akait
a592b62686
style: improve style of code
2024-08-02 19:32:14 +03:00
alexander.akait
de6d4b2f4c
style: fix
2024-06-11 16:30:09 +03:00
alexander.akait
ab3e93b19e
style: fix
2024-06-11 16:09:50 +03:00
alexander.akait
3e3dfd781b
fix(types): more
2024-03-17 20:15:44 +03:00
Nitin Kumar
412ae5425e
chore: udpate prettier to v3
2024-01-14 07:11:34 +05:30
alexander.akait
cc734af66e
refactor(types): more
2023-06-22 02:45:07 +03:00
alexander.akait
4809421990
refactor(types): more
2023-06-21 19:00:24 +03:00
Shipov Mikhail
c3b643aa79
feat: add readonly flag for filesystem cache
2023-05-25 03:28:39 +03:00
Ivan Kopeykin
b330c93e73
release pack promise
2023-05-25 03:28:37 +03:00
Shipov Mikhail
85a963a67b
feat: add readonly flag for filesystem cache
2023-05-25 03:28:35 +03:00
Tobias Koppers
d94145e38d
show different text for build error skips
2022-03-16 15:25:32 +01:00
Tobias Koppers
a9cf4808dd
make cache warnings caused by build errors less verbose
2022-03-08 09:25:49 +01:00
Tobias Koppers
f270f50cae
use different Promise check
2021-11-02 13:42:55 +01:00
Nitin Kumar
eaa8bf6335
fix: improve logic to check if value is a `Promise`
2021-11-01 21:03:02 -07:00
Jonny Burger
92d5266d22
Update PackFileCacheStrategy.js
2021-10-24 16:20:20 +02:00
Jonny Burger
6776595f40
Honor `hashFunction` option for createFileSerializer
2021-10-24 15:41:52 +02:00
btea
857eebe495
fix: identifier typo
2021-10-13 11:01:46 +08:00
Tobias Koppers
4a8bf4c084
allow to configure all hash functions used
...
fix default hash function for HttpUriPlugin to sha512
2021-09-23 14:55:13 +02:00
Tobias Koppers
ff69b3f617
allow process to exist and cancel timeout again
2021-09-16 13:56:14 +02:00
Tobias Koppers
3270275ffe
split fresh packs by time
...
add comments
fix loosing cache
correctly store a lazy
2021-09-08 16:27:55 +02:00
Tobias Koppers
492055ae90
add cache compression
2021-07-02 07:05:13 +02:00
Tobias Koppers
e4389a494b
Merge pull request #13467 from myNameIsDu/fix/check-promise-condition
...
fix:the judgment of promise is changed from instanceof to Promises/A+…
2021-06-18 12:26:02 +02:00
Tobias Koppers
3b555175e6
unreference some of the intermediate data when unserializing
2021-06-17 11:25:49 +02:00
du
946e96f476
fix:the judgment of promise is changed from instanceof to Promises/A+ standard
2021-05-29 00:53:19 +08:00
Tobias Koppers
b0fa9ccada
pretty files
2021-05-11 09:31:46 +02:00
Tobias Koppers
766be5a3fd
add cache.profile flag for more info about (de)serialization timings
2021-04-28 09:10:43 +02:00
Tobias Koppers
0eb2f352fe
fix typo
...
thanks @markjm
2021-04-21 07:20:11 +02:00
Tobias Koppers
177736f59c
avoid leaking unused memory in buffer backing stores in development mode
2021-04-20 15:22:16 +02:00
Tobias Koppers
8f3a16a49a
improve handling of optional build dependencies
2021-04-06 11:28:41 +02:00
Tobias Koppers
c84329f73c
add GC to the memory cache and make it configurable
...
memory GC happens by default when persistent cache is enabled and in development mode
otherwise memory cache is kept forever
make maxAge for persistent cache configurable
GC the oldest content file even if it's not touched (to keep cache size small)
filesystem cache will now no longer cache in memory, but restore items from disk again when it was persisted
2021-04-01 17:12:53 +02:00
Tobias Koppers
8074127b98
avoid leaking memory after the compiler has been closed
...
clear cache on shutdown
2021-04-01 16:59:48 +02:00
Tobias Koppers
a1515fa9f0
add experimental lazy compilation
2021-01-21 17:39:56 +01:00
Tobias Koppers
c453624a57
store build deps correctly in cache
...
improve debug logging for snapshotting
2021-01-13 23:54:15 +01:00
highonweb
bc1911bf78
Changed name of memorize function to memoize
2020-12-27 03:02:57 +05:30
Tobias Koppers
c75a9ef87f
errors in initial cache no longer cause build dependencies to be ignored
2020-12-15 17:06:33 +01:00
Tobias Koppers
d6e637f33c
add "snapshot" configuration to allow to configure how snapshots are created
...
expose snapshot options for module, resolve, buildDependencies and resolveBuildDependencies
move managedPaths and immutablePaths from config.cache to config.snapshot
add timestamp + hash snapshotting mode
use timestamp + hash mode by default in production and for buildDependencies
2020-08-26 01:27:13 +02:00
Tobias Koppers
4ccb35170b
split cache into smaller parts
2020-08-24 18:16:55 +02:00
Tobias Koppers
cee47dc867
Store cache dependencies inside of Snapshot to reduce cache size
2020-08-24 18:16:54 +02:00
Tobias Koppers
096c1ec5bd
Partially serialize cache items even when some fail to serialize
2020-08-19 20:06:03 +02:00
Tobias Koppers
1ac28f7fc2
improve progress reporting
2020-08-14 10:54:26 +02:00
evilebottnawi
dafa4cd69a
chore: setup cspell
2020-03-12 19:51:26 +03:00
Nitin Kumar
285529a643
chore: fix typos across the project
2020-03-10 07:29:46 +05:30
Tobias Koppers
e96695a18a
add more time logging
2020-01-30 16:10:56 +01:00
Tobias Koppers
ec5a744b30
Remove "error" and "ignore" from snapshots
2020-01-29 21:32:50 +01:00
Tobias Koppers
6fd166508c
clarification about serialized null and undefined
2020-01-29 10:38:31 +01:00
Tobias Koppers
f49838c95d
style improvements and test
2020-01-28 11:35:10 +01:00
Tobias Koppers
b40a345451
refactor Persistent Cache
...
cache is split into multiple .pack files which represent usage of cache items
this allows to only read/deserialize files that are needed
and reduces the need to rewrite .pack files
while still packaging multiple cache items together
lazy (de)serialization system has changed to allow writeLazy and writeSeparate
2020-01-28 11:35:06 +01:00
Tobias Koppers
1a3b391352
compute asset hash lazily to avoid hash computation when memory cache is used
...
Cache accepts null as break condition when etag mismatches
MemoryCachePlugin caches cache mismatches
2019-11-12 16:07:50 +01:00