Fast Loading with ISR

Improve Core Web Vitals and reduce API calls with cache delivery

ISRFast LoadingCore Web VitalsSEO
2 min read

Benefits of ISR

Implementing ISR improves EC site display speed and performance.

Improved Display Speed

With ISR, pre-generated static HTML is delivered from a CDN (Content Delivery Network). When users access a page, the cache is returned from the nearest CDN edge server, eliminating the need to wait for server processing.

With traditional SSR, HTML is generated on the server for each access, requiring network round-trip time and server processing time. ISR eliminates this wait time, resulting in faster page display.

Impact on Core Web Vitals

Core Web Vitals are user experience metrics defined by Google that also affect SEO (search rankings).

  • LCP (Largest Contentful Paint): Time to display main content
  • FID (First Input Delay): Response time to first user interaction
  • CLS (Cumulative Layout Shift): Layout stability

Cache delivery through ISR is particularly effective for improving LCP. The main content of the page is displayed quickly, reducing user wait time.

Reduced API Calls

EC sites retrieve product information from APIs. With SSR, the API must be called every time a user accesses the page, but with ISR, the API is not called while the cache is valid.

This reduction in API calls provides the following benefits:

  • Reduced API costs: Pay-per-use API services charge based on the number of calls
  • Reduced server load: Fewer requests to backend servers improves stability
  • Resilience to traffic spikes: Serving from cache makes it easier to handle sudden increases in traffic

Summary

ISR is effective for improving EC site display speed, SEO optimization, and reducing operational costs. It's particularly suitable for delivering content with moderate update frequency, like product pages, at high speed.

Related Topics