RealDevSquad / RealDevSquad/website-backend

Caching module for API's

Open
#698 0 comments 0 reactions 1 assignee View on GitHub

@yesyash is already working on this.

Since Sep 21, 2022.

feature task
Dominant language
JavaScript
Stars
74
Forks
276
Avg merge
1d 26m
Merged PRs (30d)
14

Description

Description

Create an in-memory cache module to cache API responses and serve requests from the cache for a set amount of time.

Features:
  • Global cache pool with a maximum memory size limit.
  • Ability to configure cache expiry time for individual APIs.
  • Priority flag:- To prevent necessary APIs from being deleted when reaching the cache pool limit.
  • Auto clean-up function:- To remove low-priority APIs when reaching the cache pool limit.
Versions
  • Version 1: #729
Working
cache module flow

Contributor guide

Open the contributing guide

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.