Task #86060

Epic #83559: SEO enhancements in Core

Make XML sitemap cachable

Added by Richard Haeser about 1 year ago. Updated about 1 year ago.

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

100%

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.

Associated revisions

Revision ed946aa7 (diff)
Added by Richard Haeser about 1 year ago

[TASK] Make XML Sitemap cachable

Cache the XML Sitemaps for 15 minutes by default.

Resolves: #86060
Releases: master
Change-Id: Ia8ded8d0885565e636519bcd92f51154e0817946
Reviewed-on: https://review.typo3.org/58417
Tested-by: TYPO3com <>
Reviewed-by: Riny van Tiggelen <>
Tested-by: Riny van Tiggelen <>
Reviewed-by: Susanne Moog <>
Tested-by: Susanne Moog <>

History

#1 Updated by Richard Haeser about 1 year ago

  • Category set to SEO

#2 Updated by Richard Haeser about 1 year ago

  • Status changed from New to Accepted

#3 Updated by Richard Haeser about 1 year ago

  • Target version set to 9 LTS

#4 Updated by Martin Kutschker about 1 year 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 about 1 year 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 about 1 year 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 about 1 year ago

  • Assignee set to Richard Haeser

#8 Updated by Gerrit Code Review about 1 year 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 about 1 year 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 about 1 year ago

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

#11 Updated by Benni Mack about 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF