Jump to content


These Forums Are Now Read-Only


For TubePress support, please post a question here or open a support ticket and we will be glad to assist.


Photo

Much Slower Since Upgrade, Plus Pagination Problem


  • Please log in to reply
111 replies to this topic

#1 James Israel

James Israel

    Advanced Member

  • Members
  • PipPipPip
  • 132 posts
  • LocationSacramento, CA

Posted 30 April 2015 - 09:26 PM

My video pages are loading much slower than before, since I upgraded to 4.8. Also, the pagination doesn't seem to work right, whether I have Ajax enabled or not.

 

Before I click on a pagination link, I've got several pages available, but after I click on page 2, for example, suddenly there are only two pages available.

 

 



#2 brandon

brandon

    Advanced Member

  • TubePress Staff
  • 1989 posts

Posted 30 April 2015 - 10:03 PM

James,

 

Link to your site to troubleshoot?

 

Thanks!


Want a faster, more personalized support experience? Open a ticket with us! We will be gradually phasing out forum-based support in favor of a proper ticketing system. Please help us help you!


#3 James Israel

James Israel

    Advanced Member

  • Members
  • PipPipPip
  • 132 posts
  • LocationSacramento, CA

Posted 15 May 2015 - 07:52 PM

http://www.humortime...2-funny-videos/is one gallery.



#4 brandon

brandon

    Advanced Member

  • TubePress Staff
  • 1989 posts

Posted 18 May 2015 - 10:12 PM

James,

 

I'm not noticing any slowness when loading your website, in fact it loads very quickly for me.  Have you performed any performance tests against it to see exactly what may be slowing your site down?

 

Thanks!


Want a faster, more personalized support experience? Open a ticket with us! We will be gradually phasing out forum-based support in favor of a proper ticketing system. Please help us help you!


#5 James Israel

James Israel

    Advanced Member

  • Members
  • PipPipPip
  • 132 posts
  • LocationSacramento, CA

Posted 23 May 2015 - 02:16 AM

The site is pretty fast, other than the video gallery pages. I'm surprised you say it loaded quickly for you. For me, the video gallery page I linked to above takes about 10 seconds.

 

Also, I still have the strange pagination problem. There are many pages listed at first, but if you click on one, after loading (slowly again), only two pages show in the pagination bar.



#6 brandon

brandon

    Advanced Member

  • TubePress Staff
  • 1989 posts

Posted 26 May 2015 - 08:53 PM

James,

 

Can you enable Tubepress Debugging please?  It'll allow me to see what YouTube is saying when trying to access further pages.

 

Thanks!


Want a faster, more personalized support experience? Open a ticket with us! We will be gradually phasing out forum-based support in favor of a proper ticketing system. Please help us help you!


#7 James Israel

James Israel

    Advanced Member

  • Members
  • PipPipPip
  • 132 posts
  • LocationSacramento, CA

Posted 28 May 2015 - 11:57 PM

Okay, it's enabled.



#8 James Israel

James Israel

    Advanced Member

  • Members
  • PipPipPip
  • 132 posts
  • LocationSacramento, CA

Posted 01 June 2015 - 02:24 PM

Have you had a chance to look at this? Btw, now I am getting this PHP error:

PHP Warning:  sprintf(): Too few arguments in /tmp/tubepress-system-cache-90002bbbf7480c0ec4d6df742d123842/twig/b/7/b71d9799ade9991f9b3a1bb9e0fdc455382a3a000a8d3e76d8e2076aa9a65413.php on line 409

... repeatedly, and the site is acting very strange, don't know it that's the cause or not, but seems like it's not good.



#9 James Israel

James Israel

    Advanced Member

  • Members
  • PipPipPip
  • 132 posts
  • LocationSacramento, CA

Posted 04 June 2015 - 03:04 PM

*bump* ... don't really want to leave the debugging enabled for too long...



#10 brandon

brandon

    Advanced Member

  • TubePress Staff
  • 1989 posts

Posted 04 June 2015 - 07:58 PM

James,

 

This is interesting, I have asked our developers to take a look as youtube is responding with: "After full collection, we have 8532 video(s)."

 

So, not sure why its not working properly.

 

Thanks!


Want a faster, more personalized support experience? Open a ticket with us! We will be gradually phasing out forum-based support in favor of a proper ticketing system. Please help us help you!


#11 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 04 June 2015 - 09:51 PM

Taking a look now..



#12 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 08 June 2015 - 03:06 AM

