MTDDC meetup Tokyo 2020 - 楽勝でこなすWebP対応

MTDDC meetup Tokyo 2020 - 楽勝でこなすWebP対応

53ea23014763c68cf72d3d3e65dc0dd6?s=128

Kunihiko Miyanaga

October 10, 2020
Tweet

Transcript

  1. None
  2. Ligh File 17

  3. None
  4. None
  5. None
  6. 2.6kb 1.2kb

  7. None
  8. None
  9. None
  10. LCP

  11. None
  12. None
  13. None
  14. lib eb c eb gif2 eb

  15. None
  16. None
  17. None
  18. None
  19. None
  20. None
  21. < ic e> < ce e="image/ eb " c e

    =" am le. eb " /> <img c=" am le. g" /> </ ic e> am le. g. eb am le. g
  22. c <? h if ( ($_SERVER['HTTP_ACCEPT'], 'image/ eb ') !==

    fal e): ?> <img c=" am le. eb " /> WebP <? h el e: ?> <img c=" am le. g" /> <? h e dif ?> Acce image/ eb Acce : e /h ml,a lica i / h ml+ ml,a lica i / ml; =0.9,image/ eb ,image/a g,*/*; =0.8
  23. <img c=" am le. g"> Acce image/ eb

  24. am le. g am le. g. eb . acce Se

    E If Re e _URI "\.(j e?g g)$" _image_ e e Re i eE gi e O Re i eC d % HTTP_ACCEPT image/ eb Re i eC d % SCRIPT_FILENAME . eb -f Re i eR le .(j e?g g)$ % SCRIPT_FILENAME . eb [T=image/ eb ] Heade a e d Va Acce e =_image_ e e AddT e image/ eb . eb
  25. c eb .h acce

  26. None
  27. None
  28. None
  29. c ebp c eb - 75 -me ada a icc

    - ha _ - . eb i .j g c eb -l le -me ada a icc - . eb i . g
  30. -metadata icc RGB

  31. -sharp_ u

  32. c eb