Task #86060
closedEpic #83559: SEO enhancements in Core
Make XML sitemap cachable
100%
Description
The new feature for XML sitemaps is non-cached. We have to check if it is possible to cache this sitemap with a short-lifetime.
Updated by Martin Kutschker about 6 years ago
But not too short. A bot shouldn't have to wait for the sitemap. It makes them angry ;)
Perhaps cache lifetime can be matched with a scheduler cycle to have always an up-to-date sitemap.
Updated by Richard Haeser about 6 years ago
Bots doesn't care how long it takes, as long as the request didn't timeout. Because you never know if your sitemap is already cached, I already made sure sitemaps are not to big so they probably won't timeout (I don't know on what hosting platform the website is). You can test it in https://review.typo3.org/#/c/58227/.
You want the most up 2 date information at the moment a bot visits your page, because you don't know when he is coming back. So for now the caching period will be 5 minutes by default, but at least that will be configurable.
Updated by Gerrit Code Review about 6 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58283
Updated by Gerrit Code Review about 6 years ago
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58417
Updated by Gerrit Code Review about 6 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58417
Updated by Richard Haeser about 6 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset ed946aa7420ac7bd73755f4d1c625d9d2bc32fe4.