---
title: "#caching articles | Hashnode"
description: "Explore 810 articles tagged #caching on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/caching"
---

Tag

# #caching

810 posts · 46 followers

[Praise James](https://hashnode.com/@thepraisejames) · [36m ago](https://hashnode.com/posts/stop-trusting-your-cache-hit-rate-7-tests-show-why/6afaad8c342b41a7cc119fe2)

### [Stop trusting your cache hit rate. 7 tests show why](https://actiandev.hashnode.dev/stop-trusting-your-cache-hit-rate-7-tests-show-why?utm_source=hashnode&utm_medium=feed)

An evaluation method for semantic caches that measures false-positive rate beside hit rate, with seven failure modes and their fixes.

9 min read · [actiandev.hashnode.dev](https://actiandev.hashnode.dev/stop-trusting-your-cache-hit-rate-7-tests-show-why?utm_source=hashnode&utm_medium=feed)

[Zero Heartbeat](https://hashnode.com/@clustron) · [14h ago](https://hashnode.com/posts/conditional-license-refresh-with-etag-stop-re-downloading-a-license-that-has-not-changed/6af9e6d189adb2a6ed51bc79)

### [Conditional license refresh with ETag: stop re-downloading a license that has not changed](https://delta1labs.hashnode.dev/conditional-license-refresh-with-etag-stop-re-downloading-a-license-that-has-not-changed?utm_source=hashnode&utm_medium=feed)

A Keyright client does not call home on every license check. It activates once, caches the signed lease, and from then on every Validate() is a local, offline operation against the embedded public key

11 min read · [delta1labs.hashnode.dev](https://delta1labs.hashnode.dev/conditional-license-refresh-with-etag-stop-re-downloading-a-license-that-has-not-changed?utm_source=hashnode&utm_medium=feed)

[Gowtham Muthuvel](https://hashnode.com/@GowthamMuthuvel) · [2d ago](https://hashnode.com/posts/spring-boot-redis-cache-aside-stampede/6af6dc6dcc982b315031a222)

### [Redis Cache-Aside in Spring Boot: Measured Latency and Stampede Fixes](https://gowthammuthuvel.hashnode.dev/spring-boot-redis-cache-aside-stampede?utm_source=hashnode&utm_medium=feed)

A cache hit took 2.24 ms vs 53.54 ms, yet 100 concurrent misses made 100 DB reads, even with @Cacheable(sync = true). Single flight and a Redis lock fixed it, measured on real Redis.

32 min read · [gowthammuthuvel.hashnode.dev](https://gowthammuthuvel.hashnode.dev/spring-boot-redis-cache-aside-stampede?utm_source=hashnode&utm_medium=feed)

[Kausar Raza](https://hashnode.com/@knowledgemarkg) · [3d ago](https://hashnode.com/posts/cf-cache-status-dynamic-why-cloudflare-isn-t-caching-your-html-and-how-to-fix-it/6af5b12089bdc682b6a96dc9)

### [cf-cache-status DYNAMIC: Why Cloudflare Isn't Caching Your HTML (and How to Fix It)](https://knowledgemarkg.hashnode.dev/cf-cache-status-dynamic-why-cloudflare-isn-t-caching-your-html-and-how-to-fix-it?utm_source=hashnode&utm_medium=feed)

cf-cache-status DYNAMIC means Cloudflare isn't caching the page. What DYNAMIC, BYPASS and HIT mean, with real headers, and the Cache Rule fix.

11 min read · [knowledgemarkg.hashnode.dev](https://knowledgemarkg.hashnode.dev/cf-cache-status-dynamic-why-cloudflare-isn-t-caching-your-html-and-how-to-fix-it?utm_source=hashnode&utm_medium=feed)

[Abdus Salam](https://hashnode.com/@aheadkit) · [5d ago](https://hashnode.com/posts/python-s-lru-cache-returns-stale-results-when-your-function-reads-a-mutable-global/6af40a98e2cff360c1412cc2)

### [Python's lru\_cache Returns Stale Results When Your Function Reads a Mutable Global](https://aheadkit.hashnode.dev/python-s-lru-cache-returns-stale-results-when-your-function-reads-a-mutable-global?utm_source=hashnode&utm_medium=feed)

I found this one the annoying way: a price that refused to change. I had a small function that multiplied a base price by a rate pulled from a config dict, and I had wrapped it in functools.lru\_cache

4 min read · [aheadkit.hashnode.dev](https://aheadkit.hashnode.dev/python-s-lru-cache-returns-stale-results-when-your-function-reads-a-mutable-global?utm_source=hashnode&utm_medium=feed)

[Nagappan S](https://hashnode.com/@imkarthik03) · [5d ago](https://hashnode.com/posts/semantic-caching-skipping-the-model-call-when-you-ve-already-answered-the-question/6af2f1dcd29ff15e200dc8c5)

### [Semantic Caching: Skipping the Model Call When You've Already Answered the Question](https://nagspidey.hashnode.dev/semantic-caching-skipping-the-model-call-when-you-ve-already-answered-the-question?utm_source=hashnode&utm_medium=feed)

Semantic Caching

7 min read · [nagspidey.hashnode.dev](https://nagspidey.hashnode.dev/semantic-caching-skipping-the-model-call-when-you-ve-already-answered-the-question?utm_source=hashnode&utm_medium=feed)

[Prism Infoways](https://hashnode.com/@prisminfoways) · [Nov 9](https://hashnode.com/posts/your-cache-is-serving-stale-data-8-caching-mistakes-and-how-to-fix-them/6af1605851c5c3e6b909aff2)

### [Your Cache Is Serving Stale Data: 8 Caching Mistakes and How to Fix Them](https://prisminfoways.hashnode.dev/your-cache-is-serving-stale-data-8-caching-mistakes-and-how-to-fix-them?utm_source=hashnode&utm_medium=feed)

Your support team gets a ticket: a customer changed their address, saw the confirmation, and the checkout page still shows the old one. Ten minutes later it is fixed on its own. Nobody can reproduce i

9 min read · [prisminfoways.hashnode.dev](https://prisminfoways.hashnode.dev/your-cache-is-serving-stale-data-8-caching-mistakes-and-how-to-fix-them?utm_source=hashnode&utm_medium=feed)

[2](https://hashnode.com/posts/your-cache-is-serving-stale-data-8-caching-mistakes-and-how-to-fix-them/6af1605851c5c3e6b909aff2)

[Adam Jaber](https://hashnode.com/@adamjaber) · [Nov 8](https://hashnode.com/posts/semantic-caching-llm-false-hits/6aeff7aa2d3bff906653d9ea)

### [Semantic Caching for LLMs: The False Hit Problem Your Dashboard Can't See](https://simplyexplained.hashnode.dev/semantic-caching-llm-false-hits?utm_source=hashnode&utm_medium=feed)

Why similarity thresholds can't separate 'same question' from 'close question', and a two-key cache design you can ship this week

12 min read · [simplyexplained.hashnode.dev](https://simplyexplained.hashnode.dev/semantic-caching-llm-false-hits?utm_source=hashnode&utm_medium=feed)

[Min SiThu](https://hashnode.com/@itsmeminsithu) · [Nov 8](https://hashnode.com/posts/what-is-a-cache-why-your-computer-remembers-things-it-already-did/6aefcc7def2d12737f7cfaf4)

### [What Is a Cache? Why Your Computer Remembers Things It Already Did](https://itsmeminsithu.hashnode.dev/what-is-a-cache-why-your-computer-remembers-things-it-already-did?utm_source=hashnode&utm_medium=feed)

The trick that makes your apps feel fast is just a good memory — and knowing when to forget

7 min read · [itsmeminsithu.hashnode.dev](https://itsmeminsithu.hashnode.dev/what-is-a-cache-why-your-computer-remembers-things-it-already-did?utm_source=hashnode&utm_medium=feed)

[jbook](https://hashnode.com/@jbook) · [Nov 7](https://hashnode.com/posts/parsed-results-on-disk-indexes-in-memory/6aeed6ec57a79bd868176043)

### [Parsed Results on Disk, Indexes in Memory](https://jbook.hashnode.dev/parsed-results-on-disk-indexes-in-memory?utm_source=hashnode&utm_medium=feed)

A book that has been opened once should not have to be parsed again on the second open. Parsing turns a file into chapters, paragraphs, and a cover image, and that work is slow enough that repeating i

5 min read · [jbook.hashnode.dev](https://jbook.hashnode.dev/parsed-results-on-disk-indexes-in-memory?utm_source=hashnode&utm_medium=feed)
