close
Transients

Transients by Tess

Save cached versions of data, set an expiration time, and help limit the amount of requests per page.

Price FREE


Version 1.013 View install docs (PDF) Get Support

Description
This allows you to save data into the database, but also tie it to an expiration date. This module has built in functions very similar to how Miva's custom fields functions work and allows you to set and get transients from Miva. Common use cases are to "cache" dynamic content from a 3rd party source such as Twitter, Facebook or Instagram. Instead of making a call to them, each page load you can do it once and cache the data for a specific time period. This gives you an easy way to use dynamic content from 3rd party sources without the overhead of getting the content on each page load
Save Cached versions of data, set an expiration time, and limit the amount of requests per page.
Click here for Documentation & Examples
Storing data from an API can help reduce page load times.
Example:
Twitter(OAuth/API) + Instagram(API) = 3.28s
Twitter(Transient) + Instagram(API) = 2.95s
Twitter(Transient) + Instagram(Transient) = 2.45s

The time below was recorded with all APIs "transiented". (Aka: called from the database, instead of 3 calls to apis)
2.22s (That saved 1.06 seconds of load time!)
Instead of making 3 calls per page load to Twitter (2 calls) and Instagram (1 call), we can store the data we retrieve from the call, save it for about an hour, and save page load time.
Reviews
Release Notes
03/27/2019 - v1.013
Developer Info

Tess

Website

miva.com

Support Phone

800-608-MIVA

Support Email

This website uses cookies to identify visitors, track visitors to our website, store login session information and to remember your user preferences. By continuing to use this site you agree to our use of cookies. Learn More.

This website uses cookies. By continuing to use this site you agree to our use of cookies. Learn More.

Accept

Copyright © 1997 – 2018 Miva©, Miva Merchant©, MivaPay©, MivaCon© Miva, Inc. All Rights Reserved.