Ghost/ghost/core/test/e2e-server
Simon Backx b30558c77c
Added cache config to stats endpoints (#19481)
no issue

Allows to enable cache via hostSettings.statsCache.enabled. This will
need proper cache timeouts in order to function correctly.

Usage in config:
```
"hostSettings": {
        "statsCache": {
            "enabled": true
        }
    },
    "adapters": {
        "cache": {
            "Redis": {
                "host": "127.0.0.1",
                "port": 6379,
                "username": "",
                "password": "",
                "ttl": 60,
                "storeConfig": {
                    "maxRetriesPerRequest": 1,
                    "enableOfflineQueue": false,
                    "retryConnectSeconds": 60
                }
            },
            "stats": {
                "adapter": "Redis",
                "ttl": 3600,
                "refreshAheadFactor": 1,
                "keyPrefix": "site:123456:stats"
            }
        }
    },
    ```
2024-01-18 15:26:49 +01:00
..
__snapshots__ Added Content-Version header to all API requests 2023-01-18 08:38:07 +01:00
jobs Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
services Added cache config to stats endpoints (#19481) 2024-01-18 15:26:49 +01:00
1-options-requests.test.js Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
admin.test.js Fixed configUtils and adapter cache issues in E2E tests (#16167) 2023-01-30 14:06:20 +01:00
click-tracking.test.js Removed usage of unquoted ids in filter strings (#19070) 2023-11-21 09:45:36 +01:00
well-known.test.js Removed unnecessary mockMail call 2023-04-07 14:34:57 +02:00