Talks
Speakers
Events
Topics
Sign in
Home
Talks
Speakers
Events
Topics
Leaderboard
Use
Analytics
Sign in
Suggest modification to this talk
Title
Description
Rocky Mountain Ruby 2023 - Caching strategies on https://dev.to by Ridhwana Khan We've always put a lot of effort into performance at Dev (https://dev.to/). We want our users to be able to see their content almost instantaneously when interacting with our site. In order to do so we've placed emphasis on caching. We've had to ask ourselves questions like what are the right things to cache? Which layer in the stack would be best to cache it? And how will this effect the overall performance? During this presentation, I'd like to show you some of the caching strategies we have in place and discuss how they've sped up the interactions within our site.
Date
Summarized using AI?
If this talk's summary was generated by AI, please check this box. A "Summarized using AI" badge will be displayed in the summary tab to indicate that the summary was generated using AI.
Show "Summarized using AI" badge on summary page
Summary
Markdown supported
In the presentation titled "Caching Strategies on https://dev.to", delivered by Ridhwana Khan at Rocky Mountain Ruby 2023, the speaker discusses the importance of caching in improving web performance, particularly at Dev, where user experience is prioritized. The talk covers various caching strategies and their implementation, which are critical for optimizing responsiveness and efficiency in read-heavy applications like Dev. Key points include: - **Introduction to Caching**: The presenter shares her recent experiences at Dev, highlighting her role as a lead engineer and the significance of caching in enhancing application performance. - **Reasons to Implement Caching**: Caching enhances performance by speeding up content retrieval, decreasing response times, and improving user experience, particularly in areas with slow internet connectivity. - **What to Cache and What Not to Cache**: static content is often good for caching, while dynamic data and user-specific data should be avoided due to their changing nature, which can lead to inefficiencies. - **Response Caching Types**: Ridhwana explains different caching methods including edge caching, fragment caching, and browser caching, providing an overview of how each contributes to optimized performance. - **Edge Caching**: This involves caching content closer to users using services like Fastly, which helps reduce server load and improves access times. - **Fragment Caching**: Allows caching specific parts of a view that are computationally expensive, enhancing retrieval speed. - **Browser Caching**: Ensures user resources are stored in their browser to load web pages faster without needing to query the origin server again. - **Cache Management**: The importance of purging stale data and setting cache lifetimes is emphasized, as well as strategies to prevent cache inefficiencies. - **Conclusion and Networking**: The session concludes with a call for interaction, encouraging feedback and connections, as Ridhwana looks for new opportunities after her tenure at Dev. Overall, the talk provides valuable insights into effective caching strategies that can significantly improve web application performance, alongside practical recommendations for implementation and management.
Suggest modifications
Cancel