#Caching ViewTransition pages

3 messages · Page 1 of 1 (latest)

torpid flicker
#

Is it possible to cache view transition pages? When I hover links to another page, view transitions fetch that page, but when I hover previous page it again makes a fetch request, I'm using CloudFlare

knotty zodiacBOT
#

Hi @torpid flicker. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:

#

Based on the provided extracts, Astro supports opt-in, per-page, view transitions which update your page content without the browser’s normal, full-page navigation refresh and provides seamless animations between pages. This feature is powered by the new View Transitions browser API and includes support for both forwards and backwards navigation animations.

However, the extracts do not provide specific information about caching view transition pages. It's important to note that caching behavior can depend on various factors including the server configuration, the client-side code, and the specific behavior of the browser.

If you're deploying your Astro project on Cloudflare Pages, you might want to look into Cloudflare's caching options. Cloudflare provides various caching mechanisms that can help improve the performance of your site.

For more detailed information, you may want to refer to the Astro documentation (https://docs.astro.build) or the Cloudflare documentation (https://developers.cloudflare.com/pages/).

Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: