Is there a way to expire the TTL of a content/static file? Facing some cache related issue, few users are able to see the new contents but few not.
Can we expire the TTL of a content Posted byNeekhra, VikasOn 10/29/2015 04:57 PM Is there a way to expire the TTL of a content/static file? Facing some cache related issue, few users are able to see the new contents but few not.[To post a comment, use the normal reply function]Forum:Discussion Group - Web Experience ManagementContent Server:Knowledge Center
It might be worth describing what TTL means in this context ...it means that an cached item will be used for up to that long. If the system wants to use a cached item and finds that it is cached, but the item is older than it's TTL -- it will ignore it and render the object again (and refresh the cache while you're at it.)So you don't expire the TTL -- that's just a maximum age of a cached object. Instead, you exprie the cached object itself.Static files aren't cached ... they're just delivered fresh each time. If you need to update a static file ... you re-publish it.As for managed objects ... you've already been pointed to the API call for that.For the most part, TTLs are mostly important for things that can't be tied directly to a content item -- like query component html fragments. For things like that, those results can't be automatically cleared when you update some content that was searched, so instead you set the TTL to set an upper limit on how out of date those results can be.