Maximum Affiliate Cache Age

This Article Applies to

The Maximum Affiliate Cache Age defines the cache Time to Live (TTL) for your Infusionsoft Affiliate data in the Memberium database in seconds.

The default value is 0, which means no caching, the affiliate records will be refreshed on each and every login.

To cache the data for one hour, you would set the Cache Age to 3600. To cache the data for one day, you would set the Cache Age to 86400.

There is no upper limit on the amount of time you can cache the affiliate data for. The lower limit is 0.

What is Caching?

Infusionsoft data is expensive to retrieve because of the relatively long time it takes to send the request to the Infusionsoft server, and then retrieve the results.

Caching is used to store this data in the local database for a limited time, for later reuse, so that it does not have to be retrieved every time it’s needed. This can reduce the load on your API, increase the speed of API heavy actions such as logging in, and improve your user’s experience, and make your site more resilient to any outages in Infusionsoft’s API.

Memberium allows you to define how long your Infusionsoft data will be locally stored and used before refreshing it from Infusionsoft’s servers.

Why do I want this?

Retrieving data in realtime at login from Infusionsoft not only consumes your API calls, but is hundreds of times slower than retrieving the data locally. A typical Infusionsoft API call requires approximately 1/2 second in order to return a single response, assuming that the API succeeds on the first attempt. By using caching, your system performs faster, can handle more users, uses less API, and can make your system more scalable and reliable by decreasing the constant dependency on the API


Posts Related to Affiliate Caching

  • Was this Helpful?
  • YesNo
9 ways to add more value to your membership site

Table of Contents

This Article Applies to

Keep Reading

Missing License

License keys are no longer used by Memberium. Your site will be automatically licensed either by your domain, or by your Infusionsoft app name. Clicking the “Update License Key” button will re-verify your license, regardless of whether or not you you have a bulk license key entered. Read on for troubleshooting tips…

Read More »

Require Membership

When set to “Yes”, the user must have a qualifying membership tag in order to login. If set to “No”, any user may login regardless of whether or not they have an active membership. This can be useful to allow members with inactive memberships to login to buy additional access, update payment information, etc.

Read More »

Want to get some fresh ideas on how you can improve your membership site or course?

Download our free ebook!

Book a Call

Welcome to Memberium!

We are very excited for you to be part of our family. 

We would love to answer any questions that you have!

Please choose the best time for you to get in a call with us. 

For Technical Support, you can contact us at https://keap.memberium.com/support/ or Email us at support@memberium.com.