Fix import
Put some maximum bound to cache size