News for hackers. Stuff that matters.
Re:Ask HN: What are problems that need to be solved? by geuis on Friday June 11, 2010 @03:53PM (#1424522)
How do you configure gzip for certain urls on Akamai? This is a problem I just can't find an answer to.
Re:Ask HN: What are problems that need to be solved? by seiji on Friday June 11, 2010 @05:28PM (#1424804)
You don't configure it per URL, you configure it per MIME type. text/css, text/html, etc. It's under Last Mile Acceleration in EdgeControl: "Apply to content with Content-type: text/html, application/x-javascript, text/css"

If you're using the XML config it resembles:

  <match:response.header name="Content-Type" value="text/html* application/x-javascript* text/css*" value-case="off" value-wildcard="on">
    <edgeservices:lma.edge-browser>on</edgeservices:lma.edge-browser>
    <edgeservices:lma.incoming>on</edgeservices:lma.incoming>
  </match:response.header>