1 min readMar 29, 2026by jakub
Trident Templates
Ready-to-use configuration templates for popular platforms, frameworks, and e-commerce systems. Copy a template to /etc/trident/trident.toml and adjust the backend address to match your setup.
E-Commerce Platforms
| Platform | Cache Tags | Key Features |
|---|---|---|
| Magento 2 | X-Magento-Tags | GraphQL caching, backend protection, static/media rules |
| WooCommerce | X-Cache-Tags | Cart/checkout bypass, logged-in user detection |
| Shopware 6 | X-Cache-Tags | Storefront and API rules |
| PrestaShop | X-Cache-Tags | Module-aware rules |
| Sylius | X-Cache-Tags | Symfony-based rules |
| Shopify Headless | X-Cache-Tags | Storefront API caching |
| Medusa.js | X-Cache-Tags | API-first caching |
| Saleor | X-Cache-Tags | GraphQL caching |
CMS Platforms
| Platform | Cache Tags | Key Features |
|---|---|---|
| WordPress | X-Cache-Tags | WooCommerce support, ESI, multi-language vary |
| Drupal | X-Drupal-Cache-Tags | Native cache tag integration |
| Strapi | X-Cache-Tags | Headless CMS API caching |
| Ghost | X-Cache-Tags | Blog-optimized rules |
| Payload CMS | X-Cache-Tags | API route caching |
Web Frameworks
| Framework | Language | Key Features |
|---|---|---|
| Laravel | PHP | Livewire bypass, Sanctum auth, Vite assets |
| Symfony | PHP | ESI support, profiler bypass |
| Django | Python | Admin bypass, session handling |
| FastAPI | Python | API endpoint caching |
| Ruby on Rails | Ruby | Turbo/Stimulus support |
| Spring Boot | Java | Actuator bypass, API caching |
| Next.js | JavaScript | ISR support, _next asset caching |
| Nuxt.js | JavaScript | _nuxt asset caching, API rules |
Quick Start
-
Pick your platform template
-
Copy the configuration:
Bashsudo cp trident.toml /etc/trident/trident.toml -
Update the backend address to point to your application
-
Restart Trident:
Bashsudo systemctl restart trident
Customizing Templates
These templates provide sensible defaults. You should review the cache rules and adjust TTLs based on your specific needs. See the Configuration page for all available options.
Was this page helpful?