TYPO3.CMS-自定义CType的单个缓存配置的最佳实践

TYPO3.CMS-自定义CType的单个缓存配置的最佳实践,typo3,typoscript,Typo3,Typoscript,如何配置新的CType,使其缓存生存期不同于默认的缓存生存期 我使用fluid_样式的内容,因此内容对象的类型为FLUIDTEMPLATE 使用以下打字脚本不起作用: tt_content.my_new_type { cache { key = test lifetime = 10 } } 也没有: tt_content.my_new_type.stdWrap { cache { key = test li

如何配置新的CType,使其缓存生存期不同于默认的缓存生存期

我使用fluid_样式的内容,因此内容对象的类型为FLUIDTEMPLATE

使用以下打字脚本不起作用:

tt_content.my_new_type {
    cache {
        key = test
        lifetime = 10
    }
}
也没有:

tt_content.my_new_type.stdWrap {
    cache {
        key = test
        lifetime = 10
    }
}
我发现了这个线索:

所以我试着:

tmp.my_new_type < tt_content.my_new_type
tt_content.my_new_type >
tt_content.my_new_type = COA_INT
tt_content.my_new_type {
    cache {
        key = test
        lifetime = 10
    }
    10 < tmp.my_new_type
}
tmp.my_new_type < tt_content.my_new_type
tt_content.my_new_type >
tt_content.my_new_type = COA
tt_content.my_new_type {
    cache {
        key = test
        lifetime = 10
    }
    10 < tmp.my_new_type
}
而具有单独缓存的内容元素需要如下处理:

tt_content.my_new_type.dataProcessing.100 = Some\Custom\Processor
tt_content.my_new_type.10.10.dataProcessing = Some\Custom\Processor
这会记住css_风格的_内容中的恐怖和噩梦,这是不可能的

亲切问候,, 菲利普

tmp.my_new_type < tt_content.my_new_type
tt_content.my_new_type >
tt_content.my_new_type = COA_INT
tt_content.my_new_type {
    10 = COA
    10 {
        cache {
            key = test
            lifetime = 10
        }
        10 < tmp.my_new_type
    }
}
tt_content.my_new_type.dataProcessing.100 = Some\Custom\Processor
tt_content.my_new_type.10.10.dataProcessing = Some\Custom\Processor