Closed kwin closed 6 years ago
+1, we added that to our roadmap.
@bpauli Can you adjust the section in the readme as well (https://github.com/Adobe-Marketing-Cloud/aem-core-wcm-components/blob/master/content/src/content/jcr_root/apps/core/wcm/components/image/v1/image/README.md#url-formats)?
@kwin Sure, thanks for the hint!
To allow to set a very long TTL for image urls it would be beneficial if at least optionally the publish URL (https://github.com/Adobe-Marketing-Cloud/aem-core-wcm-components/tree/master/content/src/content/jcr_root/apps/core/wcm/components/image/v1/image#url-formats) includes a last modification date of the component's node as well (similar to what we have on the author already). That way it is assured that the URL changes whenever the image changes (which will automatically invalidate the cache entry)