Advanced features
Peakhour offers advanced features to provide greater control over content delivery and security:
Custom Configuration#
Set custom configurations for specific URLs or patterns:
- Force caching for specific resources
- Skip caching based on cookie presence
- Remove or filter query arguments for caching
- Serve stale content when origin is unavailable
- Normalise user agents for varied caching
- Set implicit Time To Live (TTL) for cached objects
- Require Cache-Control headers for caching
- Strip cookies from cached responses
Bot Management#
Control and verify automated requests:
- Classify requests as automated or human
- Allow or block specific bots
- Implement automation protection against malicious activities
Origin Pools#
Manage multiple origin servers:
- Create pools of origin servers for load balancing
- Implement DNS-based origin selection
- Configure origin error handling and downtime settings
Rate Limiting#
Protect against abuse and maintain service availability:
- Set rate limits based on various criteria (e.g., IP, country, ASN)
- Configure different rate limiting modes (global, per-vhost, zone-based)
- Implement custom rate limiting rules
Custom Scripting#
Implement custom logic using Lua scripts:
- Modify requests and responses
- Implement custom caching logic
- Create advanced routing rules
These advanced features provide additional tools to optimise content delivery, enhance security, and customise Peakhour's behaviour to meet specific requirements.