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
  • Troubleshooting
  • Performance & Caching Best Practices

Performance & Caching Best Practices

3 min read

Performance & Caching Best Practices #

PetMatchPro fetches animal data from external APIs, so caching plays an important role in page load speed. This guide covers how to optimize performance and work with common caching systems.

PetMatchPro API Caching #

Requires Junior license or higher.

PetMatchPro can cache API responses so it doesn’t call your partner’s API on every page load. Configure this in General Options:

  • API Cache Enabled — Turn caching on/off
  • Cache TTL (Time to Live) — How long cached data is valid before refreshing

Cached data is stored as WordPress transients. When the cache expires, PetMatchPro fetches fresh data from the API on the next page load.

OPcache #

OPcache is a PHP bytecode cache that speeds up PHP execution. It’s enabled on most web servers by default.

The Issue #

When you update PetMatchPro settings or upload a new plugin version, OPcache may continue serving the old compiled PHP files. This means your changes don’t appear even though they’ve been saved.

How to Clear OPcache #

  • cPanel: Look for “PHP Configuration” or “OPcache” in your hosting control panel
  • Hosting dashboard: Many managed hosts have a “Clear Cache” button
  • Contact your host: Ask them to clear OPcache or restart PHP-FPM

LiteSpeed Cache #

LiteSpeed is a web server used by many WordPress hosts. Its caching can be aggressive.

Recommended Settings #

  • Exclude PetMatchPro pages from page cache — Search pages with filters and detail pages with dynamic content should not be fully cached
  • Purge after updates — Purge the LiteSpeed cache after changing PetMatchPro settings

How to Purge #

  • If using the LiteSpeed Cache WordPress plugin, go to LiteSpeed Cache > Toolbox > Purge All
  • Or add your PetMatchPro pages to the “Do Not Cache” list in LiteSpeed settings

CDN Caching #

If you use a CDN (Cloudflare, StackPath, KeyCDN, etc.), it may cache your animal pages.

Recommended Configuration #

  • Exclude dynamic PetMatchPro pages — Create a page rule or cache exception for your search and detail page URLs
  • Allow CSS/JS caching — PetMatchPro’s static assets (stylesheets, scripts) can be safely cached
  • Purge after updates — Clear the CDN cache when you update PetMatchPro or change settings

WordPress Object Cache #

If you use a persistent object cache (Redis, Memcached), PetMatchPro transient data will be stored there instead of the database. This is generally fine and can improve performance. Just be aware that flushing the object cache also clears PetMatchPro’s cached API data.

Browser Caching #

Visitors’ browsers may cache PetMatchPro pages. If a visitor doesn’t see updated animals:

  • Hard refresh the page: Ctrl+Shift+R (Windows) or Cmd+Shift+R (Mac)
  • Clear the browser cache
  • Try an incognito/private browsing window

Performance Tips #

  • Enable API caching (Junior+) to reduce API calls and speed up page loads
  • Use result limits to avoid loading hundreds of animals at once
  • Enable pagination to split large result sets across multiple pages
  • Use the right template — simpler templates with fewer fields load faster

Next Steps #

  • Stale Content / Cache Issues — When changes don’t appear
  • API Connection Issues — Fix connection problems
Performance & Caching Best Practices ultima modifica: 2026-03-25T19:35:02-04:00 da PetMatchPro
Updated on April 30, 2026

What are your Feelings

  • Happy
  • Normal
  • Sad

Share This Article :

  • Facebook
  • X
  • LinkedIn
  • Pinterest
Theme Template Override Not LoadingAnimals Not Displaying

Submit a Comment Cancel reply

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

Table of Contents
  • Performance & Caching Best Practices
    • PetMatchPro API Caching
    • OPcache
      • The Issue
      • How to Clear OPcache
    • LiteSpeed Cache
      • Recommended Settings
      • How to Purge
    • CDN Caching
      • Recommended Configuration
    • WordPress Object Cache
    • Browser Caching
    • Performance Tips
    • Next Steps

© Copyright 2018-2026 by PetMatchPro, All Rights Reserved

  • Privacy Policy
  • Terms of Use
  • Disclaimer
  • Login