Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Do I have to manually cache data?

Open
#61 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
api

Research direction

Start by reproducing repeated pokebase.pokemon("charmander") calls in a Python console and inspect how pokebase.cache.save() relates to those calls. Trace whether the second request reaches the server; done means establishing the actual cache behavior and clarifying whether manual cache saving is required.

Written by the indexing model from the issue text.

Description

Hello, I have a question about caching data. I wonder if I have to manually call pokebase.cache.save() to save cache.

When sending pokebase.pokemon("charmander") multiple times to Python console, it seems to be requesting data from the server even after the first request.

*I haven't confirmed precisely whether the api call actually tries to retrieve data from the server. I am just guessing since I have to wait couple of seconds before pokebase.pokemon() returns console prompt

Dominant language
Python
Stars
361
Forks
58
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from PokeAPI/pokebase

All issues in PokeAPI/pokebase

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.