feat: introduce lru cache for requests
This commit is contained in:
parent
6b3a14cf1e
commit
a94781df83
13 changed files with 90 additions and 39 deletions
|
@ -14,7 +14,7 @@ export function getAccountPath(account: Account) {
|
|||
}
|
||||
|
||||
export function getStatusPath(status: Status) {
|
||||
return `${getAccountPath(status.account)}/${status.id}`
|
||||
return `/status/${status.id}`
|
||||
}
|
||||
|
||||
// Batch requests for relationships when used in the UI
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue