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

#81: Building Structs from External Data

Here we’ll see how structs can be used to format data. We’ll start with an introduction to structs and then explore different ways to map external data to a struct, including using the ExConstructor package.

Watch episode
Alchemist's Edition

#79: Caching with Cachex

Here we look at how to use Cachex to create a cache in an Elixir application. We’ll start by seeing how to interact with Cachex and then we’ll implement a simple cache in our application.

Watch episode

#78: Phoenix Contexts

Phoenix contexts are modules that group associated functionality. To see how they work, we’ll build a simple blog with comments. This is a great episode for anyone new to Phoenix or wanting to see how contexts work.

Watch episode