Skip to content

🧹 update: add methods configuration for cache middleware#2081

Merged
ReneWerner87 merged 2 commits into
masterfrom
method-configuration-for-cache-mw
Sep 11, 2022
Merged

🧹 update: add methods configuration for cache middleware#2081
ReneWerner87 merged 2 commits into
masterfrom
method-configuration-for-cache-mw

Conversation

@efectn

@efectn efectn commented Sep 9, 2022

Copy link
Copy Markdown
Member

Description

We may need to cache some methods according to our needs. I think we should be able to set methods to cache.

Type of change

  • New feature (non-breaking change which adds functionality)

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation - https://github.com/gofiber/docs for https://docs.gofiber.io/
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I tried to make my code as fast as possible with as few allocations as possible

@ReneWerner87

Copy link
Copy Markdown
Member

thanks @efectn
LGTM

@ReneWerner87 ReneWerner87 merged commit 8ec62a6 into master Sep 11, 2022
@efectn efectn deleted the method-configuration-for-cache-mw branch September 11, 2022 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants