Archive für March, 2008

11. Mar 2008

Wie ‘grün’ ist Ihre Webseite?

Steve Souders stellt in seinem High Performance Website Blog die These auf, dass schnelle und schlanke Webseiten nicht nur gut für die Benutzer und deshalb gut für einen selbst und dei eigene Firma seien, sondern auch für unsere Umwelt. Am Beispiel eines Wikipedia-Eintrags listet er die Energiekosten und daraus folgend die CO2 Emmissionen auf. Zitat:

“Let’s look at one performance rule on one site. Wikipedia is one of the top ten sites in the world (#9 according to Alexa). I love Wikipedia. I use it almost every day. Unfortunately, it has thirteen images in the front page that don’t have a far future Expires header (Rule 3). Every time someone revisits this page the browser has to make thirteen HTTP requests to the Wikipedia server to check if these images are still usable, even though these images haven’t changed in over seven months on average. A better way to handle this would be for Wikipedia to put a version number in the image’s URL and change the version number whenever the image changes. Doing this would allow them to tell the browser to cache the image for a year or more (using a far future Expires or Cache-Control header). Not only would this make the page load faster, it would also help the environment. Let’s try to estimate how much.

  • Let’s assume Wikipedia does 100 million page views/day. (I’ve seen estimates that are over 200 million/day.)
  • Assume 80% of those page views are done with a primed cache (based on Yahoo!’s browser cache statistics). We’re down to 80M page views/day.
  • Assume 10%, no, 5% of those are for the home page. We’re down to 4M page views/day for the home page with a primed cache. Each of those contains 13 HTTP requests to validate the images, for a total of 52M image validation requests/day.
  • Assume one web server can handle 100 of these requests/second, or 8.6M requests/day. That’s six web servers running full tilt year-round to handle this traffic.
  • Assume a fully loaded server uses 100W. Six servers, year-round, consume 5,000 kilowatt-hours per year or approximately 500-1000 pounds of CO2 emissions.”

Quelle: http://www.stevesouders.com/blog/2008/03/06/how-green-is-your-web-page/

Posted by Posted by admin under Filed under Digitale Gesellschaft Comments No Comments »

07. Mar 2008

Internet Explorer 6 auf Vista

Endlich gefunden - eine brauchbare Lösung zum Testen von IE 6 auf Windows Vista. Bisher musste man eine extra Virtual Machine auf Vista installieren - oder gar einen 2. Rechner zum Testen an den Start bringen. Hier also:

 http://www.my-debugbar.com/wiki/IETester/HomePage

Dank an das DebugBar-Team.

Posted by Posted by admin under Filed under CSS Comments No Comments »

06. Mar 2008

SEO - Duplicate Content verhindern

Falls Suchmaschinen Duplicate Content auf einer Webseite entdeckent, hat das einen negativen Effekt auf den PageRank. Falls Suschmaschinen den gleichen Inhalt auf mehr als einer Seite finden, wird das als Spam bewertet. - Richard Drawhorn benennt in seinem Blogpost Probleme und Lösungswege, um Duplicate Content zu verhindern:

  • The same content should never be available from more than one URL.
  • Multiple Domains
  • Dynamic URLs
  • Sorting Content
  • What if my web site content appears on other sites?

Mehr dazu unter:

http://www.marketposition.com/blog/archives/2006/03/duplicate_conte.html

Posted by Posted by admin under Filed under SEO Comments No Comments »

02. Mar 2008

Code-Blocks einfach aktivieren/deaktivieren

Mit /* */ läßt sich Code-Block auskommentieren. Einfacher ist jedoch folgender Trick:

JAVASCRIPT:
foo();
/*
bar();
baz.foo = 200;
return{
dolly:clone()
}
// */

Nur ein / zu Beginn ergänzen und der gesamte Code wird wieder aktiv:

JAVASCRIPT:
foo();
//*
bar();
baz.foo = 200;
return{
dolly:clone()
}
// */

Gleiches gilt für CSS:

CSS:
.test{
border:1px solid red;
/*/
background-color:blue;
/**/
margin:1em;
}

Nur ein Stern zu Beginn ergänzen und der gesamte Block wird wieder aktiv:

CSS:
.test{
border:1px solid red;
/**/
background-color:blue;
/**/
margin:1em;
}

Quelle: Dirk Ginader, http://blog.ginader.de

Posted by Posted by admin under Filed under CSS, JavaScript Comments No Comments »

02. Mar 2008

AjaxRain - noch eine wertvolle Web 2.0 Tech-Sammlung

AjaxRain.com ist eine weitere Sammlung von mittlerweile über 1.000 Web 2.0 Rezepten: Ajax, CSS, scriptaculous, jQuery und vieles, vieles mehr.

Posted by Posted by admin under Filed under Ajax, CSS, JavaScript, Web 2.0 Comments No Comments »

01. Mar 2008

Joomla! Videos für Einsteiger

Auf www.joomlaforbeginners.com gibt’s eine Reihe von Videos zum Einstieg in das Content Management System.

Posted by Posted by admin under Filed under CMS, Joomla Comments No Comments »