Slashdot Mirror


CDN Optimizing HTML On the Fly

Caerdwyn writes "Cotendo, which is a content distribution network, has taken to altering HTML as it passes through their CDN to optimize web pages for faster rendering. This is essentially a repackaging of the Apache mod mod_pagespeed (from Google), with the critical difference being that the rewriting of HTML occurs inline rather than at the web server. We all know that well-written HTML can result in much better rendering of whatever your content is; the questions are 'Will this automatic rewriting cause other problems, i.e. browser quirks?' and 'Assuming that only the web pages of Cotendo's customers are altered, are there nonetheless potential legal troubles with someone rewriting HTML before delivery to a browser?'"

121 comments

  1. Legal precedent by rumith · · Score: 1, Interesting

    It doesn't really matter if it's a technically good move; if this sticks, we might be getting lots of ISP-inserted ads, iframed toolbars and other "value-added" stuff in non-encrypted HTTP traffic pretty soon.

    1. Re:Legal precedent by Anonymous Coward · · Score: 1, Insightful

      I think you missed the point in your rush to get first post. This isn't about ISPs filtering and altering HTML as it passes through to the customer. This is about optimizing HTML as it enters a content delivery network, so that information can then be more efficiently delivered to the customer.

    2. Re:Legal precedent by WarJolt · · Score: 1

      ISPs have been injecting ads for years. Have you ever tried one of those free isps? I don't think it's going to catch on with mainstream ISPs because people don't like to pay for something and still get bombarded by ads. It still amazes me that cable television can get away with it, but DVRs have almost solved that problem.

    3. Re:Legal precedent by rumith · · Score: 2, Interesting

      I think you missed the point in your rush to object. What's the legal difference (IANAL) between optimizing HTML and inserting ads? In both cases X leaves the source, Y arrives at the destination. Opera does something like this for their Opera Mini browser: the content that is delivered to the browser isn't even HTML, it's some proprietary format, although the browser usually correctly renders it to what the HTML would look like. However, in case of Opera Mini, I explicitly agree to such manipulations and to accompanying technical solutions.
      Once again, this may be a good move on Cotendo's part that will lower their costs and improve end user experience, but it is a dangerous one, because if ISPs and CDNs automatically receive the right to manipulate transmitted content however they please, it will certainly lead to abuse in some cases.

    4. Re:Legal precedent by totally+bogus+dude · · Score: 5, Insightful

      What's the difference between me configuring my servers to optimize our sites on our front-end proxies, and having our CDN doing it on their front-end proxies?

      I think you missed that this is a service Cotendo provides to its paying customers.

      Now, if Cotendo was doing this without their customers' permission, then your objection might have some kind of relevance. I can't find anything to indicate that this is the case though, and it seems like a dumb and stupid business move if it is.

      The new Page Speed service offered by Cotendo will be part of its proprietary new performance application platform Cloudlet(TM), which is able to execute both open source and any proprietary code. Cotendo's new platform is in production with select customers and partners, which will be announced soon.

      This makes it sound like it may actually be optimising the output from applications running on their own servers, rather than as a proxy altering content sent from the customer's servers.

    5. Re:Legal precedent by Angostura · · Score: 1

      What's the legal difference (IANAL) between optimizing HTML and inserting ads?

      This week on "Thin End of The Wedge" - "Why there is no difference between a Web server GZIPing content and a Web server replacing all images with Goatse".

    6. Re:Legal precedent by WrongSizeGlass · · Score: 3, Interesting

      Though I agree with your point, what about the other side of the coin: CDN's service removing content from a page being delivered such as an infection? Could this be used to strip those nasty javascript code injections or Flash-based shenanigans from an infected site 'on the fly'? Removing infections would be as 'good' as inserting ads, toolbars, etc is 'bad'.

    7. Re:Legal precedent by warrax_666 · · Score: 1

      What's the legal difference (IANAL) between optimizing HTML and inserting ads?

      Intent. The law cares about intent (usually).

      --
      HAND.
    8. Re:Legal precedent by Anonymous Coward · · Score: 0

      Legal difference, if there existed law restricting the modification of HTML by an ISP, would be the intent. In other words, the relevant law would likely be structured in such a way so as to differentiate intent: for example, to prohibit altering for commercial gain or advertisement, or to deceive the viewer. Or the law would blanket-ban all modification with some exceptions (very doubtful).

      Anyways this is purely hypothetical and such a measure would be less specific about HTML probably, covering instead the Internet Protocol for instance.

      Oh and your use of the word precedent is erm... awkward, and wrong when referring to legal matters.

    9. Re:Legal precedent by pspahn · · Score: 1

      and it seems like a dumb and stupid business move if it is.

      Dumb business moves can often be overlooked because they provide other benefits that outweigh the negatives.

      This also true for stupid business moves, as there can usually be found ways to counter the effects of such a decision.

      However, if a business move is both dumb and stupid, you should probably go back and look at your decisions a little more carefully.

      --
      Someone flopped a steamer in the gene pool.
    10. Re:Legal precedent by c6gunner · · Score: 1

      What's the legal difference (IANAL) between optimizing HTML and inserting ads?

      What's the legal difference between a NAT gateway modifying packets in order to deliver content to you, and a NAT gateway modifying packets in order to insert ads? By your line of reasoning, every "home router" manufacturer should already be doing this.

    11. Re:Legal precedent by rumith · · Score: 1

      If done properly, it would be great. However, the potential for misuse is still pretty high: in the "best" case, the CDN's antivirus software may glitch and trigger removal of harmless content, ruining someone's day. In the worst case, war crime reports may be magically cut out or replaced with pictures of rainbows and unicorns.

    12. Re:Legal precedent by Anonymous Coward · · Score: 0

      What's the legal difference (IANAL) between optimizing HTML and inserting ads?

      What's the legal difference between a NAT gateway modifying packets in order to deliver content to you, and a NAT gateway modifying packets in order to insert ads? By your line of reasoning, every "home router" manufacturer should already be doing this.

      Belkin tried this back in 2003.

      I still haven't forgiven them for it (despite never owning the product in question), and I'm sure there are others who feel the same.

    13. Re:Legal precedent by Muad'Dave · · Score: 1

      If I were a content provider whose HTML was being modified in-flight, I'd invoke a law that already exists for that sort of thing - it's called copyright. My customer requested information from me; I provided it, and as such it is automatically copyrighted. Any modification in transit without authorization is illegal already, IMHO.

      What happens when I request data from a web service for the lowest price for an item from pricegrabber and some intermediate ISP decides to replace the real answer with the price of one of their paid sponsors?

      I would also like to see movie directors/etc go after broadcasters that place those obnoxious network 'bugs' into the content stream of the movie. They're altering the movie for monetary gain.

      --
      Tiller's Rule: Never use a word in written form that you've only heard and never read. You will end up looking foolish.
    14. Re:Legal precedent by rumith · · Score: 1

      There are plenty of home router manufacturers; if one would insert ads into processed traffic without compensating the user by substantially lowering the router price, people would just stop buying its hardware. Just being able to do something doesn't immediately make it a good business decision.

    15. Re:Legal precedent by datapharmer · · Score: 1

      I think that would get them dropped pretty quick as there are quite a few CDNs out there to choose from. Cotendo isn't the only CDN looking into page optimization though. This is being blown horribly out of proportion. Could they: yes. Have they had the ability for at least a decade: yes. There is a big difference though between running an apache module that optimizes code automatically and running a script that inserts ads without a paying customer's permission.

      --
      Get a web developer
    16. Re:Legal precedent by DrXym · · Score: 1
      However, in case of Opera Mini, I explicitly agree to such manipulations and to accompanying technical solutions.

      AOL used to do this too. If you loaded a page through their crappy client software, a transparent proxy would replace the original JPG / GIF with an equivalent ART image. ART was an AOL proprietary image format which was pretty good at compressing images at low data rates. I suppose the theory was they made their software more responsive and reduced bandwidth / phone charges for a largely unnoticeable drop in image quality.

    17. Re:Legal precedent by tepples · · Score: 1

      What's the legal difference (IANAL) between optimizing HTML and inserting ads?

      Optimizing HTML does not appear to create a derivative work as defined in US copyright statute because the removal of data does not represent an original work of authorship by itself. Ads, on the other hand, are an original work of authorship; there's a reason that the text of an ad is "copywritten" before it's copyrighted.

    18. Re:Legal precedent by tepples · · Score: 1

      There are plenty of home router manufacturers

      Only one of which has an exclusive deal with your ISP to provide hardware.

    19. Re:Legal precedent by c6gunner · · Score: 1

      And there are plenty of CDN providers. So I guess you're taking abck your previous comment?

    20. Re:Legal precedent by Jane+Q.+Public · · Score: 1

      The difference is that they are actually altering the content. What if the telephone company could re-order the words you speak, or perhaps substitute other words "as good as" your own, in order to make their voice-compression algorithms more efficient? Would you agree to that?

      ISPs and carriers, are supposed to carry the content. Period. The moment they start altering that content, they have gone too far. I don't give the slightest damn what their justification is. It is not to be done.

      I see nothing wrong with encouraging the sources of the content to use things like mod-pagespeed on their servers. But that's another matter entirely.

    21. Re:Legal precedent by mldi · · Score: 1

      You missed the point, but besides that, ISPs have already injected HTML into pages you view. Back on track, unless you can, as a customer, turn this "feature" off, I would never consider using them. I'll optimize my own HTML thankyouverymuch.

      --
      If you aren't suspicious of your government's actions, you aren't doing your job as a responsible citizen.
    22. Re:Legal precedent by psmears · · Score: 3, Insightful

      If I were a content provider whose HTML was being modified in-flight, I'd invoke a law that already exists for that sort of thing - it's called copyright. My customer requested information from me; I provided it, and as such it is automatically copyrighted. Any modification in transit without authorization is illegal already, IMHO.

      The article is about a content distribution network. That means that the content provider is paying them to make sure that their content reaches the customers quickly.

      If the content provider doesn't like the content being modified, they should just ask their CDN provider to stop doing it - and if they won't, then just use another one! No need for legal action here :-)

    23. Re:Legal precedent by totally+bogus+dude · · Score: 1

      What if the telephone company could re-order the words you speak, or perhaps substitute other words "as good as" your own, in order to make their voice-compression algorithms more efficient? Would you agree to that?

      If my telephone company offered me a service where their automated systems would re-order my words to make me sound like I actually knew what I was talking about, and I paid them to provide that service, then I would expect them do that. If they were to do it without my consent, then that would be another thing. But I haven't seen any indication that Cotendo is doing anything without their customer's blessing.

      I see nothing wrong with encouraging the sources of the content to use things like mod-pagespeed on their servers.

      But the CDN is the source. Technically true if the Cloudlet(tm) service is in fact running the customer's code on Cotendo's servers; but even if it's not, as far as most of the world is concerned, it is.

      I think some people are taking the view that a CDN is somehow akin to an ISP or a carrier. In reality, it's more akin to a paid web hosting company. Sure it's a little more complicated and flexible than a regular webhost, but it is essentially the same thing. A CDN offering this service is no different than a CDN such as Akamai offering to process Edge Side Includes for their customers. It's a feature that allows a customer to improve their sites' performance by simply spending a little bit of money. Come to think of it, that's pretty much the entire business model of CDNs...

      Closing point: a CDN is not a neutral third-party carrier. It is an integral part of an organisation's hosting arrangements, and has the ability to provide many more benefits than simply mirroring a bunch of content around the world (not that that in itself isn't valuable). Altering content as directed by their customer is part of the service they provide.

    24. Re:Legal precedent by GameboyRMH · · Score: 1

      Be aware that the old gzip package has been renamed gnu-gzip. The new gzip package is actually GoatseZIP.

      --
      "When information is power, privacy is freedom" - Jah-Wren Ryel
    25. Re:Legal precedent by Snotman · · Score: 1

      Do you have the right to agree to alter copyrighted content as a distributor? I do not think so. Would you expect 7-Eleven to optimize its magazines? Pretty absurd. Is an ISP that optimizes doing anything different to a content providers content? I believe in television land, networks require permission to overlay annoying ads on top of programming and I am pretty sure they license for this right.

      Another problem is that this could lead to formatting problems in web pages. Unfortunately, formatting HTML still matters. Companies pay lots of money to author copy and harden that copy so that it provides a certain experience in a browser for the end-user. Having an optimizer could screw this up. So, why invite a lawsuit for messing with copyright law?

      The question is why would Cotendo do this? Why not let the market take care of it? If you are a content creator and the delivery of your content sucks, I am willing to bet that you will lose customers to a competitor that delivers similar content in a more compelling manner.

    26. Re:Legal precedent by Snotman · · Score: 1

      Exactly. A better example than re-ordering your words, for which you probably agreed to in the small print when you signed up for the service, is if 7-Eleven optimized the magazines it carried. This is a 3rd party(7-eleven), for which the end-user created a relationship, that distributes a 3rd parties content(Playboy for instance) for which 7-Eleven has no relationship. I would think Playboy would be a little upset.

    27. Re:Legal precedent by Snotman · · Score: 1

      Yes it does. If I publish HTML, Javascript, and CSS, then I expect that to reach the viewer untouched. Formatting matters when rendering HTML plain and simple so modifying may screw up the experience. This costs money and has value associated with it so to remove is to create a loss in value. The copy is not just the text in the page that is consumed by eyeballs, but it is the creative work that placed the tags on the page to render the way it does. So, which data are you removing in order to optimize? I am not seeing anything other than compression that is appropriate.

    28. Re:Legal precedent by Snotman · · Score: 1

      What is the cable television reference you are making? As far as I know, content distributor make agreements with content creators to advertise on top of the content ads and I am sure they pay the content owner for this right. So, who is getting away with what? DVRs have not done anything with unwanted content. Your stream in the DVR is as it was provided. The fact you fast forward is a different issue. But the DVR is doing nothing to alter the content delivered.

    29. Re:Legal precedent by JWSmythe · · Score: 1

      The difference is that they are actually altering the content. What if the telephone company could re-order the words you speak, or perhaps substitute other words "as good as" your own, in order to make their voice-compression algorithms more efficient? Would you agree to that?

          But, it's optimizing the HTML, not changing the content of your message. In the context of a phone call, it would be like if they took your analog phone signal (like, from the handset), compressed it and then transmitted it in a form that the other side could understand. The end result remains the same.

          Oh, that already happens.

          There are plenty of telco's that switch you from analog to digital to send down the wire, just to convert on the other side. How many calls can you send down a T1? There are 25 analog channels. Depending on the encoding and compression, you can get 125+ calls down the same wire. You may not know it's there, but it is. If the telco can shove 5x the number of calls down the same wire, with a bit of hardware investment, they can (and have) do it.

          Back to the actual issue, automatic optimization of the html. Do you complain when whatever hosting company you're using does gzip compression on your outbound data? I didn't think so. This is a CDN, their job is to take your data, distribute it to their edge nodes, and get it to the customer as quickly as possible. That's exactly why you'd go with a CDN. I did a bit of this on my own, with my dynamically generated pages. I actually turn it on and off on occasion. The cleaned pages render faster, but it's harder to find bugs in the code. On the other hand, even though the site is dynamic, I don't go around mucking about in the HTML parts of the code very often.

          So, with that argument busted, what was your next one?

      --
      Serious? Seriousness is well above my pay grade.
    30. Re:Legal precedent by tepples · · Score: 1

      If I publish HTML, Javascript, and CSS, then I expect that to reach the viewer untouched.

      Of course it will if you use HTTPS. If you're using HTTP, any man in the middle can break your site anyway.

      Formatting matters when rendering HTML

      Not all lossy modifications to an HTML document, JavaScript program, or CSS style sheet affect the end result. The difference between one space, eight spaces, a tab, and a newline does not matter due to CSS's whitespace normalization rules. So one way to improve compressibility of HTML is to normalize whitespace outside elements where whitespace does matter (e.g. <pre> and parts of <script> within quotation marks). Removing comments and whitespace helps shorten JavaScript as well without changing its function. And if you're serving text/html (not XHTML), some things can be removed without affecting the resulting parse tree. These include quotation marks around alphanumeric attribute values (e.g. type="submit" to type=submit), implied attribute values (e.g. <input type=text ...> to <input ...>), and optional end tags (e.g. </td><td> to <td>, </tr><tr> to <tr>, </p><p> to <p>). Moreover, making all tags lowercase might give gzip a little performance boost.

    31. Re:Legal precedent by sjames · · Score: 1

      In this case, the really huge difference is that Cotendo is actually HIRED to deliver the content as efficiently as possible, including optimizing the HTML. They're not imposing this on the unwilling, it's a service that the content providers are willingly paying for. They'd be in legal trouble if they DIDN'T alter the HTML. Legally speaking, they are in the same position as an editor for hire.

      Put another way, when you click that link, you are getting the content as the rights holder intends. Why would that be illegal?

    32. Re:Legal precedent by Jane+Q.+Public · · Score: 1

      "If my telephone company offered me a service where their automated systems would re-order my words to make me sound like I actually knew what I was talking about, and I paid them to provide that service, then I would expect them do that. If they were to do it without my consent, then that would be another thing. But I haven't seen any indication that Cotendo is doing anything without their customer's blessing."

      I will grant your point that this is a voluntary service for customers who explicitly pay for it. But in ANY other circumstance, if used by any sort of "common carrier" for example, this would be a Very Bad Idea Indeed. In fact it would almost certainly be illegal. See the other respondent's comment about altering magazines "carried" by 7-11.

      (NOTE. In just about every way: morally, ethically, and technically, ISPs and most other internet services are "common carriers", just like companies that carry telephone conversations. The only reason that they are not legally common carriers in the U.S. is because of corporate lobbying of Congress and the FCC. And even some rare honest people in the FCC have tried to correct that error.)

    33. Re:Legal precedent by Jane+Q.+Public · · Score: 1

      "But, it's optimizing the HTML, not changing the content of your message. In the context of a phone call, it would be like if they took your analog phone signal (like, from the handset), compressed it and then transmitted it in a form that the other side could understand. The end result remains the same."

      It's NOT the same thing at all, and not the same end result. That is the point I was trying to get across, and which you seem to have missed. The only saving grace of this operation is that it's entirely voluntary on the part of the customers. It's not just some arbitrary ISP doing it without their knowledge.

      First off, "optimizing the HTML" IS altering the content of my message. For a webpage, the HTML is the message. "Optimizing" it is indeed altering it. If optimizers were perfect, maybe that wouldn't matter. But they aren't and it does. You see, I happen to be in the industry and I am in fact one of these "content creators" who would scream bloody murder about this if it were being done behind their backs. Let me explain:

      Today it is a combination of HTML (or HTML5), JavaScript, CSS, and back-end programming that make up websites. The complexity can be enormous and the possible combinations of HTML tags and CSS properties and JavaScript manipulations are -- for practical purposes anyway -- near infinite. If all browsers displayed all of these things exactly the same way, there would be fewer problems. But they DON'T. For example: often, if you want your site to look perfect on most modern browsers at the same time, you have to make subtle alterations of your code, to do this on one brand of browser, and that on another. It is getting better, but this is still the case. When you then take that code and stuff it through an "optimizer", which looks at your code and says, "THIS combination can be replaced by THAT combination, saving 60% of the space," it has just altered your code, and very possibly in unacceptable ways, because it broke the subtle combination YOU intentionally chose in order to make it look right on browser X.

      That's just one example of many. Even the timing of showing different elements on a page can make all the technical or artistic differences in the world. And "optimizing" code for transmission speed is likely to alter some of those subtle timings.

      So you see it isn't all cut-and-dried.

      Your argument about gzip is a straw-man. gzip uses lossless compression. mod_pagespeed and similar tools do alter the HTML and javascript, destroying information in the process, which makes them lossy compression. Even worse, it is lossy compression that alters the actual arrangement of the content, exactly as I mentioned before: it is as if the telephone company altered your conversation to use words "as good as" the ones you actually spoke. The problem of course is that it is the telephone company's judgment of what "as good as" means, not yours. In the process, your meanings (the "end result") WOULD get distorted sometimes. And to a poet, or artist, or somebody conveying very important information, that is simply unaccpetable.

      Your argument about modern voice compression is also a straw-man, because while it does alter the timbre and other voice qualities, it can also be considered "lossless" in that it makes no attempt to alter the essential content (words) of the communication. In fact the point of voice compression is to lower the data rate while leaving the content intact.

      Further, most web development is done on local servers, then uploaded to "production" servers. If the HTML being fed from the production server is different from that which has been painstakingly developed and tested, then who is responsible when the code breaks? So yes, in the case of this particular service from this CDN, customers can use it voluntarily. But in the situation I was describing, in which it were used by someone else, it would simply not be acceptable. Period.

      So, with my argument successfully restored in full, do you have a counter-argument that actually makes sense?

    34. Re:Legal precedent by rumith · · Score: 1

      Thank you for the explanation. I stand corrected.

  2. My content how it was intended by Pikoro · · Score: 2, Interesting

    If I write a web page, however much it sucks, that's exactly how it should be delivered.

    If I see a bad website that takes 20 minutes to load, then I will never buy anything from that site or it's company. If they can't hire a decent web programmer, they don't deserve my money.

    However, if you change the page to make it render faster, the ISP is lying FOR the shitty company and their shitty website by making it appear to be a well crafted site.

    tl;dr: Leave the shit shitty. It'll put bad programmers out of business which we need.

    --
    "Freedom in the USA is not the ability to do what you want. It is the ability to stop others from doing what THEY want"
    1. Re:My content how it was intended by AtomicJake · · Score: 1

      If you pay a CDN to deliver your content, you see it probably as a good service, if it can actually optimize the code.

    2. Re:My content how it was intended by mjwalshe · · Score: 1

      Indeed though this is a CDN service and not an ISP so the punter would presumably have to sign up to this. Just employ some professionals to develop and tune your website (which if you considering a CDN you should be doing any how).

      If you get to the point where you need and can afford to pay for a CDN - you should already have some decent in house SEO who can do this for you.

    3. Re:My content how it was intended by Vegemeister · · Score: 1

      If I see a bad jpeg processor that takes 20 seconds to rotate an image, then I will never buy anything from that software house or it's parent company. If they can't hire a decent SSE assembly programmer, they don't deserve my money. However, if you vectorize the algorithm to make it render faster, the compiler is lying FOR the shitty company and their shitty software by making it appear to be well crafted code.

      No offense, but I took the liberty of mending your statement.

    4. Re:My content how it was intended by Anonymous Coward · · Score: 0

      You refuse to buy products from companies with bad marketing material? But... why? A website is not the end all of absolutely everything. It's there to make my life easier and promote the company. If they can't (or can't be arsed) to promoted themselves that still says nothing of their products. You silly silly person.

    5. Re:My content how it was intended by vrmlguy · · Score: 1

      It seems that they only follow best practices for the web to optimize JPEG and PNG files, and remove whitespace and comments from JavaScript and CSS. They also enable gzip compression of all text files.

      Optimizing caching — keeping your application's data and logic off the network altogether
      Minimizing round-trip times — reducing the number of serial request-response cycles
      Minimizing request overhead — reducing upload size
      Minimizing payload size — reducing the size of responses, downloads, and cached pages
      Optimizing browser rendering — improving the browser's layout of a page

      --
      Nothing for 6-digit uids?
    6. Re:My content how it was intended by Anonymous Coward · · Score: 0

      One easy thing a website optimizer can do is remove all the whitespace that makes css, js, html easy for a human to read. That's less wasted bytes to send out. It could also rename all css classes andids and javascript variables to be smaller. Writing rules and code this way sucks as 'a' is nowhere near as helpful as 'upload_status' is for an identifier. You could also grab all CSS and JS and see which rules and code are actually used, then not include unused/overlapping rules and code. You could theoretically also resize/compress images etc, but that seems like a potentially very bad idea.

      tl;dr: there is nothing wrong with having a 'source' form of a webpage for easy human understanding and a 'compiled' form for smaller file size

    7. Re:My content how it was intended by Hal_Porter · · Score: 1

      I'm amazed no one has invented a "Compiler HTML" format. You'd take HTML, run it through a compiler on the web server and spit out some compact binary representation of the page. I know people with forums that serve GBs of text every day - compiled HTML would cut their bandwidth costs significantly at the cost of more CPU time on the server. Or the HTML compiler machine could be a proxy in front of another server running PHP generated HTML. It's fetch pages and cache the compiler version and serve that. You'd need an open standard for compiled HTML and browser support of course and that would take time.

      Then again maybe gzipping the page is almost as good and it works on all browsers.

      --
      echo -e 'global _start\n _start:\n mov eax, 2\n int 80h\n jmp _start' > a.asm; nasm a.asm -f elf; ld a.o -o a;
    8. Re:My content how it was intended by JustSomeProgrammer · · Score: 1

      I suppose you won't use any software that goes through a compiler that optimizes code to run faster transparently to the programmer either.

    9. Re:My content how it was intended by the_womble · · Score: 1

      One thing is evident from this story: neither the Slashdot editor (Timothy), or the submitter (assuming the rubbish as not added by the editor) or most Slashdot commentators have the slightest idea what a CDN is.

      They will rewrite your HTML if you pay them to do it, and you configure your site and DNS to use their services. Got that?

    10. Re:My content how it was intended by knarf · · Score: 1

      If I see a bad website that takes 20 minutes to load, then I will never buy anything from that site or it's company. If they can't hire a decent web programmer, they don't deserve my money.

      How short-sighted of you. What does the quality of a web site have to do with the quality of the products sold through it?

      Imagine the following scenario: someone has been making a given product for quite a while and as a result is quite proficient in their trade. Say this person makes axes, fine balanced axes which make easy work of splitting a few cubic meters of firewood for heating your house and/or cooking your food. He - most axe smiths are men - has sold axes through mail order for a while and thinks to extend his reach by using that internet thing he keeps on hearing about. He cobbles together a site using the first click-and-publish program he lays his hands on and voila, Knut Knutsson, axe smith is online and ready to sell. OK, the experience might leave something to be desired with that site being no more than the digital equivalent of those notices you might have seen hanging on the notice board at the local grocery store or, indeed, those ads he has used for many years in the relevant publications - say the farmers and foresters newspapers.

      He still sells really wicked axes though, substandard as his site may be.

      Now you happen to be searching for an axe. Which axe would you rather have, the piss-pot steel Chinese version guaranteed to be blunt after the first strike or one of those Knut Knutsson pieces which will last you a lifetime? With your current approach you'd go for the Chinese wonder at some fancy all-singing all-dancing AJAX web 2.0 site while in realoty you'd be much better served by Knut.

      --
      --frank[at]unternet.org
  3. Too much work by FranTaylor · · Score: 3, Insightful

    Instead of doing it over and over again on the fly, why not just do it once and shoot the "fixed" html back to the authors, and firmly insist that they update their pages? This seems like a much better way to accomplish the same thing.

    1. Re:Too much work by Anonymous Coward · · Score: 1, Insightful

      The authors could be using any one of a number of frameworks which make it at best very hard to meet some best practices.

    2. Re:Too much work by KiloByte · · Score: 3, Insightful

      Also, most HTML these days is generated rather than static, even if just to have common parts as includes rather than multiple copies.

      --
      The creatures outside looked from Alt-Right to Antifa; but already it was impossible to say which was which.
    3. Re:Too much work by zevans · · Score: 1

      CDN customers are likely to be large customers, and large customers don't have Web developers per se, except maybe one or two to address hotspots.

      The rest of the time they are using a CMS, and all of the major CMSs have some ... sub-optimal code.

      It's inevitable in code written by volunteers around the world with no real central co-ordination and decision making, and it's much better than not having free-as-in-beer CMSs at all.

      BUT - if your site is on SuperFantasticCMS and you find that ten of the core modules have these kinds of issues, it's a no-brainer to elect to use this service instead of fixing those ten modules and then battling to get them folded in upstream.

      --
      "... and more and more now there are all kinds of electronic goodies available" -- Pink Floyd 1972
    4. Re:Too much work by Toy+G · · Score: 2, Informative

      CDN customers are likely to be large customers, and large customers don't have Web developers per se, except maybe one or two to address hotspots.

      The rest of the time they are using a CMS, and all of the major CMSs have some ... sub-optimal code.

      This. Newspapers are notorious for crappy sites, implemented 10+ years ago on top of expensive proprietary tools based on the use of table elements and "liberal" abuse of SGML properties. Even the much-admired BBC site is kept together by a hodgepodge of 15-year-old code, which is known to inflict brain damage after webdevs are repeatedly exposed to it.
      These are big CDN customers, and they will jump on any opportunity to optimize without rewriting their legacy systems.

      It's inevitable in code written by volunteers around the world with no real central co-ordination and decision making, and it's much better than not having free-as-in-beer CMSs at all.

      Bollocks. CMSes built by OSS communities in the last 10 years (e.g. Wordpress) are invariably much, MUCH better at generating html than 99% of proprietary solutions.

      --
      -- Let's go Viridian.
    5. Re:Too much work by silentcoder · · Score: 1

      >BUT - if your site is on SuperFantasticCMS and you find that ten of the core modules have these kinds of issues, it's a no-brainer to elect to use this service instead of fixing those ten modules and then battling to get them folded in upstream.

      You know you raise a point, SuperFantasticCMS is really generating shittier html with each release now and their all snotty about accepting patches - so the users forked it. You really ought to be using HyperFantasticCMS instead - it's had major code cleanups, the generated html is actually quite slick, the new theme engine doesn't look like it was designed by Jabba the Hut's understudy and they finally fixed that horrible memory leak in the plugin loader too !

      --
      Unicode killed the ASCII-art *
    6. Re:Too much work by Anonymous Coward · · Score: 0

      This. Newspapers are notorious for crappy sites, implemented 10+ years ago on top of expensive proprietary tools based on the use of table elements and "liberal" abuse of SGML properties. Even the much-admired BBC site is kept together by a hodgepodge of 15-year-old code, which is known to inflict brain damage after webdevs are repeatedly exposed to it. These are big CDN customers, and they will jump on any opportunity to optimize without rewriting their legacy systems.

      That.

      Here's a real-world example from a few years ago. (I think they've fixed it since the original post, but talk about dailyWTF moment...)

    7. Re:Too much work by nametaken · · Score: 1

      There are already ways to have your markup checked if you want that.

      This is a paid CDN service. If the content provider doesn't want to use it, they don't.

    8. Re:Too much work by mounthood · · Score: 1

      So why doesn't the service do this: Fix the HTML, diff the original and result, alert the developers of the changes?

      --
      tomorrow who's gonna fuss
    9. Re:Too much work by the_womble · · Score: 1

      The rest of the time they are using a CMS,

      Citation needed: what proportion of websites that have enough volume to use a CDN use an off the shelf CMS? I know that many have heavy in-house development, or use a framework (the BBC uses Catalyst, severak newspapers use Django) which means they will control the HTML output.

      and all of the major CMSs have some ... sub-optimal code.

      Even if you are right, only some of the HTML is generated by the CMS, most will come from your own templates.

      It's inevitable in code written by volunteers around the world with no real central co-ordination and decision making

      Proportion of volunteer developers on FOSS CMSs? Are people writing code because they need it for their work, or to drum up business really volunteers? Is it true that there are problems with desicion making - most projects seem to have someone, or some small group in control.

  4. Legal troubles? by cerberusss · · Score: 4, Interesting

    the questions are 'Will this automatic rewriting cause other problems, i.e. browser quirks?' and 'Assuming that only the web pages of Cotendo's customers are altered, are there nonetheless potential legal troubles with someone rewriting HTML before delivery to a browser?'

    I couldn't give a rat's ass about legal troubles. Slashdot is still a tech forum, right?

    There are LOADS of much more interesting questions to ponder, such as: what is exactly the speed improvement? And does it work for Javascript and CSS too? And wouldn't it be much better to work on images instead? Or is that too computationally intensive? What kind of algorithm do they use? In what language is it implemented? Et cetera. Legal troubles shmegal smougles.

    --
    8 of 13 people found this answer helpful. Did you?
    1. Re:Legal troubles? by ThatGuyJon · · Score: 5, Informative

      https://code.google.com/speed/page-speed/docs/rules_intro.html

      I think this link answers all your questions.
      After a quick first glance, it seems like it isn't doing anything that a good web designer shouldn't have already have done. Then again, the percentage of well-designed pages out there mean this could still provide a speedup...

      --
      I must be new here...
    2. Re:Legal troubles? by orange47 · · Score: 1

      you are wrong, if they don't think about legal troubles, they might one day start inserting javascript viruses or something.

    3. Re:Legal troubles? by Anonymous Coward · · Score: 0

      Images - convert to j2k on the intermediate server & save 50% image bandwidth vs. optimal jpg.

      Will require jpeg-2000 support in all major browsers, but well, it's about time anyway.

      Come on guys, get with the program.

    4. Re:Legal troubles? by Anonymous Coward · · Score: 0

      Slashdot is still a tech forum, right?

      Nope. Timothy is on duty.

    5. Re:Legal troubles? by Pharmboy · · Score: 2, Funny

      My first thought was "why not write good code to start with?" This is like worrying about a new liposuction method, when instead you should get off your fat ass and drop that Snickers bar. It is solving the symptoms, not the problem.

      --
      Tequila: It's not just for breakfast anymore!
    6. Re:Legal troubles? by SuricouRaven · · Score: 1

      Transparently recompressing images has been done by ISPs before. First by AOL in the dialup days, and today a practice still used by some mobile-phone-network ISPs. Both situations in which the user has very little bandwidth available, so turning a 500k JPEG into a 100k JPEG will make it load quite noticeably faster at the expense of reducing quality. Worst case would be if someone deleted the originals without realising their only copies had been through the degrading proxy.

    7. Re:Legal troubles? by jimicus · · Score: 1

      My first thought was "why not write good code to start with?"

      That's hilarious, that is. I don't think I have ever in my life seen code start bloated and move towards tight efficiency. Usually you find developers following the age-old rules about "Don't optimise" and "Don't optimise - yet" and by the time it is appropriate to start optimising, the product's already shipped.

    8. Re:Legal troubles? by grcumb · · Score: 3, Insightful

      After a quick first glance, it seems like it isn't doing anything that a good web designer shouldn't have already have done. Then again, the percentage of well-designed pages out there mean this could still provide a speedup...

      And then, you might find yourself in my position. I administer a website with over 100,000 static files, created using a variety of tools over the course of the last 8 years. And one of those tools was FrontPage.

      Given the size of our shop, coupled with the need to handle new content coming in, the best I can realistically hope for is that the formatting of our new content doesn't suck quite as tremendously as the older stuff. On top of everything else, we provide important legal content to one of the most Internet-deprived regions in the world. Bandwidth around here is often measured in single-digit kilobytes.

      ... You can bet your boots I'm going to give this module a test-drive. I'd be crazy not to.

      --
      Crumb's Corollary: Never bring a knife to a bun fight.
    9. Re:Legal troubles? by somersault · · Score: 1

      That's hilarious, that is. I don't think I have ever in my life seen code start bloated and move towards tight efficiency.

      That's not an answer to his question. He asked why not start with tight and efficient code?

      --
      which is totally what she said
    10. Re:Legal troubles? by Splab · · Score: 1

      Because you are often on a tight schedule defined by someone so far away from programming he thinks it's done like in Swordfish.

      Also a note on your fat ass comment - some might have it that easy, but quite a lot are fighting "programming" in their genes. Dropping 10% of your weight will cause all sort of hormones to fire, your body is programmed to think it's in distress and send hormones out trying to force you to regain weight. I know from experience how fucking hard it is, it is absolutely doable, but it does require a solid foundation of people helping you through it.

    11. Re:Legal troubles? by jimicus · · Score: 2, Insightful

      That's not an answer to his question. He asked why not start with tight and efficient code?

      Fair point.

      I think the last time I saw anything tight and efficient was back when the nature of the computer it was running on forced that. IME, code efficiency is inversely proportional to the power of the system on which it is expected to run.

    12. Re:Legal troubles? by John+Hasler · · Score: 1

      > I couldn't give a rat's ass about legal troubles.

      Especially as there are none.

      --
      Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
    13. Re:Legal troubles? by JustSomeProgrammer · · Score: 1

      Sometimes good code != best client code. There are JavaScript optimizers out there that make your JavaScript much more compact and easier for clients to download. However they also make the JavaScript completely unmaintainable as they put all the code on one line get rid of any unneeded white space and rename functions/variables to be as few characters as possible. Think of it the same as compilers that will optimize out unneeded loops when compiling to bit code. I didn't look into this tool too much but thought it was doing something similar that would allow pages to be sent faster while making maintainability easier.

    14. Re:Legal troubles? by Tubal-Cain · · Score: 1

      I've wondered if giving programmers very low-end workstations for development (with a powerful machine somewhere on the network for compiling) would result in more efficient applications.

    15. Re:Legal troubles? by cerberusss · · Score: 1

      JavaScript viruses? That will never happen. (Yeah here is hoping someone is clever enough to make it just so).

      --
      8 of 13 people found this answer helpful. Did you?
    16. Re:Legal troubles? by Pharmboy · · Score: 1

      How does using an optimizer make it hard to maintain? You still have the original source. That makes no sense. That is like saying that the Linux kernel is unmaintainable because it is compiled before it is used. You don't maintain the binary, you maintain the source, THEN compile it with the changes.

      What about using less javascript code to begin with? The problem with many programmers is the false idea that more lines is better code, and more features is a better experience.

      --
      Tequila: It's not just for breakfast anymore!
  5. There are no legal issues by chrb · · Score: 4, Insightful

    If you voluntarily upload your web site to a CDN that tells you it is going to optimise your code, what legal issues could there be? The arrangement is entirely mutually consensual. If you don't want your site optimised, then don't use that CDN.

    1. Re:There are no legal issues by Anonymous Coward · · Score: 0

      >> consensual

      Well, as long as both parties are legal adults, I guess it's okay...

    2. Re:There are no legal issues by gmuslera · · Score: 1

      The press release talks about "selected customers" so looks like an optional service, probably you could opt out without switching CDNs.

  6. Oh please by gaspyy · · Score: 4, Insightful

    This seems like an ad for Contendo disguised as an inflammatory post.

    Any webmaster worth their salt is using a variety of tools to improve loading speed - minification of html/css/js, combining scripts, CSS optimization, js packing, compressing PNGs with better tools and using CSS sprites.

    I use W3 Total Cache for two of my blogs and the speed increase is substantial.

    While we are at it, I wish developers would think it through before using JQuery for trivial stuff. Loading JQuery + bunch of plugins to do simple (and I mean simple) fades or form validations is pointless. Here's an example of what I mean.

    So if they're doing this transparently, it's all th better.

    1. Re:Oh please by metrix007 · · Score: 1

      How much do all these techniques alter the original code? Just curious

      --
      If you ignore ACs because they are anonymous - you're an idiot.
    2. Re:Oh please by SavedLinuXgeeK · · Score: 3, Insightful

      Isn't that the point of using Google's copy of jQuery for your sight, in lieu of hosting it yourself. You can share the cache with any other site that is pulling the jQuery lib from a trusted 3rd party. After looking at the link you posted, that code may be simpler with respect to size, but in terms of maintenance or having a novice manage it (without introducing cross platform issues), it seems like it may be a nightmare. What would be nice, and Adobe has done this for flash, is to have a separate cache for trusted libraries. It would be nice if I could query to see if jQuery were available in a browser lib cache, and use it from there if available.

      --
      je suis parce que j'aime
    3. Re:Oh please by dj51d · · Score: 1

      In theory, Google's copy of jQuery is great for sharing the cache. In practice, I've found that if it isn't cached, Google's copy of jQuery causes a shocking amount of latency, often taking well over 500ms to begin downloading.

    4. Re:Oh please by gaspyy · · Score: 1

      Well, if JQuery were integrated with the browsers, it'd be great.

      I keep wrestling with it because of lazy CMS (WP, Joomla) plugin developers. If you're not careful, you can end up with three requests to load JQuery, one local, one 1.3.x from Google and another 1.4.x from Google as well, plus various extensions like JQueryCycle AND some Scriptaculous as well. I've seen it.

      And all of this for trivial stuff, like validating if a form field is not null, cross-fading a div or opening a pop-up. Come on.

      JQuery is a really great tool for doing advanced stuff, but I find it sad that many devs no longer know how to use a simple .getElementById().

    5. Re:Oh please by Lennie · · Score: 1

      I agree, that free service isn't that fast and the cache-time isn't very long. The cache time in the HTTP-headers is set to just 1 hour, please, why ?

      --
      New things are always on the horizon
    6. Re:Oh please by JustSomeProgrammer · · Score: 1

      Usually minified js is unreadable. Like with variables renamed to one or two characters all unneeded whitespace removed etc.

    7. Re:Oh please by Lennie · · Score: 1

      "if JQuery were integrated with the browsers"

      if you mean, if features from jquery (and similair frameworks) were included in the browser, then that has already happend.

      It is called the document.querySelectorAll

      http://www.w3.org/TR/selectors-api/

      First we had webdevelopers who wanted to better seperate content, behaviour and style. And they started to implement that, they asked the browser developers to make such an API because it would be a lot faster if browser did that. The browserdevelopers didn't do so, because it would be slow. Then people create frameworks which did that too and a lot of people started using it. Then browserdevelopers said, let's make a spec and implement it, if people are using it anyway, might as well try to make it as fast as possible.

      --
      New things are always on the horizon
  7. COTENDO TEAR DOWN YOUR WALL !! by Anonymous Coward · · Score: 0

    They need a case of whupass opened up on them. What a bunch of maroons !! It's fucking idiots like this that give Canada a bad name !!

  8. No legal trouble by stephanruby · · Score: 3, Informative

    'Assuming that only the web pages of Cotendo's customers are altered, are there nonetheless potential legal troubles with someone rewriting HTML before delivery to a browser?'"

    Why should there be? They're not selling bandwidth. They're selling an optimization service (at least, according to their press release, that's what they're selling). This seems to be a clear opt-in situation for their customers. Also, their customers are the ones who are going to be saving money because of this, probably not Cotendo.

    1. Re:No legal trouble by Anonymous Coward · · Score: 0

      Could the author of the HTML document claim copyright and assert that Cotendo is violating their rights by altering the document before delivery to the browser?

  9. But what of the crypto possibilities? by Zawash · · Score: 2, Insightful

    Just think of all the possibilities with steganography in poorly written html?
    vs
    and /> tags, empty span and font tags, the number of &nbsp;'s - casing in css styling and everything!

    Just look to North Korea!

    --
    File not found. Fake it(Y/N)? _
    1. Re:But what of the crypto possibilities? by MichaelSmith · · Score: 1

      At least it has their email address.

  10. Yes it will cause browser quirks by pinkushun · · Score: 0, Flamebait

    ... in browsers with an incomplete implementation of the rendering engine, of course. i.e. IE

    1. Re:Yes it will cause browser quirks by dave420 · · Score: 1

      It's a bit more intelligent than that. Maybe you should read about it before wading in with your opinion?

    2. Re:Yes it will cause browser quirks by pinkushun · · Score: 1

      I guess I should have. http://acid3.acidtests.org/ is a good measure of the various rendering implementations of browsers.

      The problem: older sites are hacked together to accommodate bugs and workarounds in older browsers. Changing the source on-the-fly could potentially break these workarounds.

      Even Microsoft says so, in their not-so-many-words way:

      Some Web sites are designed for older browsers. You may experience compatibility issues on these sites until they are updated for Internet Explorer 8 or for Internet Explorer 9 Beta.

  11. There isn't a problem here, move along by Anonymous Coward · · Score: 0

    If you're paying a CDN to do this for you, then you obviously want them to do it, otherwise you'd take your business elsewhere. This literally has nothing to do with ISPs filtering web pages, because they aren't. It's a completely (useful) opt-in service.

  12. Blind optimizations? by gmuslera · · Score: 1

    Some "aggresive" optimizations could eventually do more damage than good, the extension in apache is very configurable in its features, and some of them have their risks, specially if you work with very dynamic html. Of course, their optimizations could be the safe ones mostly, and the one that makes the pages is the one hiring their services, in particular this one (as seem to be optional), clients be aware exactly of what optimizations they are doing and what they should take into account doing/maintaining their sites.

    In general, it seem to be a good idea doing it, in a way or another. And if you can't go thru all the troubles doing the optimizations yourself, and your own servers for some reason can't run this module, the cdn could be your last chance to do that.

  13. Optimized HTML by advance-software · · Score: 1

    Encode as binary HTML (fastinfoset or exi) & transcode jpg images to jpeg-2000 (approx. 50% saving on image bandwidth vs. optimized jpeg).

    Simples.

  14. Is rendering speed really a problem? by Anonymous Coward · · Score: 0

    Computers are fast as shit these days. Most of my time is spent on news sites or community sites rendering mainly a wall of text anyway. The bottleneck is -delivering- the page (and all those goddamn barnacles from *.adservice.* that have to come down with the content I -actually- want to read. Once the page reaches my laptop rendering is instantaneous. So why bother altering the content?

  15. Apache at CDN level? by gmuslera · · Score: 1

    Is an apache module, so they should be using it in a reverse proxy role or something like that. Without taking merits from Apache, i tought that they would be using i.e. Varnish for that task.

    1. Re:Apache at CDN level? by Lennie · · Score: 1

      The summary said, doing what is similair to the apache-module.

      --
      New things are always on the horizon
  16. Legally? yes by Anonymous Coward · · Score: 0

    The design mechanisms of many ad-laden sites *cough*cough*cough*ebay*cough*yahoo*cough*google*cough*aol*cough*cough* are extremely inefficient, but they are still fast because of optimizations. However go to your average "I know how to use dreamweaver" idiot developed site and watch as all the broken tables and stuff make the browser client crawl.

    Any site that allows user-submitted-content, eg wordpress, blogger, ebay listings, are like this. This is the very content that the apache module can fix, but it can only do so much against poor coding.

    The ad companies, eg adsdaq/contextweb give their customers shitty javascript that looks like this:
    -script src="http://tag.contextweb.com/TagPublish/getjs.aspx?action=VIEWAD&cwrun=200&cwadformat=728X90&cwpid=XXXXXXXX&cwwidth=728&cwheight=90&cwpnet=1&cwtagid=XXXXXXXXX"--/script-
    Note lack of escape characters and required attributes.

  17. If you need an answer... by Stan+Vassilev · · Score: 1

    the questions are 'Will this automatic rewriting cause other problems, i.e. browser quirks?'

    A snippet out mod_pagespeed's "rewrite CSS" filter:

    "CSS minification is considered moderate risk. Specifically, there is an outstanding bug that the CSS parser can silently lose data on malformed CSS. This only applies to malformed CSS or CSS that uses proprietary extensions. All known examples have been fixed, but there may be more examples not discovered yet. Without this the risk would be low. Some JavaScript code depends upon the exact URLs of resources. When we minify CSS we will change the leaf name of the file (although leave it in the same directory). This could break such JavaScript."

    Yet their own examples show other risks, as they rewrite CSS selectors from longer selectors to completely different short selectors (i.e. from "div.class span" to "#id"), which even in their examples are only superficially equivalent, and not taking into account any dynamic content the page may render via JS. So any application utilizing JS would suffer a range of awkward issues, even if your code is perfectly valid.

    Talking about valid code, one of their other filters:

    "The quote removal filter eliminates unnecessary quotation marks (either "" or '') from HTML attributes. While required by the various HTML specifications, browsers permit their omission when the value of an attribute is composed of a certain subset of characters (alphanumerics and some punctuation characters)."

    The rest is predictable and of little use: cache headers, image compression, JS minification, CSS/JS outlining/inlining, whitespace collapsing, and removing attributes that specify defaults. Those are all basic and low yield optimizations that any web developer would, for the most part, have done in his original source to begin with.

    Unfortunately Google's expertise in searching doesn't automatically transfer into other areas, and this clumsy tool, which at best does little, and at worst produces broken code, is definitely one of their weaker efforts.

    If Cotendo intends to force this option on their users without an opt-in (the press release doesn't clearly say), then that's one distribution network I'm definitely not using.

    1. Re:If you need an answer... by Anonymous Coward · · Score: 0

      I think there could be much more interesting projects out there to 'improve the web'.

      I would start with zlib. Make it run 50% faster and say compress 5% better. Do the same with bzip and bzip2. Those 3 are used everywhere. It is used even in ssl sessions, graphics, compressed sessions, etc... Put in a few more compression types into html headers. Even simple 'I am going to give this to you as 7bit ascii' would probably save a ton.

      Another way to really punish your web server is to use ? marks in your urls for items and not have static linked items. Web browsers do not have to cache anything like that (in fact the recommendation is to not cache them). Build in a 'yes your item is still good but I am serving you from a different server today' into html codes. Or something like here is a list of servers and they all contain this item pick a random one. Another way to punish your web link is to set low cache timeouts. Yes in many cases it makes sense. But that little graphic you got 10 years ago that you never change why does it have a 2 min timeout? Also why is it dynamic?

      Honestly I think optimizing the text really does little other than make the browser wait longer for other things. A majority of traffic on the web is graphics and flash. I have the logs to back that up too. Think 40 gig of one type vs 200 meg total of the other.

  18. Beware mod-pagespeed by msclark · · Score: 1

    I installed mod-pagespeed recently on a server, and it had some unintended results to put it mildly.

    Initial page-loads were slower, as perhaps page-speed was analyzing each page and figuring out an optimization plan. However, that wasn't the worst problem: mod-pagespeed sometimes BROKE javascript code. It attempted to combine and minify javascript files and code, and modern web browsers started producing javascript errors and not working as expected.

    Needless to say, mod-pagespeed was immediately removed from our server. I expect that the Cotendo CDN will also have these sorts of issues, which will drive website owners and developers crazy. It will be interesting to see how major content providers react when their content breaks because of the CDN.

    Matthew Clark
    http://gorges.us/

    1. Re:Beware mod-pagespeed by dave420 · · Score: 1

      It doesn't attempt to combine JavaScript files.

    2. Re:Beware mod-pagespeed by Lennie · · Score: 1

      it doesn't ? that would be kind of defeat the reason of using it then.

      --
      New things are always on the horizon
  19. Man In The Middle? by Nameisyoung007 · · Score: 1

    Sounds like a Man-in-The-Middle attack to me...

    1. Re:Man In The Middle? by swdunlop · · Score: 1

      Only if the customer was so naive as to use HTTP in the first place.. Oh, I see what you did, there. :)

  20. Google Analytics by bradley13 · · Score: 1

    Interesting that this is from Google. One of the most frequent causes of delay I see are links to external sites. In recent times, I have specifically noticed lots of web-pages waiting for Google Analytics.

    --
    Enjoy life! This is not a dress rehearsal.
    1. Re:Google Analytics by AndrewNeo · · Score: 1

      That's mostly because the GA code needs to go at the bottom of the page, not the top.

    2. Re:Google Analytics by datapharmer · · Score: 1

      or better yet be replaced by the non-blocking version that has been around for awhile now...

      --
      Get a web developer
    3. Re:Google Analytics by Lennie · · Score: 1

      My problem with GA is that they add so many cookies.

      For all the different domains (with and without www, etc.) seperate cookies and they are large.

      This slows down the browser when doing requests to the server, because uploading large cookies takes more time because of the upload-/-download ratio of a lot of customer/business connections.

      --
      New things are always on the horizon
  21. Interesting Feature by TheNinjaroach · · Score: 1

    I think it's an interesting feature that might help Cotendo stand out among the pack. Don't use them if this kind of feature bothers you. But if the changes don't introduce any bugs and your website loads faster for it, why would you possibly take that as a bad thing?

    --
    I went to eat some animal crackers and the box said, "Do not eat if seal is broken." I opened the box and sure enough..
  22. View Source by drx · · Score: 1

    What happened to view source, the browser function that build the web?

    I think it is not nice to deliver unreadable code to your users. Removed line breaks and indenting spaces, obfuscated javascript variables, automatic changing of meaningful file names to some hash-gibbeish ... do not like.

    1. Re:View Source by John+Hasler · · Score: 1

      > I think it is not nice to deliver unreadable code to your users.

      Then you dislike all systems such as CMSs that deliver generated code, I assume.

      --
      Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
    2. Re:View Source by drx · · Score: 1

      Indeed! Most of them cannot even produce hypertext :)

      However, with a bit of work it is possible to make them generate code that is more or less readable for the users.

      Anyway, not-so-great readable code is still better than code that is only optimized for computers. Almost not different from going binary. And that is against my understanding of the web's spirit.

  23. Go Daddy is also using mod_pagespeed by darthcamaro · · Score: 1

    It's only optimization of images, css and some caching,..but still pretty COOL.

  24. Easy to fix forced optimisation by Anonymous Coward · · Score: 0

    Write a webpage that in a very inefficient way fails to display goatse.

  25. That's not where time is going by Animats · · Score: 1

    If pages load slow, it's very seldom because their HTML has too much white space.

    Most page load delays today come from waits for loads from third-party sites. Usually ads, of course. Or because they're doing something in Javascript that's eating time in the browser.

    Now, rewriting the page to remove ads - that would really speed things up. Or just replace all images from ad sites. The server still reads the image from the ad site, so the ad site thinks it delivered the image, but there's no need to ship it down the last mile to the user.

  26. Apropos "Too much work" by Anonymous Coward · · Score: 0

    We all know that well-written HTML can result in much better rendering of whatever your content is

    I did not expect to read that on Slashdot.

  27. Big Deal by Sproggit · · Score: 1

    So what, been doing this for clients with F5 BigIP for the last 4years....

  28. my take on this... by StripedCow · · Score: 1

    What is very interesting about this, is that <rest of comment optimized away>

    --
    If Pandora's box is destined to be opened, *I* want to be the one to open it.
  29. Who really need CDN? by Anonymous Coward · · Score: 0

    Now you may know the infrastructure on CDN, but who really knows if they need CDN? Here's how http://bit.ly/97GMxA