• Resolved Chris

    (@cferdinandi)


    Hi Bridget,

    First, thanks for putting together the Petfinder Listing plugin. What a great resource for rescue organizations.

    I recently modified your plugin for a responsive web design project I was working on. One thing I noticed is that when you request a list of more than 10 or 20 animals, the API really slows down load times. I found a simple way to fix this that may be worth adding to your documentation.

    The Quick Cache plugin (https://www.ads-software.com/extend/plugins/quick-cache/) pre-builds all of your WordPress pages once an hour and serves those instead of the dynamically created pages WordPress word normally create when a visitor comes to your site.

    When you use the plugin, visitors are served a pre-built version of the Petfinder listings page, and don’t need to wait for the API to load and the page to be created.

    You can learn more about the modifications I made to your plugin in this short case study I put together: https://gomakethings.com/about/petfinder-api/.

    Thanks again!

    https://www.ads-software.com/extend/plugins/petfinder-listings/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author bridgetwes

    (@bridgetwes)

    Great work on your modifications! I like the list of just photos with a filter. The Petfinder listings are not working on your site right now, but I’ll definitely take a look at how you made that work.

    I’m kind of waiting for Petfinder to release their new API. They say it is in the works and will make filtering and paging much easier. Paging will greatly help load times for shelters with a lot of adoptables.

    Caching is also always a benefit and there are a few great caching plugins available. I have not used Quick Cache, but I use W3 Total Cache on a couple sites. I’ll add a note with a few caching plugin links the next time I update the plugin. Good tip!

    Bridget

    Thread Starter Chris

    (@cferdinandi)

    Hi Bridget,

    I think waiting for the new API is probably for the best. It looks like the current one hasn’t had any updates in a while, so I hope the new one is right around the corner.

    Thanks for pointing out that the list is down right now, too. It seems others sites are working, and this was functioning perfectly last night. I wonder what’s going on there…

    – Chris

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘API Performance’ is closed to new replies.