traeak opened a new pull request, #12408: URL: https://github.com/apache/trafficserver/pull/12408
Previous PR (#12092) added an "ident" header which allowed the CRR plugin to mark a "stale" slice as "fresh" if the the identifiers matched the reference slice. This PR switches from the slice plugin itself constructing an IMS header and instead rely on the CRR plugin to mark a successful fresh cache lookup as stale if the passed in Ident header doesn't match the cached ident header. Logic in the slice plugin is now simplified as interior range request marking stale are automatically handled by the CRR plugin. The slice plugin now only needs to handle the case where an interior slice after refetch by the CRR plugin returns an identifier different from the reference slice which triggers a reference slice refetch (to be marked stale by the CRR plugin). Also works to remove an reference slice from cache that 404's at the origin. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
