media.ofauth.com URLs for all media. These URLs automatically route to either edge cache or persistent storage (Vault Cache), and trigger auto-caching based on your configuration.
| Media Proxy | Vault Cache | |
|---|---|---|
| What it does | Edge-cached URLs | Persistent storage with access by ID |
| Setup | Automatic | Enable per connection |
| Best for | Displaying content | Media libraries, PPV features |
Displaying Media
Usemedia.ofauth.com URLs directly in your app:
- If cached in Vault Cache → serves from persistent storage
- Otherwise → fetches from OnlyFans, caches at edge
Setting Up Vault Cache
Enable for a Connection
Configure Auto-Caching (Organization Defaults)
autoCacheVault (or similar) is enabled, media is automatically queued for persistent storage when accessed via media.ofauth.com.
Triggering Caching
Via Media Proxy URL
POST to anymedia.ofauth.com URL to immediately queue for persistent storage: