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

Default Excerpt

When a user visits a page that they do not have access granted to, one of several results can happen based on how you setup the page. This setting controls how excerpts are generated and displayed in your system. When a visitor reaches a page Excerpt, the system will first attempt to display the Excerpt defined for that particular page. If no Excerpt is defined, the system will display the “Default Excerpt”. If neither Excerpt is defined, nothing will be displayed.

Read More »

4 Tips for Creating a Quality E-Learning Course

You may have been inspired to create your first course, or maybe you are trying to improve your course creation technique. With so many new courses popping up, how can you set your course apart from the crowd? Here are our best tips for creating a quality e-learning course that will convert.

Read More »

Page and Content Restriction Strategies for Fun and Profit

Memberium provides several different tools and tactics to handle page access controls. We’ll list these different tools and tactics and discuss some strategies around how to use them. In this article we’ll talk about “Pages”, but most of the concepts can be used for Pages, Posts and custom post types. Some of the tactics we cover may or may not work depending on what your theme supports. We’ll try to call these out for you, but we can’t cover every possibility that plugins and themes may differ from stock WordPress. Your toolkit is divided into two groups, restrictions that happen at the page level, and restrictions that happen inside the content of the page.

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.