Clear cache in GitHub Actions

Update (October 20, 2022) You can now manage caches via the UI: https://github.com/<OWNER>/<REPO>/actions/caches Update (June 27, 2022) You can now manage caches via the GitHub Actions Cache API: GET list of caches for a repository: $ curl \ -H “Accept: application/vnd.github.v3+json” \ -H “Authorization: token <TOKEN>” \ https://api.github.com/repos/OWNER/REPO/actions/caches DELETE cache for a repository using a … Read more

What is TLB shootdown?

A TLB (Translation Lookaside Buffer) is a cache of the translations from virtual memory addresses to physical memory addresses. When a processor changes the virtual-to-physical mapping of an address, it needs to tell the other processors to invalidate that mapping in their caches. That process is called a “TLB shootdown”.

If redis is already a part of the stack, why is Memcached still used alongside Redis?

The main reason I see today as an use-case for memcached over Redis is the superior memory efficiency you should be able to get with plain HTML fragments caching (or similar applications). If you need to store different fields of your objects in different memcached keys, then Redis hashes are going to be more memory … Read more

Line size of L1 and L2 caches

Cache-Lines size is (typically) 64 bytes. Moreover, take a look at this very interesting article about processors caches: Gallery of Processor Cache Effects You will find the following chapters: Memory accesses and performance Impact of cache lines L1 and L2 cache sizes Instruction-level parallelism Cache associativity False cache line sharing Hardware complexities

Tomcat 8 throwing – org.apache.catalina.webresources.Cache.getResource Unable to add the resource

I had the same issue when upgrading from Tomcat 7 to 8: a continuous large flood of log warnings about cache. 1. Short Answer Add this within the Context xml element of your $CATALINA_BASE/conf/context.xml: <!– The default value is 10240 kbytes, even when not added to context.xml. So increase it high enough, until the problem … Read more

Is it fine if first response is private with AppCache (Symfony2)?

I have faced same problem. I had to supply ‘public’ headers my cdn. By default when gateway caching is enabled in prod mode, it returns 200 OK with private, nocache must validate headers. I solved problem this way. In app.php, before I send response to user ($respond->send), I have overwritten the cache control header to … Read more