XSL transformation now defaults to server-side
Fri Aug 14 2009
Now the xsl transformation takes place on the server for not logged-in
users and on the browser for logged-in users. A fail-safe check has also
been added to test that user's browser is capable
of xsl transformation. This is done by sending a special cookie from
the javascript. This javascript is only added to the transformed HTML
document when XSL transformation is done on the browser.
So if the user receives this cookie it means the browser was able to
transform the XML document correctly.
The reason for this is to be absolutely sure that search engine bots
will receive HTML version of the pages.
In the past the XSL transformation was done on the browser if the
browser supplied a valid site cookie. The logic behind it was that search
bots don't accept cookies, therefore it was safe to
assume that if cookie is present, then we are dealing with a regular
browser and therefore can send a page in XML format and have the browser
perform the transformation. The experience has shown
that while it worked really well for Yahoo search engine, the Google
has not picked up most of our pages yet.
We'll see what will happend now.