Skip to content

Add cache config constants for public endpoints - #59

Merged
Chucks1093 merged 1 commit into
accesslayerorg:mainfrom
robertocarlous:feat/Add-cache-config
Mar 27, 2026
Merged

Add cache config constants for public endpoints#59
Chucks1093 merged 1 commit into
accesslayerorg:mainfrom
robertocarlous:feat/Add-cache-config

Conversation

@robertocarlous

Copy link
Copy Markdown
Contributor

Closes #37

Summary
Added PUBLIC_ENDPOINT_CACHE_PRESETS (and PUBLIC_ENDPOINT_CACHE_SECONDS) in src/constants/public-endpoint-cache.constants.ts as a single shared source for public endpoint cache settings.
Updated public creators route to use the shared constants, and wired middleware CachePresets.public* to reference them (no runtime logic moved).

Testing
[x] pnpm lint
[x] pnpm build
[x] pnpm exec prisma generate

Checklist
[x] Linked issue or backlog item: #37
[x] No secrets or live credentials added
[x] Docs updated if setup or env changed (not needed)
[x] Change is scoped to one problem

@drips-wave

drips-wave Bot commented Mar 27, 2026

Copy link
Copy Markdown

@robertocarlous Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@robertocarlous

Copy link
Copy Markdown
Contributor Author

@Chucks1093

@Chucks1093
Chucks1093 merged commit 1fd32a2 into accesslayerorg:main Mar 27, 2026
1 check passed
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

Successfully merging this pull request may close these issues.

Add cache config constants for public endpoints

2 participants