Subscribe for only $15 to access all of our content

#80: Proactive Caching

In episode 79 we used Cachex to lazily cache our categories when a user first requests them.

This works great, but one thing to point out here is that on the initial request the categories are still being queried for from the database and since our categories are static and we know that we’re going to need to display them, let’s explore another caching strategy - proactive caching.

Join to Subscribe

More Episodes

Alchemist's Edition

#104: Generating RSS Feeds with Elixir

In this episode we’ll take an existing Elixir Phoenix application and build an Atom feed for it. To build the feed we’ll use the Atomex package.

Watch episode

#103: Writing Tests with ExVCR

In this episode we’ll explore one way of mocking external HTTP requests when testing using ExVCR. ExVCR records the actual HTTP request and response and replays it whenever that test runs.

Watch episode
Alchemist's Edition

#102: OTP backed Web Application Part 4

In the final part of this series we’ll use Phoenix Channels to improve the UI so that our coin tracker page updates automatically when a new cryptocurrency price is found.

Watch episode