Because of the vast number of CDN providers with different APIs, Sitefinity CMS does not support an out-of-the-box solution for clearing items from the CDN provider when changing or deleting blob items. To resolve this, you can set an appropriate cache duration for the library (browser caching section). This configure the duration of the content item’s cache in the CDN. You can do this for:
If you want to explicitly remove an item from the CDN cache, you can subscribe for the change and delete events of the item and implement the API logic for your particular CDN provider to remove the old blob. For more information about subscribing to events, see For developers: IDataEvent.
To set the CDN cache duration for a library:
As a result, your library sets the CDN cache duration in accordance with the cache profile you selected.
In addition, you can create your own cache profiles. For more information, see Administration: Cache settings.
Back To Top
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important
Copyright © 2023 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.
Progress, Telerik, Ipswitch, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.
Powered by Progress Sitefinity