https://github.com/plan2net/single-site
Optimize TYPO3 site resolving for a single site installation
https://github.com/plan2net/single-site
Last synced: 6 months ago
JSON representation
Optimize TYPO3 site resolving for a single site installation
- Host: GitHub
- URL: https://github.com/plan2net/single-site
- Owner: plan2net
- License: gpl-2.0
- Created: 2019-12-20T09:09:27.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-12-06T09:49:01.000Z (over 1 year ago)
- Last Synced: 2025-10-28T15:51:42.003Z (9 months ago)
- Language: PHP
- Homepage:
- Size: 46.9 KB
- Stars: 7
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# single-site
Optimize TYPO3 site handling for a single site installation
## What does it do?
The extension overwrites a method in the core `SiteFinder` and if your installation has only one configured [site](https://docs.typo3.org/m/typo3/reference-coreapi/master/en-us/ApiOverview/SiteHandling/Index.html), it simply returns that without trying to find the site configuration based on the current page's root line (which is a very expensive operation).
## Why should I install it?
You have only one site (one domain) in your installation and want the best performance?
Then you need this extension.
It increases overall performance by 13% (or if you need a concrete number: in my test installation around 200ms per request).
## Installation
Just install it and you're done.
composer require plan2net/single-site
ps: it doesn't harm an installation with more than one site, as then the operation is simply passed on to the default core method