}
// check if we can send plain or compressed data back.
// depends on client request headers and file cache entry
final boolean isServeCompressed =
cacheEntry.canServeCompressed(request);
// The client doesn't have this resource cached, so
// we have to send entire payload
prepareResponseWithPayload(cacheEntry, response,
isServeCompressed);