Det finns en intressat tråd på Aspsidan om hur man komprimerar sin HTML så att de går mycket snabbare att ladda genom att använda deflate eller GZip. Tråden kan du hitta här. I tråden tas det upp hur det görs med aspx-filer, men man bör även göra detta...
I had to generate a table of contents based on the contents of an article. So what´s the smiplest way? I had two ways to go: Parse the HTML (should be XHTML, which allows me to use an XMLDocument for example), but it could also be ugly HTML. Read the...