Server: allow more layers in cache for projects with many layers