Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom key generation #318

Closed
frederichoule opened this issue Mar 8, 2023 · 4 comments
Closed

Custom key generation #318

frederichoule opened this issue Mar 8, 2023 · 4 comments

Comments

@frederichoule
Copy link
Contributor

Is there any way to customize the key generation? I see that we can disable_body, disable_method, but is there any way to build the key format we really want?

For example, I have one use-case where I need to strip out query paramters from the key.

I open the issue here, but i'm really using https://github.com/caddyserver/cache-handler instead.

@darkweak
Copy link
Owner

darkweak commented Mar 9, 2023

Hi @frederichoule another PR was created about that (#294) but it didn't explain his goal and use-case. I will be able to write the PR today I guess or you can contribute to the project too. I'll wait until the fix is merged here before bump the deps in the cache-handler repository and tag the new version.

@frederichoule
Copy link
Contributor Author

Alright, I'll do it today.

@frederichoule
Copy link
Contributor Author

Doing some work here #319

@darkweak
Copy link
Owner

darkweak commented Mar 9, 2023

Closed by #319

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants