Blocking Resource Loading

If the target website has resources that you don't need, such as images, videos, etc., you can block them by setting the header X-Abc-Block-Resources. This can save you more waiting time and data usage.When selecting the rendering type for HTML, blocking resource loading may be a good option.

We currently support the following resource blocking:

  • Image

  • Media

  • Stylesheet

  • Script

  • WebSocket

  • Font

You can specify multiple block types separated by a [,].

Example:

To block Image and Script resources from the target website:

curl -x -k unblock.abcproxy.com:17610 -U "USERNAME-zone-unblock-region-US:PASSWORD" -H "X-Abc-Render:html" -H "X-Abc-Block-Resources:Image,Script"  "https://docs.abcproxy.com"

Last updated