#92700Add URL cache for linkvalidator
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
Related issues 1
History 410
-
Gerrit Code Review pushed patch set 1 for master to change 66279 status
NewUnder Review <span data-processor="relativetime" data-value="2020-10-24T20:24:50+00:00" > 10/24/20, 20:24 </span> -
Gerrit Code Review pushed patch set 2 for master to change 66279 <span data-processor="relativetime" data-value="2020-10-25T14:21:54+00:00" > 10/25/20, 14:21 </span>
-
Gerrit Code Review pushed patch set 3 for master to change 66279 <span data-processor="relativetime" data-value="2020-10-25T14:29:09+00:00" > 10/25/20, 14:29 </span>
-
Gerrit Code Review pushed patch set 4 for master to change 66279 <span data-processor="relativetime" data-value="2020-10-25T14:48:27+00:00" > 10/25/20, 14:48 </span>
-
Gerrit Code Review pushed patch set 5 for master to change 66279 <span data-processor="relativetime" data-value="2020-10-25T16:17:49+00:00" > 10/25/20, 16:17 </span>
-
Gerrit Code Review pushed patch set 6 for master to change 66279 <span data-processor="relativetime" data-value="2020-12-29T18:07:06+00:00" > 12/29/20, 18:07 </span>
-
Sybille Peters changed removed the assignee <span data-processor="relativetime" data-value="2021-04-19T13:36:00+00:00" > 04/19/21, 13:36 </span>
-
Sybille Peters commented and changed status
Under ReviewNew <span data-processor="relativetime" data-value="2023-07-08T08:39:35+00:00" > 07/08/23, 08:39 </span> -
Georg Ringer commented and changed status
NewClosed <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
-
Georg Ringer changed Related to #96447 <span data-processor="relativetime" data-value="2026-10-23T06:56:39+00:00" > 10/23/26, 06:56 </span>
patch is abandoned.