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.012 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
Not Yet Rated | Write the First Review

Customer Ratings & Reviews

Be the first to rate this item!

Write Review

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

Miva believes that all online businesses should have access to a scalable ecommerce platform that can meet their unique business requirements. Miva offers PCI compliant ecommerce, hosting, and custom website design and development solutions. Miva customers have processed over $100 billion in online sales since 1997.

Contact Us

Support: 800.608.MIVA

Main: 858.490.2570

Email: sales@miva.com

Receive Tips & Updates

Copyright © 2018 Miva, Inc - All Rights Reserved   Privacy Policy | Store Policy

Links
Contact Us

Support: 800.608.MIVA

Main: 858.490.2570

Email: sales@miva.com

Receive Tips & Updates

Copyright © 2018 Miva, Inc - All Rights Reserved

Back To The Top