Skip to content

Response caching with conditional requests #1124

Closed
@setchy

Description

@setchy

📝 Provide a description of the new feature

Add response caching so that we can enable additional features (ie: show read notifications, fetch >50 (all) notifications) without the concerns of being rate-limited.

Using conditional requests should be sufficient, which requires us to store and use response etag or last-modified headers in subsequent GET requests to the same resource.

Changes required to https://github.com/gitify-app/gitify/blob/main/src/utils/api/request.ts

➕ Additional Information

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or enhancement to existing functionalitypriority:highItems of high importance. Applicable to all users or use-cases

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions