edge 2016 hold until told

Post on 08-Jan-2017

26 Views

Category:

Technology

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

© AKAMAI - EDGE 2016

Hold until Told

Tejinder Singh

© AKAMAI - EDGE 2016

Agenda

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

© 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"

]}

© AKAMAI - EDGE 2016

The Nuclear option

© AKAMAI - EDGE 2016

The Nuclear option

© AKAMAI - EDGE 2016

Content refresh scenarios

© AKAMAI - EDGE 2016

Clearance sale Blue shoes

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

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

© AKAMAI - EDGE 2016

Content Tags

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

© 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' });

© 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

© AKAMAI - EDGE 2016

Bonus!!!

© 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

© AKAMAI - EDGE 2016

Discussions n Questions?

top related