Project

General

Profile

Actions

Bug #36461

closed

No Caching with Extbase Plugin when "resolving" controller and action with realurl

Added by Christian Ehret about 12 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Extbase
Target version:
-
Start date:
2012-04-23
Due date:
% Done:

0%

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

Description

As soon as I add the controller and action into realurl config, the page is not cached anymore (and therefore not indexed by indexed_search).

It does not matter if I add the controller and action to fixedPostVars, e.g.

'fixedPostVars' => array(
'_DEFAULT' => array (
/*
array(
'GETvar' => 'tx_myext_pi1[controller]',
'valueMap' => array(
'Product' => 'produkt',
),
’noMatch’ => ‘bypass’,
),
array(
'GETvar' => 'tx_toco3myext_pi1[action]',
'valueMap' => array(
'overview' => 'overview',
'detail' => 'detail',
),
’noMatch’ => ‘bypass’,
),
),

or 'postVarSets' - the page is not cached anymore. Other extension Variables I added to the postVarSets work without problems, e.g.
'cat' => array (
array(
'GETvar' => 'tx_myext_pi1[category]',
'lookUpTable' => array(
'table' => 'tx_myext_domain_model_category',
'id_field' => 'uid',
'alias_field' => 'title',
'addWhereClause' => ' AND NOT deleted',
'useUniqueCache' => 1,
'useUniqueCache_conf' => array(
'strtolower' => 1,
'spaceCharacter' => '-',
),
),
),

IMPORTANT: at first glance everythings to be fine. The resolving works and the pages and contents are shown like requested BUT the page is not cached anymore.

Is this a bug or am I doing something completely wrong?

To clarify: with caching I mean the standard TYPO3 page caching - not the realurl caching!

I thought this is an realurl issue and added the following bug: http://bugs.typo3.org/view.php?id=18481 which also was confirmed by one user. As you can see in the Bugtracker, Dmitry asked me to resolve this on extbase side, that's why I post it here again.

Actions

Also available in: Atom PDF