Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Progressive Release by using Fastly

Kono Junya
August 23, 2021

Progressive Release by using Fastly

TENTIAL x tricot D2Cエンジニアが語るECのフルスクラッチ事情の登壇資料です

https://tricot.connpass.com/event/221261/

Kono Junya

August 23, 2021
Tweet

More Decks by Kono Junya

Other Decks in Technology

Transcript

  1. 'BTUMZʷ'6+*.* if(req.url.path ~ “^/protein”) { set req.backend = Origin2; }

    QSPUFJO ʹର͢ΔϦΫΤετʹରͯ͠$MPVE3VOΛPSJHJOͱ͢Δ
  2. 'BTUMZʷ'6+*.* *NBHF0QUJNJ[FS if(req.url.ext ~ “(?i)^(gif|png|jpe?g)$”) { if(req.http.Save-Data) { set req.url

    = req.url.path “?quality=440”; } } 'BTUMZ*NBHF0QUJNJ[FSΛ࢖͏ར఺  ($1ͳͲʹରͯ͠BTTFUTΛEFQMPZͤͣʹ͢Ή  ্هͷΑ͏ʹIUUQGJFMEͰ෼ذΛ͢Δ͜ͱ͕Ͱ͖Δ  4VSSPHBUF,FZʹΑΔDBDIFͷΠϯελϯτύʔδ͕ߦ͑Δ
  3. ·ͱΊ w 3JPUKTͰࠓޙ΋։ൃΛଓ͚͍ͯ͘ʜʁ w /FYUKTXJUI5ZQF4DSJQUͰΞϓϦέʔγϣϯ͸ॻ͍͍ͯ͘ w ஈ֊తҠߦΛ'BTUMZ$VTUPN7$-Λ࢖ͬͯߦ͍ͬͯ͘ w $.ʹ଱͑ΕΔʜʁ w

    'BTUMZ༷🙏 w ը૾࠷దԽ w 'BTUMZ*NBHF0QUJNJ[FS༷🙏 w ࠓޙ͋Γͦ͏ʜʁ🤔 w 4JHOBM4DJFODFʜ🛡 w $PNQVUF!&EHFʜ🙄