cds-snc / cds-snc/platform-forms-client

Caching (AddressComplete future V2)

Open
#7,718 0 comments 0 reactions 0 assignees View on GitHub
app enhancement needs discussion security
Dominant language
TypeScript
Stars
46
Forks
16
Avg merge
1d 10h
Merged PRs (30d)
82

Description

## Context

Previous card: #7668
Previous PRL https://github.com/cds-snc/platform-forms-client/pull/7693

Previous discussion not to pursue for V1: https://gcdigital.slack.com/archives/C01GFD150MC/p1786470503180439

## Description

For a V2, consider: 

- Moving the cache to a server-action (a few less hits? a little perf gain and helps protect against abuse a bit)
- Cache Retrieve results using CanadaPostId + country + language (or something specific like that)

Contributor guide

Open the contributing guide

Research direction

Start by reviewing previous card #7668 and PR #7693, then read the linked discussion for the V1 decision. Define the V2 scope, cache key using CanadaPostId, country, and language, and whether a server action is appropriate; done requires an agreed implementation plan.

Written by the indexing model from the issue text.

Assessment

Tech stack
nextjs, typescript
Domain
backend, performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.