Skip to content

excluded parameters from cacheHash which change frontend output #145

@jonaseberle

Description

@jonaseberle

This is a really bad idea and should be avoided at all costs:

$GLOBALS['TYPO3_CONF_VARS']['FE']['cacheHash']['excludedParameters'] = array_merge(

TYPO3 uses parameters as indication for the page's content. cHash-exclusion signals that these parameters do not change frontend output.

Excluding everything here leads to (among others):

  • wrong canonical URL (missing parameters)
  • wrong language switch URL (missing parameters) as generated by the default \TYPO3\CMS\Frontend\DataProcessing\LanguageMenuProcessor

Most probably without this a lot of other workarounds wouldn't be necessary either.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions