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

fetchとCORSに潜む罠

 fetchとCORSに潜む罠

20160621
Meguro.es @ Wantedly
http://meguroes.connpass.com/event/32167/

Edward Fox

June 21, 2016
Tweet

More Decks by Edward Fox

Other Decks in Technology

Transcript

  1. fetchͱ͸ 1 WHATWGʹΑΔఆٛ - Fetchඪ४͸ɺϦΫΤετ, Ԡ౴, ͓Αͼ ͜ͷ̎ͭΛଋറ͢Δॲཧ — fetching

    ʢϦιʔεऔಘ ॲཧʣ— Λఆٛ͢Δɻ - Fetchඪ४ʹΑΓJavascriptͷfetch() API ΋ఏڙ͞ΕΔ
  2. ࢀߟ: - Fetch Living Standard - Fetch API ղઆɺ·ͨ͸ Web

    ʹ͓͍ͯ "Fetch ͢Δ" ͱ͸Կ͔ʁ - ͓ർΕ͞·XMLHttpRequestɺ͜Μʹͪ͸fetch - [৽ػೳ] Amazon CloudFront͕CORSʹରԠ͠·ͨ͠ - fetch(), how do you make a non-cached request?