Skip to main content

Self-Host Gravatar Images

Updated this week

Gravatar images are commonly used for author photos and comment avatars in WordPress. By default, these images are loaded from Gravatar’s external servers, which can slow down your site and add unnecessary third-party requests.

How it works

When enabled, FlyingPress:

  • Scans the page for all Gravatar images (matching gravatar.com/avatar/*)

  • Downloads them during page caching or comment rendering

  • Stores them locally inside wp-content/cache/flying-press/

  • Serves avatars from your own domain, improving speed and reliability

Benefits

  • Faster page load by removing third-party avatar requests

  • Better privacy and reduced reliance on external services

  • Improved cacheability and reduced DNS lookups

  • Works seamlessly across posts, comments, and author boxes

Notes

  • Detection is automatic—no configuration needed

  • Cached Gravatars are updated periodically to reflect changes

  • Applies to all avatars using the default WordPress Gravatar system

Did this answer your question?