Roberts Šensters
Roberts Šensters

Reputation: 605

Prefetching solution for Safari browser?

According to this link prefetch , prefetching is working only for specific browsers. Unfortunately for me, I need it to work mostly on mobile devices.

Anyone have a solution how to preload, prefetch, cache page so it works for iOS? (Safari)

Upvotes: 7

Views: 3444

Answers (3)

Eugene Fidelin
Eugene Fidelin

Reputation: 2329

Nowadays Safari mobile supports preload https://caniuse.com/?search=preload

Upvotes: -1

yallam
yallam

Reputation: 1244

One solutions here is to go with base64 images.

Following links might be useful for further investigation. https://en.wikipedia.org/wiki/Data_URI_scheme How to display base64 encoded image in html

There are similar options with prefetch like "dns-prefetch", "preconnect" and "subresource" but support on IOS safari is not great(as of today). https://css-tricks.com/prefetching-preloading-prebrowsing/

Upvotes: 0

user10089632
user10089632

Reputation: 5570

Use Jquery mobile, here is the documentation and here is the download link.

Upvotes: 0

Related Questions