Enum

storage-action

The suggested action to take for spec-recommended behavior following prepare-response-for-storage.

enum storage-action {
  insert,
  update,
  do-not-store,
  record-uncacheable,
}

Cases

CaseDescription
insert

Insert the response into cache (for transaction-insert and transaction-insert-and-stream-back).

update

Update the stale response in cache (for transaction-update and transaction-update-and-return-fresh).

do-not-store

Do not store this response.

record-uncacheable

Do not store this response, and furthermore record its non-cacheability for other pending requests (transaction-record-not-cacheable).