Branch-independent caches
See original GitHub issueThe issue template said
Issues should only be opened on if the issue relates to code in this repository.
which I don’t think is the case here. But it’s still relevant and I don’t know where else to file this.
I think caches should be accessible repository-wide, instead of being tied to a specific branch. The primary use case is caching external dependencies which can be shared between branches. If branch-specific caches are required one could include ${{ github.ref }}
in the cache key (if slashes were handled properly that is, see #43).
Issue Analytics
- State:
- Created 4 years ago
- Reactions:12
- Comments:8
Top Results From Across the Web
CPU cache - Wikipedia
A CPU cache is a hardware cache used by the central processing unit (CPU) of a computer to ... server, and industrial CPUs...
Read more >Lab 6: Simulating Caches and Branch Prediction
1. Introduction. In this lab, you will implement a timing simulator (written in C) to model instruction/data caches and a branch predictor.
Read more >Cache Memory in Computer Organization - GeeksforGeeks
Cache Memory is a special very high-speed memory. ... There are various different independent caches in a CPU, which store instructions and ...
Read more >5. Cachegrind: a cache and branch-prediction profiler - Valgrind
Cachegrind simulates how your program interacts with a machine's cache hierarchy and (optionally) branch predictor. It simulates a machine with independent ...
Read more >Branch-directed and Pointer-based Data Cache Prefetching
Furthermore, data prefetches can be issued independent of when the branch is executed (branch prediction is performed many basic blocks ahead of instruction ......
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
I 👍 this. The majority of our runs don’t get a cache hit due to this making
actions/cache
mostly useless. I also think this should be mentioned in the README and Marketplace. I was pretty confused as to why none of my branches would get a cache hit despite the cache key being the same across runs.@vsvipul Ah that explains why I remembered that someone had commented, I’m subscribed to that one too. Thanks!