You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 20, 2023. It is now read-only.
Because the content is addressed by a SHA and shouldn't change (unless there's a collision).
But unfortunately the responses contain a lastCommit attribute which can vary. Looking at the front-end code, we only use this attribute when querying the /v1/projects/:project/blob/:sha/*path endpoint. And even that could be fetched in a separate request.
Therefore I propose we remove the lastCommit attribute from all the requests and create a separate endpoint for getting the lastCommit info for a blob and update the front-end. And finally add caching headers to all the endpoints.