Skip to content

Latest commit

 

History

History

21_ssr-cache-middleware

21_ssr-cache-middleware

../21_ssr-cache-middleware

Same concept as the previous example but here the cache proxy and Astro SSR are combined in the same express App with Astro running in middleware mode

  • once a request is fetched from the SSR server, the response contains an ETag with the hash to ensure immediate page update with the just produced hash value

Open in StackBlitz open in Codesandbox open in Gitpod