Actions
Bug #20393
closedOptimize hook to indexed_search that checks for a running crawler task
Start date:
2009-05-06
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
In indexed_search there's a hook defined that gets called from TSFE->headerNoCache() to determine whether the crawler is currently running. However, to do that simple check, the whole indexer PHP class file is loaded which could be avoided.
Thus, the method user for this hook gets extracted to a slim separate file.
Profiling tests show that this call took 10ms before and 1ms afterwards.
(issue imported from #M11033)
Files
Actions