1. A system comprising: a memory having computer readable instructions; and one or more processors for executing the computer readable instructions, the computer readable instructions comprising: inserting a set of accessed objects into a cache, the set of accessed objects comprising one or more accessed objects varying in size; and responsive to receiving a request to access a requested object not in the cache, the requested object being distinct from the set of accessed objects in the cache and comprising a set of requested object components: determining that the requested object does not fit into the cache given the set of accessed objects in the cache and a total size of the cache; applying a heuristic algorithm to identify, in the set of requested object components of the requested object, one or more identified object components for insertion into the cache, the heuristic algorithm considering at least a priority of the requested object compared to priorities of the one or more accessed objects in the set of accessed objects in the cache; wherein applying the heuristic algorithm comprises generating an eviction list of accessed objects in the set of accessed objects, wherein each accessed object in the eviction list has a weight, and wherein the sum of the weights of the accessed objects in the eviction list is no greater than a weight of the requested object; evicting from the cache the accessed objects in the eviction list; and inserting into the cache the one or more identified object components of the requested object.