Set max expiration for assets

Configuration for having max expiration in assets.