# Does server-side generation make loading states more complex?

> Episode of [Frontend First](https://podistic.com/podcast/frontend-first.md) · Published February 23, 2021 · Duration 1:05:37 · Episode 118, season 1

- **Listen on Podistic:** https://podistic.com/episode/doesserver-side-generation-make-loading-states-more-complex
- **Audio:** https://cdn.simplecast.com/audio/598aebea-91aa-4070-84b0-f8d21a4be43d/episodes/1fddbf7e-642a-4ceb-a9e8-0a87dc2990cc/audio/f39d649e-6a46-425e-9414-3ae9d37065ff/default_tc.mp3?aid=rss_feed&feed=sOJAMohP (audio/mpeg)

## About this episode

Sam and Ryan discuss how loading states, data fetching, and skeleton screens can change the architecture of an SSG application. They also talk about Apollo’s cache and various query re-fetching strategies.

Topics include:

*   0:00 - Intro
*   2:35 - Image cropper dampening
*   4:00 - Learning library abstractions
*   10:00 - Loading states with SSG
*   28:00 - Server side cache
*   38:30 - Tweet of the week
*   46:00 - Apollo’s cache
*   58:50 - Stale while revalidate

Links:

*   [Sam’s Image cropper dampening video](https://www.youtube.com/watch?v=YYgvL9XkKUg)
*   [Next.js](https://nextjs.org/)
*   [Fan out on write](https://www.quora.com/What-is-fan-out-write-and-fan-out-read-in-scalability)
*   [Tweet of the week](https://twitter.com/joshwcomeau/status/1357709696032002049)
*   [State of CSS survey](https://stateofcss.com/)
*   [Apollo](https://www.apollographql.com/)
*   [URQL](https://formidable.com/open-source/urql/)
*   [SWR](https://swr.vercel.app/)
