Fix cache size computation and bump default size to ~10MB.