Squid internals The Storage Manager (src/store*.c) Appending incoming data from a server - storeAppend() Data coming from a server is fed to a StoreEntry through storeAppend() storeAppend(e, buf, len) /* e = StoreEntry * buf = buffer containing data * len = how much data */ storeAppend() handles obtaining memory for the object data through storeGetMemSpace() appending the data to the MemObject through stmemAppend() sending data to the store clients through InvokeHandlers() swapping data out to disk through storeSwapOut()