Output cache for RSS
The output of RSS feeds in Sitefinity CMS is cached the same way as the page output caching.
Output caching in RSS results in less database queries and improves the overall performance of the website.
The RSS caching is not automatically invalidated upon a change in the content that is published in the feed. This means that until the cache expires (sliding or absolute) the feed will not be updated.
The caching profile of the RSS is set for all RSS feeds.
To setup the caching of the RSS feeds, perform the following:
- Create an output caching profile for the RSS feeds.
Perform the following:
- In the main menu, click Administration » Settings » Advanced » System » Output Cache Settings » Page Cache Profiles » Create new.
- Enter the setting of the profile.
We recommend using absolute expiration by deselecting Sliding expiration checkbox. Without automatic cache invalidation, sliding expiration can result in very long periods of non-updated feeds.
- Click Save changes.
- Assign a caching profile for RSS.
Perform the following:
- In the main menu, click Administration » Settings » Advanced » Publishing.
- In Output caching profile to be used for caching the feeds output field, enter the name of the profile that you created.
You can also use one of the existing caching profiles.
- Click Save changes.