Can I use Fastly as a cache for a 3rd party API?

Comments

2 comments

  • Prasnna Prasanna

    If we can do this, it would be amazing

    0
    Comment actions Permalink
  • Eden

    Hi,

    You can use any domain or service as a backend in Fastly as long as that service doesn't have measures in place to prevent it from being used as a backend in a Fastly service. By default, we'll cache your requests based on the host and URL used for the request. That means that requests for https://myfastlyur.com/api would get cached and served by Fastly. If a request is not in cache either because it wasn't previously cached or because it's ttl expired, we would go back to the backend (thirdparty.com) to fulfill the request and cache the request (if cacheable). 

    0
    Comment actions Permalink

Please sign in to leave a comment.