Edit this page

up.network up.network.shouldReduceRequests()
JavaScript function

This feature is experimental. It may be changed or removed in a future version.

Returns whether optional requests should be avoided where possible.

We assume the user wants to avoid requests if either of following applies:

By default Unpoly will disable preloading and polling if requests should be avoided.

Return value

boolean

Whether requests should be avoided where possible.

This website uses cookies to improve usability and analyze traffic.
I accept or learn more