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

11
  • 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
  • Preconnect to Your Partner Photo CDN – PetMatchPro
View Categories
  • Home
  • Knowledge Base
  • Best Practices
  • Preconnect to Your Partner Photo CDN – PetMatchPro

Preconnect to Your Partner Photo CDN – PetMatchPro

3 min read

Preconnect to Your Partner Photo CDN #

Every animal photo on a PMP search or detail page is hosted on your shelter system’s own image CDN, not on your WordPress site. PetPoint serves photos from g.petango.com, AnimalsFirst from animalsfirstprod.s3.amazonaws.com, and RescueGroups from cdn.rescuegroups.org. Each of those is a separate hostname that costs the browser a DNS lookup, a TCP handshake, and a TLS handshake before the first byte of the first photo arrives – typically 100-300 ms on top of the photo download itself.

The Preconnect to Partner Photo CDN setting (General > Performance) tells PMP to inject a <link rel="preconnect"> tag into the page <head>. The browser uses that hint to start the handshake in parallel with HTML parsing, so by the time it encounters the first <img>, the connection is already warm.

When It Fires #

The hint only appears on pages that actually render PMP content. PMP detects this by either:

  • Finding a [pmp-search], [pmp-details], or [pmp-detail] shortcode in the post body, or
  • Recognizing the SEO pretty-permalink URL pattern /pmp/{method}/{slug}/

Unrelated pages (your homepage, about page, blog posts) do not get the preconnect tag – you only pay the DNS/TLS warm-up cost where it pays off.

How Much It Saves #

The win depends on visitor latency and how many photos are on the page. Rough numbers from a typical search results grid (12 animals, 1 image each):

Network Without preconnect With preconnect Saved
Desktop, 50ms RTT ~180ms ~10ms ~170ms
Mobile 4G, 100ms RTT ~350ms ~15ms ~335ms
Mobile 3G, 300ms RTT ~900ms ~30ms ~870ms

This is purely the connection-setup savings. Image download time is unchanged.

Default Behavior #

The setting is enabled by default for both fresh installs (8.11.0 and later) and existing sites upgrading from earlier versions. There is no operator action required – the perf win lands silently the first time the new code runs.

When You Might Disable It #

  • You are using a custom CDN proxy that fronts the partner CDN behind your own hostname. In that case the partner host is never contacted directly and the preconnect would warm up the wrong connection. Disable PMP’s preconnect and add your own at the proxy hostname via your theme or a perf plugin.
  • You have a content security policy (CSP) that does not allow the partner CDN host as a connect-src or img-src. Fix the CSP first; the preconnect itself is harmless but the eventual image load will be blocked.
  • You are debugging a connection issue and want to see DevTools network waterfall with no preconnect optimization in the way.

Verifying It Is Working #

On any page that has a PMP shortcode, view the HTML source (Ctrl+U) and search for preconnect. You should see a line like:

<link rel='preconnect' href='https://g.petango.com' />

Or in Chrome DevTools, open the Network tab and look at the very first request: connection setup phases (DNS, Initial connection, SSL) should be near zero for the partner-CDN images, because the handshake already happened.

Related Settings #

  • API Caching – server-side cache of partner responses; complements preconnect by also saving on the API round-trip.
  • Stale Content / Cache Issues – troubleshooting if the wrong CDN host appears in the preconnect tag (usually means a partner change without re-saving General settings).
Preconnect to Your Partner Photo CDN – PetMatchPro ultima modifica: 2026-05-15T13:52:30-04:00 da PetMatchPro
Updated on May 15, 2026

What are your Feelings

  • Happy
  • Normal
  • Sad

Share This Article :

  • Facebook
  • X
  • LinkedIn
  • Pinterest
Template Selection GuideFeaturing Animals on Your Homepage

Submit a Comment Cancel reply

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

Table of Contents
  • Preconnect to Your Partner Photo CDN
    • When It Fires
    • How Much It Saves
    • Default Behavior
    • When You Might Disable It
    • Verifying It Is Working
    • Related Settings

© Copyright 2018-2026 by PetMatchPro, All Rights Reserved

  • Privacy Policy
  • Terms of Use
  • Disclaimer
  • Login