Custom Strategies
Waterfall-Fetch allows you to create and use custom fetching strategies to tailor the HTML retrieval process to your specific needs.Creating a Custom Strategy
A custom strategy is a function that follows theFetchStrategyFunction
type:
Using Custom Strategies
To use custom strategies, pass them as an array to theset
option when calling getHtml
: