add inactive limit to nginx cache