Support » Plugin: WP Super Cache » WP Super Cache & YouTube API

  • Hello. On my blog I am using the YouTube API to embed videos from a playlist (maximum 50 videos per playlist). Each playlist is updated three or four times per day with 10 or so new videos added each time until a 50 video maximum is reached (whereupon I create a new playlist).

    Calling the YouTube API is quite resource intensive and I was wondering if a caching plugin would improve page rendering performance? Should I look to use something like WP Super Cache on my site or will I strike problems due to each playlist being updated several times throughout the day?

    Any guidance/suggestions very much appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Donncha O Caoimh

    (@donncha)

    Yes it will help, but you need to change how you fetch the playlist – use a wp-cron job perhaps and cache the list locally if you’re not doing so.

    Many thanks for the speedy response Donncha. Off now to do some Googling on cron jobs and local caching… Cheers

    @istanbulmmv: Where is the API called from? Is it called from Javascript within your post? If so, caching the posts will not provide any value since the cached post will just include the javascript to the API, not the resulting code that is rendered on the client side.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WP Super Cache & YouTube API’ is closed to new replies.