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:

When Unpoly detects a slow connection, some defaults are changed to more effectively use the client's limited network resources.

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