Indexed Search Bugfix #30852 messes with Realurl cache
The "new" behaviour of Indexed Search adding "L=0" parameter even on pages with only a single language messes with Realurl cache.
See last comments on Bugfix #30852. Also: https://github.com/dmitryd/typo3-realurl/pull/461
The best solution would be, if you could turn off this behaviour via typoscript config.
Updated by Jan Rödig about 4 years ago
Tymoteusz Motylewski wrote:
the issue you've linked is wrong 30582.
AFAIK it is correct to pass L=0 in the url.
EXT:solr does the same thing.
Why do you think it is a core bug?
Hm, perhaps "feature request" (?). You can of course change it, if this would fit better.
Of course you're right, I twisted the numbers, my bad.
Anyway, about the issue:
In a single language Typo3 install with indexed search and realurl adding the language parameter will lead to "random" domain.tld/realurl/path/?L=0 entries in menus etc.
In a multilanguage install you won't have this problem, as you'd map the language parameter to pathsegments in realurl config.
Prior to the mentioned bugfix this did not happen. I see why this fix was done, but still the proper way would imho be to be able to override this behaviour for single language installs. I don't see why the parameter would be needed in this case.