PageSpeed 相关文档
为 NGINX 编译 PageSpeed 支持
ngx_pagespeed
Configuring mod_pagespeed Filters
加载性能测试工具
WebPagetest
Gomez
leohxj

直接刷新 CSS,而不整体刷新页面的方式的原理是什么?

  •  
  •   leohxj · Aug 7, 2014 · 3500 views
    This topic created in 4322 days ago, the information mentioned may be changed or developed.
    [Emmet LiveStyle](http://livestyle.emmet.io/install/)
    这个项目可以map到css为文件,实现在css和devtools里双向修改。

    好奇原理是什么,求教。
    2 replies    2014-08-07 17:32:02 +08:00
    guchengf
        1
    guchengf  
       Aug 7, 2014
    > This is exactly how LiveStyle works. Whenever you update CSS source, it performs structural comparison with the previous state and creates a special patch that describes how CSS structure was changed. This patch then transmitted to all clients and applied to associated CSS source.

    从作者解释来看,就是直接比较新版本的CSS结构和旧版本的结构,然后生成一个patch记录结构的改变,然后应用到客户端和CSS源码上
    leohxj
        2
    leohxj  
    OP
       Aug 7, 2014
    @guchengf 新版本就是开发文件,旧版本在哪里我比较好奇。

    我以为会是一份动态的文件,但是找不到在什么位置。或者旧版本就不以文件形式存在?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2680 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 10:26 · PVG 18:26 · LAX 03:26 · JFK 06:26
    ♥ Do have faith in what you're doing.