Allow the buffer cache to be null in the cached resource handler
Fix sender bug