getExpires abstract method

Duration? getExpires(
  1. Asset asset
)

Returns the duration for the Expires and max-age headers.

  • If null is returned, the Expires and max-age headers won't be generated.

Implementation

Duration? getExpires(Asset asset);