Performance and Health
These FAQs briefly summarise key points regarding performance considerations for Composr sites. It also touches on the Health Check system.
For more information, check out these tutorials:
For more information, check out these tutorials:
Question | What are Composr caches and how do they improve website performance? |
---|---|
Answer | Composr utilizes various types of caches to enhance performance by storing pre-calculated results and reducing repetitive tasks. These caches include:
|
Question | What is static caching and how do I enable it? |
---|---|
Answer | Static caching drastically improves performance by serving pre-generated pages to bots and guests. This works because these users typically don't require dynamic content. To enable it:
Composr intelligently determines what to cache, and you can further control this via options within the Installation Options. Be aware that enabling static caching may disable eCommerce features for guests unless specifically configured. |
Question | How can I reduce disk activity to improve performance? |
---|---|
Answer | If your hard disk is slow, you can implement the following settings in your _config.php file to minimize disk access:
Note: These settings override default behaviors and may have unintended consequences. Use with caution. |
Question | What is rate limiting and how can I enable it in Composr? |
---|---|
Answer | Rate limiting prevents server overload by restricting the number of requests allowed from a single IP address within a specific timeframe. To enable Composr's built-in rate limiting, add the following to your _config.php file:Code (PHP)$SITE_INFO['rate_limiting'] = '1'; $SITE_INFO['rate_limit_time_window'] = '10'; $SITE_INFO['rate_limit_hits_per_window'] = '5'; This configuration limits each IP to 5 requests every 10 seconds. This feature generates soft errors early in the process before Composr fully loads. |
Question | How can I use Content Delivery Networks (CDNs) to enhance my website? |
---|---|
Answer | CDNs improve website performance by serving content from geographically distributed servers, reducing latency and server load. You can leverage CDNs for your Composr website by:
|
Question | What is the purpose of the Health Check feature in Composr? |
---|---|
Answer | The Health Check feature in Composr proactively identifies potential issues that may affect your website's performance, security, and overall health. It performs various checks and alerts you to problems like:
The Health Check can be run manually or scheduled to run automatically and send e-mail notifications of results. |
Question | How can I access PHP-Info in Composr? |
---|---|
Answer | PHP-Info provides a comprehensive overview of your PHP configuration. You can access it within Composr by navigating to Admin Zone > Tools > PHP-Info / Server Checks. This page also provides additional useful server information. |
Question | What are cleanup tools in Composr and how do I use them? |
---|---|
Answer | Cleanup tools assist with website maintenance by deleting unnecessary data and optimizing database tables. They are divided into "De-cachers" and "Optimizers". You can access them through: Admin Zone > Tools > Cleanup tools. |