Issue Feature Closed

#92700Add URL cache for linkvalidator

Sybille Peters 10/24/20, 20:22 updated 10/23/26, 06:56

Description

It would be useful to have more control over the link checking.

Requirements:

  • make it possible to deactivate external link checking entirely (and e.g. let this be done by external task). Using the cache makes it possible – all external URLs to be checked are written to the cache, but not checked
  • do not check for an URL multiple times – store the result and reuse it. (this is currently already done but only within one batch – the result is stored in an array in ExternalLinktype). But when a new checklink task is started, all URLs are rechecked again.

In general there could be 3 different modes:

  • default: use URL from cache if not expired. If not in cache, check and write to cache
  • noCache: never use cache
  • cacheOnly : only use cache. If URL is not in cache, treat it like a valid URL – it is not written to broken links table.

see https://decisions.typo3.org/t/linkvalidator-when-to-do-the-link-checking/653

This would solve a number of other problems:

  • more checking could be done on the fly, e.g. when saving a record
  • in general, less external link checking would be performed

Reviews 1

History 410

  1. Gerrit Code Review pushed patch set 1 for master to change 66279 status New Under Review <span data-processor="relativetime" data-value="2020-10-24T20:24:50+00:00" > 10/24/20, 20:24 </span>

  2. Sybille Peters commented and changed status Under Review New <span data-processor="relativetime" data-value="2023-07-08T08:39:35+00:00" > 07/08/23, 08:39 </span>

    patch is abandoned.

  3. Georg Ringer commented and changed status New Closed <span data-processor="relativetime" data-value="2026-10-23T06:56:29+00:00" > 10/23/26, 06:56 </span>

    closing the issue to cleanup forge a bit. I set a relation to the main issue #96447