1 个仓库
Mechanisms for synchronizing metadata, titles, and stylesheets in the document head during dynamic page swaps.
Distinct from Page Metadata Overrides: Shortlist focuses on SEO optimization or data synchronization, not the runtime sync of the HTML head tag during AJAX transitions.
Explore 1 awesome GitHub repository matching web development · Document Head Synchronization. Refine with filters or upvote what's useful.
Swup 是一个页面转换库和 AJAX 页面加载器,旨在为服务端渲染的网站创建无缝的动画页面转换。它作为一个 DOM 内容编排器和浏览器历史记录管理器,拦截导航以动态替换页面内容并模拟单页应用程序体验。 该项目的独特之处在于基于 Hook 的生命周期系统和插件架构,允许注入自定义逻辑和动画效果。它支持先进的视觉方法,包括 DOM 内容变形、用于重叠动画的并行 DOM 渲染,以及与原生浏览器 View Transitions API 的集成。 该库涵盖了广泛的功能,包括客户端导航管理、基于内存的页面缓存以及后台页面预加载以优化性能。它还提供了全面的滚动位置恢复、针对屏幕阅读器的无障碍优化,以及在转换过程中同步文档 Head 元数据和脚本执行的工具。
Synchronizes head tag contents and HTML attributes between transitions to keep document metadata current.