I have a strange behaviour with the cache in my TYPO3 installation:
Situation:
- TYPO3 v9.5.22
- the cache for the page exists
- the page is only accessible for a certain FE usergroup
- cache is build with EXT:crawler (the configuration is setup with the needed FE usergroup)
First test
- I am logged in with a FE user with the needed FE usergroup
Result:
Page needs long time on first request, runs fast on second request
→ that feels as if the cache does not exist but is build with the first request
Second test
- still logged in with same FE user from first test
- also logged in as BE user with activated adminPanel
- settings in the adminPanel:
- "No cache" is not checked (so cache should be used)
Result:
Same behaviour as in first test, adminPanel → TypoScript shows that page is build (Page generation
), so cache is not used
Third test
- all settings from second test
- settings in adminPanel:
- simulate FE usergroup → choose the needed FE usergroup
Result:
Fast response, adminPanel show that cache is used.
My conclusion:
- cache in general works
- warm up fails somehow → crawler configuration might be falsy?
What can be the reasons for this behaviour?
Is my configuration falsy?
Can some other settings in TYPO3 create this situation?
The problem was following:
The reason why the cache from the crawler is not taken into account depends on the way how TYPO3 caching works:
So the solution would be: Create a crawler configuration for every possible FE usergroup configuration which could users have.