Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
432d8da350 | ||
|
|
5b338eeab6 | ||
|
|
05ceae5100 |
@@ -4,8 +4,8 @@
|
|||||||
# http://download.redis.io/redis-stable/redis.conf
|
# http://download.redis.io/redis-stable/redis.conf
|
||||||
# http://download.redis.io/redis-stable/sentinel.conf
|
# http://download.redis.io/redis-stable/sentinel.conf
|
||||||
|
|
||||||
maxmemory 2048mb
|
maxmemory 128mb
|
||||||
maxmemory-policy allkeys-lfu
|
maxmemory-policy allkeys-lru
|
||||||
|
|
||||||
# to disable Redis persistence, remove ddev-generated from this file,
|
# to disable Redis persistence, remove ddev-generated from this file,
|
||||||
# and uncomment the two lines below:
|
# and uncomment the two lines below:
|
||||||
|
|||||||
@@ -15,6 +15,7 @@
|
|||||||
"ext-json": "*",
|
"ext-json": "*",
|
||||||
"ext-libxml": "*",
|
"ext-libxml": "*",
|
||||||
"ext-pdo": "*",
|
"ext-pdo": "*",
|
||||||
|
"ext-redis": "*",
|
||||||
"ext-simplexml": "*",
|
"ext-simplexml": "*",
|
||||||
"b13/container": "^1.3",
|
"b13/container": "^1.3",
|
||||||
"blueways/bw-captcha": "^3.1",
|
"blueways/bw-captcha": "^3.1",
|
||||||
|
|||||||
Generated
+3
-2
@@ -4,7 +4,7 @@
|
|||||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"content-hash": "e3a433b77a2142f116e57b54c4172ffa",
|
"content-hash": "38fb94ebf504e8413d37c94f929e4b47",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "b13/container",
|
"name": "b13/container",
|
||||||
@@ -9647,11 +9647,12 @@
|
|||||||
"ext-json": "*",
|
"ext-json": "*",
|
||||||
"ext-libxml": "*",
|
"ext-libxml": "*",
|
||||||
"ext-pdo": "*",
|
"ext-pdo": "*",
|
||||||
|
"ext-redis": "*",
|
||||||
"ext-simplexml": "*"
|
"ext-simplexml": "*"
|
||||||
},
|
},
|
||||||
"platform-dev": {},
|
"platform-dev": {},
|
||||||
"platform-overrides": {
|
"platform-overrides": {
|
||||||
"php": "7.4.13"
|
"php": "7.4.33"
|
||||||
},
|
},
|
||||||
"plugin-api-version": "2.9.0"
|
"plugin-api-version": "2.9.0"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -47,22 +47,42 @@ if (getenv('IS_DDEV_PROJECT') == 'true') {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['cache_pages'] = [
|
// Fail fast instead of blocking indefinitely when redis is unreachable.
|
||||||
|
$redisOptions['connectionTimeout'] = 2;
|
||||||
|
|
||||||
|
// Note: the cache identifiers must stay unprefixed ('pages', not 'cache_pages'). These
|
||||||
|
// assignments replace the definitions from LocalConfiguration.php wholesale, so 'groups'
|
||||||
|
// and the compression/lifetime options have to be repeated here.
|
||||||
|
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['pages'] = [
|
||||||
'frontend' => \TYPO3\CMS\Core\Cache\Frontend\VariableFrontend::class,
|
'frontend' => \TYPO3\CMS\Core\Cache\Frontend\VariableFrontend::class,
|
||||||
'backend' => \TYPO3\CMS\Core\Cache\Backend\RedisBackend::class,
|
'backend' => \TYPO3\CMS\Core\Cache\Backend\RedisBackend::class,
|
||||||
'options' => $redisOptions + ['database' => 0],
|
'options' => $redisOptions + [
|
||||||
|
'database' => 0,
|
||||||
|
'compression' => true,
|
||||||
|
],
|
||||||
|
'groups' => ['pages'],
|
||||||
];
|
];
|
||||||
|
|
||||||
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['cache_hash'] = [
|
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['hash'] = [
|
||||||
'frontend' => \TYPO3\CMS\Core\Cache\Frontend\VariableFrontend::class,
|
'frontend' => \TYPO3\CMS\Core\Cache\Frontend\VariableFrontend::class,
|
||||||
'backend' => \TYPO3\CMS\Core\Cache\Backend\RedisBackend::class,
|
'backend' => \TYPO3\CMS\Core\Cache\Backend\RedisBackend::class,
|
||||||
'options' => $redisOptions + ['database' => 1],
|
'options' => $redisOptions + [
|
||||||
|
'database' => 1,
|
||||||
|
],
|
||||||
|
'groups' => ['pages'],
|
||||||
];
|
];
|
||||||
|
|
||||||
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['cache_rootline'] = [
|
// Own database: RedisBackend::flush() issues FLUSHDB and the keys carry no per-cache
|
||||||
|
// prefix, so two caches sharing a database flush each other.
|
||||||
|
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['rootline'] = [
|
||||||
'frontend' => \TYPO3\CMS\Core\Cache\Frontend\VariableFrontend::class,
|
'frontend' => \TYPO3\CMS\Core\Cache\Frontend\VariableFrontend::class,
|
||||||
'backend' => \TYPO3\CMS\Core\Cache\Backend\RedisBackend::class,
|
'backend' => \TYPO3\CMS\Core\Cache\Backend\RedisBackend::class,
|
||||||
'options' => $redisOptions + ['database' => 1],
|
'options' => $redisOptions + [
|
||||||
|
'database' => 2,
|
||||||
|
'compression' => true,
|
||||||
|
'defaultLifetime' => 2592000,
|
||||||
|
],
|
||||||
|
'groups' => ['pages'],
|
||||||
];
|
];
|
||||||
|
|
||||||
// suppress php deprecation warnings flooding typo3 logs
|
// suppress php deprecation warnings flooding typo3 logs
|
||||||
|
|||||||
@@ -15,3 +15,10 @@ module.tx_form.settings.yamlConfigurations {
|
|||||||
1630994710 = EXT:ep_theme/Configuration/Yaml/FormsBase.yaml
|
1630994710 = EXT:ep_theme/Configuration/Yaml/FormsBase.yaml
|
||||||
1630994711 = EXT:ep_theme/Configuration/Yaml/FormFinishersBackend.yaml
|
1630994711 = EXT:ep_theme/Configuration/Yaml/FormFinishersBackend.yaml
|
||||||
}
|
}
|
||||||
|
|
||||||
|
plugin.tx_bwcaptcha.settings {
|
||||||
|
charset = abcdefghjkmnpqrtuvwxy34679
|
||||||
|
length = 4
|
||||||
|
width = 220
|
||||||
|
height = 60
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user