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

feat(chore): support placeholders to generate the key #514

Merged
merged 6 commits into from
May 28, 2024

Conversation

darkweak
Copy link
Owner

@darkweak darkweak commented May 12, 2024

Closes #513 #444

e.g.

    cache {
        ttl 60s
        key {
            template "KEY-{http.request.uri.path}-{http.request.uri.query}-{host}"
        }
    }

Should close:
caddyserver/cache-handler#80
caddyserver/cache-handler#76

@darkweak darkweak added the enhancement New feature or request label May 12, 2024
@darkweak darkweak self-assigned this May 12, 2024
@darkweak darkweak force-pushed the feat/chore/support-placeholders-to-generate-the-key branch from 7454148 to f4b3aef Compare May 12, 2024 12:48
Repository owner deleted a comment from github-actions bot May 12, 2024
Repository owner deleted a comment from github-actions bot May 12, 2024
@darkweak darkweak mentioned this pull request May 13, 2024
@darkweak darkweak linked an issue May 18, 2024 that may be closed by this pull request
@darkweak darkweak force-pushed the feat/chore/support-placeholders-to-generate-the-key branch from 55134e8 to 8a96e11 Compare May 21, 2024 18:39
@darkweak darkweak force-pushed the feat/chore/support-placeholders-to-generate-the-key branch from c3af4f9 to 5b3dd2d Compare May 28, 2024 13:25
Repository owner deleted a comment from netlify bot May 28, 2024
Repository owner deleted a comment from github-actions bot May 28, 2024
Repository owner deleted a comment from github-actions bot May 28, 2024
Repository owner deleted a comment from github-actions bot May 28, 2024
Repository owner deleted a comment from github-actions bot May 28, 2024
Copy link

@darkweak darkweak merged commit 308e8d5 into master May 28, 2024
22 of 24 checks passed
@darkweak darkweak deleted the feat/chore/support-placeholders-to-generate-the-key branch May 30, 2024 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature request: actual custom key generation Feature request: customization of cache key
1 participant