Github 如何在没有 AJAX 的情况下如此顺利地更改页面和 URL? [英] How is Github Changing Pages and the URL so smoothly without AJAX?

查看:18
本文介绍了Github 如何在没有 AJAX 的情况下如此顺利地更改页面和 URL?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果你去github上的一个项目,说https://github.com/insoshi/insoshi,然后您开始单击文件夹,文件夹动画到子目录,浏览器 URL 更改,但看起来都是 AJAX.就我所见,它只在 Chrome/Safari 中是这样的.

If you go to a project on github, say https://github.com/insoshi/insoshi, and you start clicking into the folders, the folder animates to the sub-directory, and the browser URL changes, but it looks like it's all AJAX. It's only like this in Chrome/Safari from what I've seen.

这是webkit的过渡效果吗?或者只是一些严重的缓存/性能优化:)?

Is this a webkit transition effect? Or is it just some serious caching/performance-optimization :)?

推荐答案

Github 在他们的博客中.

Github talks about it in their blog.

这篇关于Github 如何在没有 AJAX 的情况下如此顺利地更改页面和 URL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