Dynamic cache framework implemented(size change at fixed interval)