First to address the performance issue. Could you confirm that you have TubePress's API cache enabled from WP Admin > Settings > TubePress > Cache? Given your situation it's critical that this is turned on and working.

 

However, even with the API cache turned on we might still have a performance problem. Since you're asking TubePress to fetch 25 video sources (22 YouTube channels and 3 playlists), there's still a lot of server-side processing that needs to be done. I tested your shortcode on tubepress.com, a moderately high-performance VPS, and the page still took a few seconds to load.

 

I've tinkered with the idea of adding another cache tier to TubePress that would cache its raw HTML output, but there are a number of caching plugins for WordPress that do just that (e.g. WP Super Cache, WP Fastest Cache). Since you are running W3 Total Cache on your site, I think the best solution would be to simply ensure that your pages with TubePress are being served from W3 Total Cache's cache. Right now it doesn't seem that they are. Thoughts?

 

Finally, the pagination problem indeed seems to be a new bug. Thank you for reporting this. I'll be investigating tomorrow and will release a fix immediately. Please stand by for an update!



#13 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 09 June 2015 - 06:42 PM

TubePress 4.1.9 has just been released and it includes a fix for the pagination issue. Please give it a try and let us know how it works for you.



#14 James Israel

James Israel

    Advanced Member

  • Members
  • PipPipPip
  • 132 posts
  • LocationSacramento, CA

Posted 10 June 2015 - 07:02 PM

Eric, thanks, the new release seems to have fixed the pagination error.

 

Yes, I do have Tubepress cache enabled. I don't have any exlusion set up in W3TC for tubepress or the pages it's on, so I don't see why it wouldn't be caching them. There is an option "Cache SSL (https) requests" which I do NOT have checked - would that affect the tubepress pages, since the YouTube videos are coming from https servers?

 

As I said at the top of this thread, this was not an issue before 4.1.8, so it seems like it must be related to something you've changed in tubepress.



#15 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 11 June 2015 - 06:01 PM

Eric, thanks, the new release seems to have fixed the pagination error.

 

Yes, I do have Tubepress cache enabled. I don't have any exlusion set up in W3TC for tubepress or the pages it's on, so I don't see why it wouldn't be caching them. There is an option "Cache SSL (https) requests" which I do NOT have checked - would that affect the tubepress pages, since the YouTube videos are coming from https servers?

 

As I said at the top of this thread, this was not an issue before 4.1.8, so it seems like it must be related to something you've changed in tubepress.

 

Glad to hear that we're making some progress! Strangely when I visited your site yesterday and today, the initial page load was very fast. Did you just recently switch to CloudFlare, too? CloudFlare usually strips out HTML comments so I can't really tell if W3TC is working, but regardless it certainly feels fast so I'd suspect that it's working normally.

 

However when clicking on page numbers in the TubePress gallery, we still see a very sluggish response. This is because W3TC doesn't cache Ajax requests, so TubePress does all that backend work for each page request. I think what I need to do is add the extra caching layer that I mentioned in my previous post. It shouldn't be that difficult and I should be able to knock it out quickly - hopefully over the next few days?

 

4.1.8 was a relatively minor maintenance release, so I would bet that this issue was there before.

 

Stand by for an update on the cache feature!



#16 James Israel

James Israel

    Advanced Member

  • Members
  • PipPipPip
  • 132 posts
  • LocationSacramento, CA

Posted 12 June 2015 - 04:12 PM

Sounds great, can't wait! And, yes I do use Cloudflare, have for years...



#17 James Israel

James Israel

    Advanced Member

  • Members
  • PipPipPip
  • 132 posts
  • LocationSacramento, CA

Posted 16 June 2015 - 05:16 PM

Nothing on this yet?



#18 brandon

brandon

    Advanced Member

  • TubePress Staff
  • 1989 posts

Posted 17 June 2015 - 02:35 AM

Just poked our developers for an update.

 

Thanks!


Want a faster, more personalized support experience? Open a ticket with us! We will be gradually phasing out forum-based support in favor of a proper ticketing system. Please help us help you!


#19 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 18 June 2015 - 04:22 PM

Nothing yet but another customer in a nearly identical situation just contacted us. I'm working on this feature and one other bug fix that I have planned. We're working as fast as possible - I'm sorry for the delay!



#20 James Israel

James Israel

    Advanced Member

  • Members
  • PipPipPip
  • 132 posts
  • LocationSacramento, CA

Posted 19 June 2015 - 02:05 PM

No problem, thanks for addressing it. Looking forward to the fix.