Ghost/ghost/core/test/e2e-server/services
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 email address alignment protections (#19094) 2023-11-23 10:25:30 +01:00
stats Added cache config to stats endpoints (#19481) 2024-01-18 15:26:49 +01:00
member-attribution.test.js Fixed configUtils and adapter cache issues in E2E tests (#16167) 2023-01-30 14:06:20 +01:00
mentions.test.js Disabled network retries for webmentions in tests (#18269) 2023-09-21 16:17:05 +02:00
milestones.test.js Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
recommendation-emails.test.js Renamed reason to description in recommendations table (#18527) 2023-10-09 11:19:44 -03:00