Cache你好,Cahche再见!

E0c987d94d37f5d19f5b6c4fedff65e0?s=47 三 桂
August 08, 2014

 Cache你好,Cahche再见!

静态资源缓存及缓存清理

E0c987d94d37f5d19f5b6c4fedff65e0?s=128

三 桂

August 08, 2014
Tweet

Transcript

  1. Cache Ÿ Cache.4ž samgui@2014.07.30

  2. MQ†ž /g*=9@›Ia^y ;M”> DCookie‹L6

  3. Cache ž

  4. 200 ok from cachež jp1 s.thcdn.cn Tengine (eœŠ2œ8)œZWebJg

  5. # ]7[] ((||s:n X%<Fk˜' P•C5u‚‰ !E“3+™=.=

  6.  cŸY‘–ž  lBŸ<F_…Qi

  7. Cache.4ž

  8. <F • &R$"N,V¡ • &Rd:¡ • &RJn¡ • &R'‡¡

  9. šS} Grunt fhmƒ$WŽq https://www.npmjs.org/package/grunt-static-revision

  10. /„ŽqEv • mƒN,t€*= • fhmƒN,br ! !

  11. ViewHelper g{zx~ˆ-mƒN,

  12. `KŸQicssojsu<F ! A0G¡

  13. Compass  ?ž

  14. @mixin bg($color: null, $url: '', $repeat: no-repeat, $position: null) {

    background: $color image-url($url, true) $repeat $position; } ! .logo{ @include bg($url:'logo.png'); } ! ! .logo {
 background:url('logo.png?1406343298'); } Œ—/ Œ—
  15. HOA0¡ T\w’ž

  16. UUž