Caching doesn't work
See original GitHub issueAfter switching to Manifest mode, caching stopped working. I am getting the following message in post log:
Can't add archive to itself::debug::File Size: 865632525
But I use exactly the same set of packages I used before (it worked with v7
).
I use dependencies installation from CMake (e.g. runVcpkgInstall
is set to false
). To reduce the size I added -D VCPKG_INSTALL_OPTIONS=--clean-after-build
, but the size is still big for the cache if I understand correctly.
Here is the run.
Here is my configuration.
(I decided to use vcpkgGitCommitId
)
Also not sure if it related, but I noticed that vcpkg_installed
is located at build/vcpkg_installed
. Is this expected? I thought that this folder should be in the root project folder.
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Spring Cache @Cacheable - not working while calling from ...
I believe this is how it works. From what I remember reading, there is a proxy class generated that intercepts all requests and...
Read more >3 Common Mistakes when Implementing Spring Cache ...
Disabling caching configuration here for the test profile will not work as @EnableCaching is in Application class and even if configuration ...
Read more >How Do I Fix My Caching Problems Or Clear Web Browser's ...
How to clear the cache in commonly used browsers · Open your browser and and got to Tools > Safety menu. · Click...
Read more >A Guide To Caching in Spring - Baeldung
Sometimes, caching might not work well for a method in all situations. Reusing our example from the @CachePut annotation, this will both execute ......
Read more >28. Cache Abstraction - Spring
Each time the method is called, the cache is checked to see whether the invocation has been already executed and does not have...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Shatur good to know! Looks like the “Can’t add archive” is an info/warning message and it does not fail the workflow, so it is easily missed indeed.
It worked, now I have hit cache, thanks! I can’t see the message “Can’t add archive …” because of a cache hit. Maybe it was even with v7 and I just didn’t notice, because the cache was working?