Safari Prefetch

Is there a way to drop requests with the "Purpose: prefetch" header? These appear to be causing stale requests to iOS browsers.


  • hkohn72hkohn72 Member
    edited January 2019
    Hello droswalt,

    with aFlex you can filter on every http(s) header. Do you have an example how it looks in the source and what you want to do with this request?

    Thank you!

    CU hkohn!
  • edited January 2019
    The header key is “Purpose” (uppercase P) and the value is “prefetch” (lowercase p). When I inspect the request, it looks like this:

    Purpose: prefetch

    Looks like certain versions of Safari may send “X-Purpose: preview”, instead.

    We would like to drop these requests.

    Thank you,

Sign In or Register to comment.