Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to turn off Safari's prefetch feature?

Safari has a "feature" which preloads pages while you are typing in the url.

Now for most users this is indeed a feature, speeding up page loads. But for web developers it can cause trouble - especially when it automatically loads scripts (such as importers or background scripts) that you have used earlier but have no intention of running currently.

This happens under Safari 8.x but it is possible that this was also the case on older versions.

Also, note that this feature is distinct from "DNS prefetch" which is the only related explanation I have come across - I have disabled DNS prefetch and that did not solve this issue...

like image 287
Aron Avatar asked Dec 14 '22 15:12

Aron


1 Answers

The answer is much simpler than I thought. :)

like image 139
Aron Avatar answered Feb 11 '23 00:02

Aron