Skip to content

Task/page content extractor api - #45

Merged
o-ba merged 3 commits into
mainfrom
task/page-content-extractor-api
Oct 13, 2026
Merged

o-ba merged 3 commits into
mainfrom
task/page-content-extractor-api

Conversation

@o-ba

@o-ba o-ba commented Oct 13, 2026

Copy link
Copy Markdown
Member

No description provided.

davidsteeb and others added 3 commits October 13, 2026 14:15
FrontendPageRenderer sent its in-process request through the regular
page cache. Called from a backend request, the output has file URLs
prefixed twice ("//fileadmin/...") because the backend and the
frontend PublicUrlPrefixer are both registered; from CLI they come
out relative. That page was then served to every visitor.

Disable the page cache for the render request (CacheInstruction on
TYPO3 13/14, the noCache attribute on 12.4).

Resolves: #43
The render bypasses the page cache for reading as well, so a page
cached by a visitor's request is rendered again. A test now covers
that next to the existing write test.

Shorten the docblock of withPageCacheDisabled() to its contract,
reference the issue in the changelog entry and shorten the
description of the test fixture extension.

Related: #43
Signed-off-by: Oliver Bartsch <bo@cedev.de>
Other extensions already use PageContentExtractor for prompt context,
but nothing said whether that is supported. It is now documented as
public API, with FrontendPageRenderer marked internal.

Signed-off-by: Oliver Bartsch <bo@cedev.de>
@o-ba
o-ba merged commit 5fb6ca8 into main Oct 13, 2026
13 checks passed
@o-ba
o-ba deleted the task/page-content-extractor-api branch October 13, 2026 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants