First of all, the behavior depends on which DELETE call was returned as the response code.
If DELETE returns 200 - OK or 204 - No Content , then the client should receive 404 - Not Found on the next GET call. This is because 202 and 204 mean that the resource was deleted immediately.
However, if DELETE returns 202 - Accepted , there is a possibility that the client will be able to successfully GET the resource for some time. This is because 202 means that the resource has been marked for deletion, but is not necessarily cleared immediately.
Secondly, if there is a cache, the behavior should be built so that it matches what would happen if there were no cache. A successful DELETE should always result in deletion as from the true origin of the data in addition to any cached copies.
Brian kelly
source share