Package URIs can't be cached reliably
Bug #1297883 reported by
Michael Nelson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Software Center Agent |
Fix Released
|
Undecided
|
Natalia Bidart |
Bug Description
Currently the uri:
/api/v1/
is used to GET or DELETE a package, but
/api/v1/update is used to create and update packages.
This gives upstream caches no chance to invalidate uris for packages when they are updated.
We should do something standard like:
PUT /api/v1/
GET /api/v1/
DELETE /api/v1/
We'll need to update sca to use those instead and then remove the update resource.
tags: | added: caching |
summary: |
- Package URIs can't be reliably cached + Package URIs can't be cached reliably |
Changed in click-package-index: | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Natalia Bidart (nataliabidart) |
Changed in click-package-index: | |
status: | In Progress → Fix Committed |
Changed in software-center-agent: | |
status: | New → In Progress |
assignee: | nobody → Natalia Bidart (nataliabidart) |
Changed in click-package-index: | |
status: | Fix Committed → Fix Released |
assignee: | Natalia Bidart (nataliabidart) → nobody |
Changed in software-center-agent: | |
status: | In Progress → Fix Released |
To post a comment you must log in.