Server-Side Rendering with Redis Cache🚀

This page showcases server-side rendering (SSR) enhanced with Redis caching. Data retrieval occurs on the server through getServerSideProps, ensuring fresh content on each request. On the initial load, the server fetches data from the external API and stores the result in Redis. For any following requests made within 60 seconds, the server bypasses the API and delivers the data directly from the Redis cache, improving speed and efficiency. You can monitor the cache behavior in real-time by observing the cache status indicator below.

Users Directory

Fetched server-side from JSONPlaceholder API, cached via Redis.

LG

Leanne Graham

Romaguera-Crona

Sincere@april.biz1-770-736-8031 x56442hildegard.org
EH

Ervin Howell

Deckow-Crist

CB

Clementine Bauch

Romaguera-Jacobson

PL

Patricia Lebsack

Robel-Corkery

CD

Chelsey Dietrich

Keebler LLC

MD

Mrs. Dennis Schulist

Considine-Lockman

Karley_Dach@jasper.info1-477-935-8478 x6430ola.org
KW

Kurtis Weissnat

Johns Group

NR

Nicholas Runolfsdottir V

Abernathy Group

GR

Glenna Reichert

Yost and Sons

CD

Clementina DuBuque

Hoeger LLC