Skip to content

v2.0.0: Major architecture refactor and edge caching integration#1

Merged
aadnanmt merged 6 commits into
mainfrom
feat/modular-cache
May 18, 2026
Merged

v2.0.0: Major architecture refactor and edge caching integration#1
aadnanmt merged 6 commits into
mainfrom
feat/modular-cache

Conversation

@aadnanmt

Copy link
Copy Markdown
Member

Overview

Major upgrade to v2.0.0 focus on performance and maintain

Key Changes

Modular refactor: decoupled logic into src/ and src/lib/ for better isolation
Edge caching: integration Cloudflare Cache API (900ms => 3ms TTFB)
Documentation: add Mermaid diagrams in ARCHITECTURE.md
Bug fix: resolve response immutability issues

Performance

Before: ~900ms (Permanent cache MISS)
After: 3ms (Cache HIT)

aadnanmt added 6 commits May 18, 2026 14:12
- move logic to src/index.js and src/lib/
- updated wrangler.toml entry point
- preserve original technical documentation
- integration cache API to reduce TTFB from 900ms to 3ms-9ms
- implement stable cacheKey using URL and range header
- fix immutable headers issue when saving to cache
- add ARCHITECTURE.md with Mermaid diagram
- refine README.md for better clarity and focus
- update CHANGELOG.md with v2.0.0 release note
Copilot AI review requested due to automatic review settings May 18, 2026 07:55
@aadnanmt aadnanmt merged commit 8d4cec1 into main May 18, 2026
1 check failed
@aadnanmt

Copy link
Copy Markdown
Member Author

there will be a few minor fixes

@aadnanmt aadnanmt review requested due to automatic review settings May 18, 2026 08:19
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.

1 participant