X
🐾 Coming from PetMatchPro 6.x? Version 8 adds real adoption analytics, similar-animal suggestions, SEO-friendly URLs, and overlay badges. See What's New →
PetMatchPro
  • Partners
    • AnimalsFirst
    • PetPoint
    • RescueGroups
  • What’s New
  • Shop
  • Demo
  • FAQ
  • Knowledge Base
  • About Us
  • Contact Us
  • My Account
  • Cart
Select Page
Green rocket icon for Getting Started documentation category

Getting Started

6
  • Activate Your License
  • Setup Wizard Walkthrough
  • Connecting Your Shelter System
  • Understanding License Tiers
  • Creating Your First Search Page
  • Creating Your First Detail Page
Blue code brackets icon for Shortcodes and Configuration documentation category

Shortcodes & Configuration

12
  • Shortcode Builder
  • [pmp-search] Reference
  • [pmp-details] Reference
  • [pmp-detail] Reference
  • [pmp-option] Reference
  • Parameters by License Tier
  • Common Shortcode Recipes
  • Pagination Setup
  • Excluding Values
  • Search Filter Button
  • Detail Button Hover Text
  • Search Card Hover Text
Purple palette icon for Templates and Design documentation category

Templates & Design

7
  • Search Templates Gallery
  • Detail Templates Gallery
  • Poster Templates
  • Theme Template Overrides
  • Color Customization
  • Font Size Customization
  • Detail Title Formats
Orange image with star icon for Icons and Overlays documentation category

Icons & Overlays

6
  • Understanding Pet Icons
  • Understanding Overlays
  • Icon Reference Gallery
  • Customizing Icon Display
  • Value-Based Icons
  • Icon Size Customization
Teal tag icon for Labels and Customization documentation category

Labels & Customization

3
  • Custom Labels Guide
  • Changing Labels via Filtering
  • Custom Currency & Date Formats
Blue funnel icon for Filters and Search documentation category

Filters & Search

5
  • Setting Up Search Filters
  • Species & Breed Filtering
  • Filter Value Management
  • Excluding Values via Filtering
  • Partner-Specific Filter Options
Violet chain link icon for Partner Integration Guides documentation category

Partner Guides

3
  • AnimalsFirst Integration Guide
  • PetPoint Integration Guide
  • RescueGroups Integration Guide
Red bar chart icon for Analytics and Tracking documentation category

Analytics & Tracking

7
  • Understanding PMP Analytics
  • GA4 Configuration
  • Google Tag Manager Setup
  • Leveraging Analytics
  • WP-Cron Requirements for PetMatchPro Analytics
  • Queue Health and Tools
  • Privacy and Data Retention
Amber wrench icon for Troubleshooting and FAQ documentation category

Troubleshooting

15
  • Common Error Messages
  • API Connection Issues
  • Template Not Found Errors
  • Theme Template Override Not Loading
  • Performance & Caching Best Practices
  • Animals Not Displaying
  • Stale Content / Cache Issues
  • Styling Conflicts
  • Empty Field Display
  • Analytics Queue Stuck or WP-Cron Not Running
  • Premium Feature Not Appearing After Upgrade
  • Troubleshoot the PetMatchPro Shortcode Builder
  • Reading PMP Debug Logs
  • wp-config.php Configuration Constants
  • How to Contact Support
Lightbulb icon representing PetMatchPro best practices guides for homepage layouts, button strategy, performance tuning, and template selection

Best Practices

10
  • Featuring Animals on Your Homepage
  • Adding Animals to Sidebars and Other Pages
  • Using Banners and Subtitles Effectively
  • Overlays and Icons for Quick Visual Cues
  • Writing Effective Detail Page Instructions
  • Button Configuration for Conversion
  • Optimizing Performance with API Caching
  • Customizing Typography and Icon Sizes
  • Lost and Found Search Best Practices
  • Template Selection Guide
View Categories
  • Home
  • Knowledge Base
  • Best Practices
  • Optimizing Performance with API Caching

Optimizing Performance with API Caching

2 min read

Optimizing Performance with API Caching #

Every search page and detail page makes API calls to your shelter management system. On high-traffic sites, this can slow page loads and hit API rate limits. Caching stores responses temporarily so repeat requests are served instantly.

When to Enable Caching #

  • High traffic sites: More than a few hundred daily visitors – caching prevents API bottlenecks
  • Slow API responses: If pages take more than 2-3 seconds to load, caching helps immediately
  • Multiple shortcodes per page: A homepage with carousel + compact = multiple API calls per visit
  • Featured/homepage displays: These pages get the most traffic and benefit most from caching

Recommended TTL Settings #

Cache Type Recommended TTL Why
Search Results 5 minutes Balances freshness with performance. New arrivals appear within 5 minutes.
Detail Pages 15 minutes Individual animal data changes less frequently. Longer cache is safe.

Configure in admin: General > Performance.

Caching + Client-Side Filtering #

The best performance comes from combining API caching with client-side features. When enabled, the initial page load fetches data from cache, and filter/sort interactions happen instantly in the browser without additional API calls:

[pmp-search type="adopt" filter="enable" client="enable"]

Cache Clearing #

If you need fresh data immediately (e.g., after a large intake or data correction), clear the cache in admin: Tools > Cache Management. The cache also regenerates automatically after the TTL expires.

Tips #

  • Start with the recommended TTLs and adjust based on your update frequency
  • Homepages with carousels benefit most – visitors see instant results on repeat visits
  • Cache is per-shortcode, so different pages can have different effective freshness
  • If animals appear stale, check Stale Content / Cache Issues for troubleshooting
  • API caching requires Junior license or higher

Next Steps #

  • Performance & Caching Reference — Full caching configuration details
  • Stale Content / Cache Issues — Troubleshooting cached data
  • Featuring Animals on Your Homepage — High-traffic pages that benefit from caching
Optimizing Performance with API Caching ultima modifica: 2026-03-29T09:52:56-04:00 da PetMatchPro
Updated on May 1, 2026

What are your Feelings

  • Happy
  • Normal
  • Sad

Share This Article :

  • Facebook
  • X
  • LinkedIn
  • Pinterest
Button Configuration for ConversionCustomizing Typography and Icon Sizes

Submit a Comment Cancel reply

Your email address will not be published. Required fields are marked *

Table of Contents
  • Optimizing Performance with API Caching
    • When to Enable Caching
    • Recommended TTL Settings
    • Caching + Client-Side Filtering
    • Cache Clearing
    • Tips
    • Next Steps

© Copyright 2018-2026 by PetMatchPro, All Rights Reserved

  • Privacy Policy
  • Terms of Use
  • Disclaimer
  • Login