Jump to content

Recommended Posts

Posted

I am using S3 file system for most IPS4 static content.

But there is no cache-control header by default to tell browsers to cache the static content.

S3 bucket has no default metadata to apply to new objects uploaded.

Is there an IPS4 setting to add metadata (like "Cache-Control max-age=31536000") when we use S3 as file system?

Posted

There is no way in which to do that at the moment, however I have moved your ticket to our suggestions forum, where it may then be considered for future releases

Posted
1 hour ago, sobrenome said:

Is there an IPS4 setting to add metadata (like "Cache-Control max-age=31536000") when we use S3 as file system?

You would likely have better control over things like this if you place your S3 bucket behind a Cloudfront distribution. It's a bit complex, but you can achieve some very specific caching situations.

Posted
2 hours ago, Ryan Ashbrook said:

You would likely have better control over things like this if you place your S3 bucket behind a Cloudfront distribution. It's a bit complex, but you can achieve some very specific caching situations.

Creating a response header policy (to overwrite origin with cache-control) will do the trick, right? Do I have to configure CORS?

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...