Git Product home page Git Product logo

stalier's People

Contributors

ecyrbe avatar renovate[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

stalier's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Ignored or Blocked

These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.

Detected dependencies

github-actions
.github/workflows/ci.yml
  • actions/checkout v4
  • actions/setup-node v4
  • actions/checkout v4
  • github/codeql-action v2
  • github/codeql-action v2
.github/workflows/publish.yml
  • actions/checkout v4
  • actions/setup-node v4
  • orhun/git-cliff-action v2
  • actions/create-release v1
npm
package.json
  • @nestjs/common 9.4.3
  • @nestjs/core 9.4.3
  • @nestjs/platform-express 9.4.3
  • @nestjs/testing 9.4.3
  • @types/cache-manager 4.0.3
  • @types/express 4.17.17
  • @types/jest 29.5.5
  • @types/node 20.8.9
  • @types/supertest 2.0.12
  • @typescript-eslint/eslint-plugin 5.62.0
  • @typescript-eslint/parser 5.62.0
  • cache-manager 4.1.0
  • eslint 8.49.0
  • eslint-config-prettier 9.0.0
  • express 4.18.2
  • jest 29.7.0
  • prettier 3.0.3
  • reflect-metadata 0.1.13
  • rxjs 7.8.1
  • supertest 6.3.3
  • ts-jest 29.1.1
  • ts-node 10.9.1
  • typescript 5.2.2
  • @nestjs/common 9.x
  • @nestjs/core 9.x
  • @nestjs/platform-express 9.x
  • cache-manager 4.x
  • express 4.x
  • rxjs 7.x

  • Check this box to trigger a request for Renovate to run again on this repository

Add cache invalidation for mutations

When using POST, PUT, PATCH, DELETE, allow the following header :
X-Stalier-Invalidate

with the following parameters :

POST /content
X-Stalier-Invalidate: method=GET, url=/resources/id, match=exact

Add custom cache key function

To allow to serve user centric data, stalier should support to add a callback that takes the Request as a parameters to allow upstream apps to inject their Key on per request basis.

app.use(stalier({
        cacheKey : req =>
         `${req.user.id}-${req.method}-${sanetize(req.url)}`
        }));

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.