Project

General

Profile

Actions

Bug #80975

closed

Indexed Search form is not cacheable

Added by Ian Solo over 7 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Indexed Search
Target version:
Start date:
2017-04-24
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Indexed Search registers the plugin with the 'form' action has not cacheable:

// register extbase plugin
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin('TYPO3.CMS.IndexedSearch', 'Pi2', ['Search' => 'form,search,noTypoScript'], ['Search' => 'form,search']);

If there's not a particular reason, I suggest to remove 'form' action from the not cachable.

Use case: there's a small search form in every page of a website. The searches made with this form are redirected to the search page.
Since the form, even if set as USER, is converted ad USER_INT because 'form' action is not cacheable, extensions like nc_staticfilecache don't cache the pages statically because of the USER_INT.

Actions

Also available in: Atom PDF