1

I'm using fancybox2 to display external urls on my site as iframes.

sometimes it just takes too long for the page to be displayed.

Q: Is there a way to speed up the external url load time?

fmendez
  • 7,250
  • 5
  • 36
  • 35
user2161049
  • 853
  • 1
  • 6
  • 13

1 Answers1

0

An iFrame is just a standard page being loaded. If you need to speed these up, you will need to apply the same tricks as for any other page, namely:

  • Gzip compression on the remote server
  • Caching on the remote server
  • Reducing the size of the page being loaded
  • Reducing the number of requests being made

Alternatively, you could preload the page, so the iframe is loaded with the current page, instead of waiting for the fancybox to be ready.

nicbou
  • 1,047
  • 11
  • 16