eliashaeussler / typo3-warming

🚀 Extension for TYPO3 CMS that warms up Frontend caches based on an XML sitemap with multi-language support.
https://docs.typo3.org/p/eliashaeussler/typo3-warming/main/en-us/
GNU General Public License v2.0
15 stars 9 forks source link

[FEATURE] Introduce sub request handler #730

Closed eliashaeussler closed 2 weeks ago

eliashaeussler commented 2 weeks ago

This PR introduces a SubRequestHandler. It can be used in the default crawlers to perform cache warmup requests with the bootstrapped frontend application instead of sending real HTTP requests.

coveralls commented 2 weeks ago

Pull Request Test Coverage Report for Build 11523832871

Details


Totals Coverage Status
Change from base Build 11503173647: 0.4%
Covered Lines: 1097
Relevant Lines: 1201

💛 - Coveralls
codeclimate[bot] commented 2 weeks ago

Code Climate has analyzed commit 5af38d7d and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 91.3% (0.3% change).

View more on Code Climate.

ChristianOsswald commented 5 days ago

As far as I can see, it is not yet configurable in TYPO3 settings? Or is it via crawlerOptions

eliashaeussler commented 5 days ago

As far as I can see, it is not yet configurable in TYPO3 settings? Or is it via crawlerOptions

Yes, can be configured with crawlerOptions, see https://docs.typo3.org/p/eliashaeussler/typo3-warming/main/en-us/Configuration/CrawlerConfiguration.html#confval-perform-subrequests.