• Resolved chicago5

    (@chicago5)


    We have 12,000 photos in our stream, and we just set up the shortcode to show 100/page on our WP blog gallery. Now it pages are taking like 2 minutes to load. Can someone advise?

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Sayontan Sinha

    (@sayontan)

    Can you turn on “Performance Logging” from Photonic → Settings → Generic Options → Advanced → Performance Logging?

    Thread Starter chicago5

    (@chicago5)

    Yes, I just saved the setting.

    Thread Starter chicago5

    (@chicago5)

    Was that suppose to fix it, because it hasn’t?

    Plugin Author Sayontan Sinha

    (@sayontan)

    When I look at the statistics, the pull from Flickr seems to be quite quick – it takes less than 1 s for the entire cycle to make the call to Flickr, process the response and generate the markup (this information is printed when you enable performance logging). On your browser each photo by itself seems to be taking around 50-60 ms to fetch, and it is happening in parallel – this is evidenced by the very short amount of time that you see the “spinning” icon when your page renders.

    Also, when I look at the requests made by your site, it looks like fetching the first byte itself is taking the longest (> 1.3 min), so this is likely to be a performance issue with your hosting, where WP is taking quite long to generate the contents of a page and serve the output. For your other pages this seems to be less of an issue because it appears that you have those pages cached (the pages are served from cache, so WP is not having to generate anything on the fly). What type of hosting are you using?

    How dynamic is your photostream? Is there a possibility of you being able to cache some of these pages? Short of caching I don’t see a way out if the hosting is slow.

    Thread Starter chicago5

    (@chicago5)

    Ok that helps. We’ll reach out to our host as well as inquire about more advanced caching options. thanks!

    Thread Starter chicago5

    (@chicago5)

    Got our galleries up, but some aren’t displaying, and some aren’t displaying all the pages (all 30 of our galleries/albums have at least 293 images so at least 5 pages each).

    Here are a couple of examples of a gallery not showing at all. and another not displaying all the pages. Also, here’s a screenshot of the code we’re using for all of the albums/galleries. https://ibb.co/WnYtgdv

    https://www.shopleftlane.com/2018/12/01/fashion-gallery-21/

    https://www.shopleftlane.com/2018/12/01/fashion-gallery-23/3/

    Plugin Author Sayontan Sinha

    (@sayontan)

    For “Gallery 21” I can’t find the Photoset with id 72157704164218175 in Flickr. For the second album (72157704164482955) the Flickr API tells me that there are 61 photos in there – indeed, this can be verified by going to https://www.flickr.com/photos/162825314@N07/sets/72157704164482955.

    Note that you might have private photos or unpublished albums that might be causing these mismatches.

    Thread Starter chicago5

    (@chicago5)

    It looks like it was a permission issue, which we couldn’t see until we logged out of our account. We’ve fixed it. Thanks!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘WordPress gallery pages taking long time to load’ is closed to new replies.