---
title: "Discussion on \"How I Cache Exchange Rates Without Lying About Freshness\" | Hashnode"
description: "Discussion on \"How I Cache Exchange Rates Without Lying About Freshness\". A one-hour server-side cache, two timestamps, and a rule: a stale rate must say it is stale."
url: "https://hashnode.com/posts/how-i-cache-exchange-rates-without-lying-about-freshness/6af286b5870d07ceeb69383e"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How I Cache Exchange Rates Without Lying About Freshness](https://toolkitloop.hashnode.dev/how-i-cache-exchange-rates-without-lying-about-freshness?utm_source=hashnode&utm_medium=feed)

A one-hour server-side cache, two timestamps, and a rule: a stale rate must say it is stale.

2d ago · 7 min read · toolkitloop.hashnode.dev  
Read the article

-   [#webdev](https://hashnode.com/tag/webdev)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#tutorial](https://hashnode.com/tag/tutorial)
-   [#productivity](https://hashnode.com/tag/productivity)

## Written by

[bowen Tse](https://hashnode.com/@bowentse)

@bowentse

  
[View profile](https://hashnode.com/@bowentse)

Founder of ToolkitLoop (toolkitloop.com) — 30 free online tools that run 100% in your browser. No sign-ups, no uploads, private by design.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
