URL Configuration Use Cases¶
This tutorial covers common use cases for the URL Configuration phase in Peakhour.IO.
Set Caching Options for Static Assets¶
This filter identifies requests for static assets:
The configuration sets caching options for these requests:
Disable Caching for Dynamic Content¶
This filter identifies requests to API endpoints:
The configuration disables caching for these requests:
Enable GZIP Compression¶
This filter identifies requests that accept GZIP encoding:
The configuration enables GZIP compression for these requests:
Set Custom Origin for Specific Paths¶
This filter identifies requests to blog pages:
The configuration sets a custom origin pool for these requests:
These examples demonstrate how to use the URL Configuration phase to customise Peakhour settings for different sections of your site.