Welcome to the advanced usage section of our documentation! Here, we'll dive deeper into the capabilities and features that can help you maximize your experience with this tool.
🔧 Custom Configuration Options
- Environment Variables: Override default settings by setting
APP_ENV
toproduction
ordevelopment
. - Rate Limiting: Implement advanced rate limiting using the
/en/guides/rate_limiting
guide. - Caching Strategies: Optimize performance with cache headers and TTL configurations.
🛡️ Security Enhancements
- Enable HTTPS with
SSL_CERT_PATH
andSSL_KEY_PATH
- Use middleware for CSRF protection:
app.use(csrfProtection())
- Set up IP whitelisting via
ACCESS_CONTROL_ALLOW_ORIGIN
🚀 Performance Tuning
- Compression: Enable Gzip/Brotli compression with
COMPRESS_TYPE
- Load Balancing: Configure multiple backend servers using
LOAD_BALANCE_URLS
- CORS Settings: Fine-tune cross-origin policies with
CORS_HEADERS
For more details, check out our documentation on /en/guides/optimization_strategies.