# How to Create a Native-Like experience in the Mobile Web

- Speaker: [Amit Zur](/wiki/speakers/amit-zur.md)
- Event: [Reversim Summit 2015](/wiki/years/2015.md)
- Video: https://www.youtube.com/watch?v=aFL33q2U7eM
- Transcript: [/transcripts/2015/33-aFL33q2U7eM.md](/transcripts/2015/33-aFL33q2U7eM.md)
- Language: Hebrew and English · Type: talk · Level: intermediate
- Topics: [Frontend](/wiki/topics/frontend.md), [Mobile Development](/wiki/topics/mobile-development.md), [Performance](/wiki/topics/performance.md), [Scalability](/wiki/topics/scalability.md)

> Written by an LLM from machine transcripts. It can contain errors. Check the transcript before you quote it.

## Summary

This talk explores how to build mobile web applications that deliver a native-like user experience despite performance and platform limitations. The speaker discusses the historical shift in user behavior and the hardware constraints that differentiate mobile web from desktop web development. The audience learns practical techniques for improving application performance, including managing offline caching, optimizing font loading, and achieving smooth 60 FPS animations using GPU acceleration. Additionally, the presentation touches upon emerging web standards and architectural approaches like canvas rendering to bridge the gap between web and native apps.

## Key points

- [2:26](https://www.youtube.com/watch?v=aFL33q2U7eM&t=146s) The rise of mobile devices has fundamentally changed user habits and raised expectations for application performance and responsiveness.
- [9:08](https://www.youtube.com/watch?v=aFL33q2U7eM&t=548s) Mobile web development suffers from high fragmentation across different browsers and web-kit versions compared to desktop web.
- [11:27](https://www.youtube.com/watch?v=aFL33q2U7eM&t=687s) High network latency is one of the biggest bottlenecks on mobile devices, making minimizing network requests crucial.
- [16:57](https://www.youtube.com/watch?v=aFL33q2U7eM&t=1017s) Application Cache and upcoming Service Workers enable offline capabilities which are essential for native-like mobile experiences.
- [22:28](https://www.youtube.com/watch?v=aFL33q2U7eM&t=1348s) Slow-loading custom web fonts can cause rendering delays and layout flashes, requiring careful fallback strategies.
- [24:35](https://www.youtube.com/watch?v=aFL33q2U7eM&t=1475s) Smooth animations require a consistent 60 frames per second, which means completing each render frame within 16 milliseconds.
- [26:45](https://www.youtube.com/watch?v=aFL33q2U7eM&t=1605s) Using Request Animation Frame synchronizes JavaScript animations with the browser's native rendering cycle to prevent stuttering.
- [31:01](https://www.youtube.com/watch?v=aFL33q2U7eM&t=1861s) Animating CSS properties like transform and opacity offloads rendering to the GPU, avoiding expensive layout recalculations.

## Takeaways

- Minimize network roundtrips and utilize offline caching mechanisms to combat high mobile network latency.
- Target 60 FPS for animations by leveraging Request Animation Frame and GPU-accelerated CSS properties.
- Be cautious with third-party libraries and frameworks to ensure they are optimized for mobile performance.

## Questions this talk answers

- How can I achieve smooth 60 FPS animations in mobile web browsers without causing jank?
- What are the best practices for handling offline storage and mitigating high mobile network latency?
- Which CSS properties should I animate to avoid expensive browser layout recalculations?

## Technologies

HTML, JavaScript, CSS, Chrome, iOS, Android

## Tags

animations, browser rendering, frontend development, mobile web, offline first, performance optimization, web standards
