support expireAfterWrite, in seconds