Cache-Dimensionierungsberater
Analysieren Sie Ihre CMS-Daten, um die optimale Cache-Zuweisung zu ermitteln.
Ihre Website verwendet ausschließlich dateisystembasiertes Caching, das deutlich langsamer ist als speicherbasiertes Caching. Bei Websites mit vielen Objekten (insbesondere Galerien) kann die Installation von APCu die Seitenladezeiten von 15–20 Sekunden auf unter 1 Sekunde reduzieren. APCu ist am einfachsten zu installieren und erfordert keine externen Dienste.
Speicherempfehlungen
Total CMS unterstützt alle drei Speicher-Cache-Backends. Hier sind Empfehlungen für jedes.
APCu (L1)
❌ Nicht installiertRedis
⚠️ InstalliertMemcached
❌ Nicht installiertKonfigurationsbeispiele
APCu (php.ini)
Add these settings to your php.ini file and restart PHP/Apache. APCu is the recommended cache for single-server setups.
File: php.ini
apc.enabled=1 apc.shm_size=32M apc.ttl=7200 apc.gc_ttl=3600 apc.enable_cli=0
Redis (redis.conf)
Add these settings to your Redis configuration file and restart the Redis service.
File: /etc/redis/redis.conf
maxmemory 33554432 maxmemory-policy allkeys-lru
Memcached (startup command)
Use the -m flag to set memory limit in MB when starting Memcached.
File: /etc/memcached.conf or startup command
memcached -m 32 -p 11211 -u memcache -l 127.0.0.1
Install APCu (Recommended)
APCu is the easiest memory cache to install. It requires no external services and provides excellent performance for single-server setups.
File: Terminal
# Ubuntu/Debian sudo apt-get install php-apcu sudo systemctl restart apache2 # CentOS/RHEL sudo yum install php-pecl-apcu sudo systemctl restart httpd # cPanel/WHM # Install via EasyApache 4 > PHP Extensions > apcu
Aufschlüsselung pro Collection
| Collection | Schema | Objects | Object-Daten | Indexgröße | Durchschn. Object | Größtes Object |
|---|---|---|---|---|---|---|
| Blog | blog | 5 | 26 KB | 3.4 KB | 5.2 KB | 6.1 KB |
| Pages | builder-page | 6 | 5.5 KB | 1.4 KB | 946 B | 956 B |
| Playground | playground | 1 | 2.1 KB | 2.1 KB | 2.1 KB | 2.1 KB |
| Auth | auth | 1 | 860 B | 449 B | 860 B | 860 B |
| Automation-trigger | automation-trigger | 0 | 0 B | 0 B | 0 B | 0 B |
| Automations | automations | 0 | 0 B | 14 B | 0 B | 0 B |
| Mailer | mailer | 0 | 0 B | 14 B | 0 B | 0 B |
| Mcp-collection | mcp-collection | 0 | 0 B | 0 B | 0 B | 0 B |
| Mcp-prompt-arg | mcp-prompt-arg | 0 | 0 B | 0 B | 0 B | 0 B |
| Styledtext | styledtext | 0 | 0 B | 0 B | 0 B | 0 B |
| MCP Prompts | mcp-prompt | 0 | 0 B | 0 B | 0 B | 0 B |
| Sitemap-meta | sitemap-meta | 0 | 0 B | 0 B | 0 B | 0 B |
| Mcp-property | mcp-property | 0 | 0 B | 0 B | 0 B | 0 B |
| Dataviews | dataviews | 0 | 0 B | 14 B | 0 B | 0 B |
| Preset-item | preset-item | 0 | 0 B | 0 B | 0 B | 0 B |
| Gallery | gallery | 0 | 0 B | 0 B | 0 B | 0 B |
| Toggle | toggle | 0 | 0 B | 0 B | 0 B | 0 B |
| Number | number | 0 | 0 B | 0 B | 0 B | 0 B |
| Mcp-tool | mcp-tool | 0 | 0 B | 0 B | 0 B | 0 B |
| Image | image | 0 | 0 B | 0 B | 0 B | 0 B |
| 0 | 0 B | 0 B | 0 B | 0 B | ||
| Depot | depot | 0 | 0 B | 0 B | 0 B | 0 B |
| Color | color | 0 | 0 B | 0 B | 0 B | 0 B |
| Code | code | 0 | 0 B | 0 B | 0 B | 0 B |
| Text | text | 0 | 0 B | 0 B | 0 B | 0 B |
| Feed | feed | 0 | 0 B | 0 B | 0 B | 0 B |
| Date | date | 0 | 0 B | 0 B | 0 B | 0 B |
| File | file | 0 | 0 B | 0 B | 0 B | 0 B |
| Svg | svg | 0 | 0 B | 0 B | 0 B | 0 B |
| Url | url | 0 | 0 B | 0 B | 0 B | 0 B |