Docs    YouTube    FAQs

What Does Feeds for YouTube Do to Prevent My Site From Loading Slowly?

The plugin was built with site optimization in mind. This is accomplished in a few ways which are detailed below:

API Requests Cached

When the plugin makes a request to the API, the videos are then cached by the plugin to prevent unnecessarily generating API requests every time someone visits your site.

Video Custom Post Type

After the page has fully loaded, the plugin generates individual posts for each video to help speed up load times in the future.

Delayed iframe loading

The YouTube iframe video players are not loaded until the feed is interacted with. This helps unnecessarily loading multiple iframes until the page is loaded.

Video Thumbnail Optimization

The thumbnails for each video are loaded from YouTube’s CDN after the rest of the page. The images are also sized optimally based on the layout of the feed.

support

Couldn’t find your answer in the docs?

Contact Support

Was this article helpful?