Version 6 supported

Performance

Making your Silverstripe CMS applications fast and scalable is crucial for providing a great user experience and reducing server costs. This section provides guidance on various performance optimization techniques, ranging from caching strategies to database optimizations.

Where to start

  • Use profiling tools to identify the slowest parts of your application.
  • Implement caching strategies for frequently accessed data and static assets.
  • Focus on quick-wins first such as adding appropriate indexes.
  • Continuously monitor your application's performance and make adjustments as needed.
Partial template caching
Cache Silverstripe CMS templates to reduce database queries.
Object caching
Optimise performance by caching expensive processes
Cache adapters
Cache adapters supported by symfony/cache
HTTP Cache Headers
Set the correct HTTP cache headers for your responses.
Static Publishing
Export web pages as static HTML
ORM Performance
Configuration and tips for improving ORM performance
Eager loading
Avoid the N + 1 queries with eager loading
Read-only database replicas
Using read-only database replicas to improve performance
Other Optimisations
Other performance optimisations