1. Nebula Nebula
  2. /
  3. PHP
  4.  (Page 16)

prebrowsing()

DNS-Prefetch: Resolve the DNS only to a domain. Preconnect: Resolve both DNS and TCP to a domain. Prefetch: Fully request a single resource and store it in cache until needed. Prerender: Render an entire page (useful for comment next page navigation). Use Audience > User Flow report in Google Analytics for better predictions. This function Read More »

is_available()

This function caches the hostname (not the full URL) for 10 minutes. So whether the hostname is available or times out, that will be cached for 10 minutes unless the parameter is set to false. This means if a remote server is down, there will be a 5-10 second timeout (typically) once per hostname within 10 minutes. Nebula's remote_get() Read More »