A function that checks whether Predictive Preloading can run. It must return a boolean. You do not need to check
whether SpeedKit is ready at this point, as this will be checked automatically.
Specify this function to toggle preloading based on certain criteria, like page type or user status.
A function that checks whether Predictive Preloading can run. It must return a boolean. You do not need to check whether SpeedKit is ready at this point, as this will be checked automatically.
Specify this function to toggle preloading based on certain criteria, like page type or user status.
Defaults to
true
.