Skip to main content
Coming Soon — We’re building a REST API for programmatic cache invalidation.

Cache Invalidation API

The Hado SEO API will primarily focus on cache invalidation, allowing you to programmatically refresh your pre-rendered content when you deploy changes to your app.

Primary Use Cases

Invalidate Single Pages

Clear cache for specific URLs after content updates

Invalidate Entire Site

Force a full cache refresh after major deployments

CI/CD Integration

Automatically invalidate cache on successful builds

Selective Invalidation

Clear cache for specific URL patterns or paths

Example Workflow

Integrate cache invalidation into your deployment pipeline:
# After deploying your app
curl -X POST https://api.hadoseo.com/v1/cache/invalidate \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "domain": "yourapp.com",
    "paths": ["/", "/about", "/blog/*"]
  }'

Planned Features

  • RESTful API with simple, predictable endpoints
  • API Keys for secure authentication
  • Webhooks for invalidation status notifications
  • Rate Limiting to prevent abuse
  • Granular Control over which pages to invalidate
API access will be available on Pro and Agency plans.

Why Cache Invalidation?

When you update your app’s content or design, the cached pre-rendered pages need to be refreshed so search engines see the latest version. Instead of waiting for automatic cache expiration, the API lets you invalidate cache on-demand.

Interested in Early Access?

Want to be notified when the API launches? Contact us at [email protected] and let us know about your deployment workflow. We’re prioritizing features based on customer feedback!