Task #86060

Epic #83559: SEO enhancements in Core

Make XML sitemap cachable

Added by Richard Haeser over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Should have
Category:
SEO
Target version:
Start date:
2018-08-31
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Sprint Focus:

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.

#1

Updated by Richard Haeser over 2 years ago

  • Category set to SEO
#2

Updated by Richard Haeser over 2 years ago

  • Status changed from New to Accepted
#3

Updated by Richard Haeser over 2 years ago

  • Target version set to 9 LTS
#4

Updated by Martin Kutschker over 2 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.

#5

Updated by Richard Haeser over 2 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.

#6

Updated by Gerrit Code Review over 2 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

#7

Updated by Richard Haeser over 2 years ago

  • Assignee set to Richard Haeser
#8

Updated by Gerrit Code Review over 2 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

#9

Updated by Gerrit Code Review over 2 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

#10

Updated by Richard Haeser over 2 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#11

Updated by Benni Mack over 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF