               // write the image attributes, if necessary
               if shouldUpdateImageAttributes {
                 DDLogVerbose("Update image attributes \(imageRequest.URLString)")
-                self.updateImageAttributes(with: imageSize, forURLString: imageRequest.URLString)
+                self.updateImageAttributes(with: imageSize, forURLString: imageRequest.URLString, expiresAfter: self.configuration.expireImageAttributesAfter)
               }
               
               // decode all images and save to cache

  
  override var description: String {
    return URLString
  }
}


  
  /// Moves any pending request for URLString to the back of the download queue.
  ///
  /// - parameter forURLString:  The URL string for the request.
  public func deprioritizeImageRequest(forURLString URLString: String) {
    
    if let foundItem = queuedImageRequest(forURLString: URLString), let index = queuedRequests.index(of: foundItem) {
