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

Google Analytics for WordPress

YoastRather than create a home-made analytics solution, Memberium integrates with Google Analytics to provide you with best-in-class plugin support. Memberium detects automatically when you have Google Analytics installed, and adds a new menu item to configure this integration.

Read More »

Common Troubleshooting Tips

If you can’t solve the problem yourself easily, please contact us at support. We can usually help you resolve problems quickly and easily if you supply us the proper information. If you can find your problem o the list below, you may be able to fix it yourself even faster.

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.