• Skip to primary navigation
  • Skip to main content
Logos Creative

Logos Creative

Products Made for People, Built in Atlanta

  • Content Library
  • About
  • Contact

Temporary Cache Assistance (Transients API): WordCamp Phoenix 2014

View Slides

We’ll cover the basics of the Transients API, see basic examples, and then discuss common places where this method can be most helpful, like large, complex queries or pulling from an external API. We’ll also discuss how this type of caching is unique, when to use it, and how to scale it for big bursts of traffic.

Follow Along

I’ve got all the working code samples in a plugin that you can look through while we talk. View it in GitHub, or download the repo and apply it to a local WordPress installation to see the code at work. To do that:

  1. Clone the repo to your plugins directory or download the .zip file.
  2. Activate the plugin.
  3. Import the contained .xml file, which will import five posts with shortcodes that execute the functions.

If you use MAMP and want to spin up an installation quickly, I’ve got a shell script for you to do just that.

January 17, 2014 By Cliff Seal Filed Under: Development, Presentations, Resources, Tutorial, WordCamp Phoenix, WordPress

Content Library

Readings on a wide range of topics for small businesses and nonprofits.

 

See Articles

Copyright © 2020 Logos Creative