Latest / Developer tools

pocache

github.com · Package · Active

Small Go cache with preemptive optimistic refresh

Visit github.com ↗Share

Stars
238
Forks
6
Open issues
0
Last commit
Releases
3
Found
2 years ago

GitHub figures as of . They are context, not a ranking.

pocache is a minimal Go caching package that refreshes entries preemptively using an optimistic strategy. It suits Go developers who want a small, focused cache with a simple API and no large dependency tree.

Repository description on GitHub: “Pocache is a minimal cache package which focuses on a preemptive optimistic caching strategy”

What it does

  • Refreshes cached values in the background near expiration
  • Uses HashiCorp's Go LRU package as default storage
  • Small caching package with a simple API

Good for

  • Cache database lookups that refresh before they expire
  • Reduce repeated database calls in a Go service
  • Add a small in-memory cache to a Go application

Suits: Go developers who want a small cache with background refresh.

Worth knowing: Requires Go 1.26 or newer.

What you can try

Read the README on GitHub and install from source.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw pocache on , when bnkamalesh posted it to Show HN. The oldest published release on GitHub is v0.4.0, dated . Its first tagged release came 702 days after it was found. 3 releases have been published in total; the latest is v0.6.0 ().

Day-7 and day-30 updates

Day 7 no new release

  • No tagged release was published in the first 7 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 97 points, 32 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 no new release

  • No tagged release was published in the first 30 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 97 points, 32 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

Releases per month, last 24 months (3 in total, busiest month 2).
  1. Repository created on GitHub: naughtygopher/pocache
  2. Found: bnkamalesh posted it to Show HN. Show HN
  3. Release v0.4.0
  4. Release v0.5.0
  5. Release v0.6.0
  6. Day-7 check recorded by Kip (details)
  7. Day-30 check recorded by Kip (details)

Quick answers

When was pocache released?
Its first tagged release on GitHub is dated 13 Sep 2026. Kip found it on Show HN on 11 Oct 2024.
Is pocache open source?
Its source is public on GitHub at naughtygopher/pocache under the MIT licence.
What does pocache run on?
Library.
Is pocache free?
It is open source, so the code is free to read and run; check the licence for terms.
Is pocache still maintained?
Yes. It had a commit or release in the last 90 days as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositorynaughtygopher/pocache
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-41809262. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.

Share

Similar tools

More in Developer tools

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.