edge 2016 hold until told

13
© AKAMAI - EDGE 2016 Hold until Told Tejinder Singh

Upload: akamaidevrel

Post on 08-Jan-2017

26 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Edge 2016 hold until told

© AKAMAI - EDGE 2016

Hold until Told

Tejinder Singh

Page 2: Edge 2016 hold until told

© AKAMAI - EDGE 2016

Agenda

• Terms of the trade• The Nuclear option• When to purge?• Cache management• Content Tags• Caution• Bonus feature!

Page 3: Edge 2016 hold until told

© AKAMAI - EDGE 2016

Hash some details

• Content Control Utility• Enhanced Content Control Utility• Fast Purge• Invalidate vs Purge• UI vs API (v2/v3)

<eccu><match:recursive-dirs value="images">

<match:recursive-dirs value="mens"><match:recursive-dirs value="jackets"><match:ext value="png">

<revalidate>now</revalidate></match:ext>

</match:recursive-dirs></match:recursive-dirs>

</match:recursive-dirs></eccu>

POST /ccu/v3/invalidate/url/production Content-Type: application/json

{"objects":[

"http://www.example.com/graphics/picture.gif","http://www.site-example.com/graphics/picture.gif","http://www.example1.com/documents/brochure.pdf"

]}

Page 4: Edge 2016 hold until told

© AKAMAI - EDGE 2016

The Nuclear option

Page 5: Edge 2016 hold until told

© AKAMAI - EDGE 2016

The Nuclear option

Page 6: Edge 2016 hold until told

© AKAMAI - EDGE 2016

Content refresh scenarios

Page 7: Edge 2016 hold until told

© AKAMAI - EDGE 2016

Clearance sale Blue shoes

HTTP/1.1 200 OKEdge-Content-Tag: Y2xlYXJhbmNlIHNhbGU=

HTTP/1.1 200 OKEdge-Content-Tag: Ymx1ZSBzaG9lcw==

Page 8: Edge 2016 hold until told

© AKAMAI - EDGE 2016

Content Tags

• Logical grouping of content• Effortless content management• Surgical precision/Fine grained purge• Avoid nuclear option

Page 9: Edge 2016 hold until told

© AKAMAI - EDGE 2016

Cache management

Remove 40,000 of 8 billion objects.

Then•CCU•ECCU•Low TTLs

Now•Fast Purge•ECCU•Tunable TTLs

Ahead•Fast Purge•Tags•Flexible Cache strategy

response.writeHead(200, { 'Edge-Control: !no-store, !bypass-cache, max–age=300' });

Page 10: Edge 2016 hold until told

© AKAMAI - EDGE 2016

Be aware

• Duplicate URLs in submissions• CPcode or expansive tag purge• (Really) Fast Purge• Plan tags before implementation• Tag updates require TTL refresh

Page 11: Edge 2016 hold until told

© AKAMAI - EDGE 2016

Bonus!!!

Page 12: Edge 2016 hold until told

© AKAMAI - EDGE 2016

Summary

• CCU, ECCU, Fast Purge• Invalidate, don’t purge• Careful with large scale content removal• Content management with tags• CMS integration nuances

Page 13: Edge 2016 hold until told

© AKAMAI - EDGE 2016

Discussions n Questions?