[Solar-talk] Helper_Script mod

Rodrigo Moraes rodrigo.moraes at gmail.com
Wed Sep 6 04:09:31 PDT 2006


Hi.
Helper_Js uses the Script helper, which uses the PublicHref helper to
build the script src. For me this is not convenient, because I have
many subdomains using the same (big) javascript libraries. The
absolute script uri is better for me because browsers will cache them
once, and so I removed the publicHref line:

//$src = $this->_view->publicHref($src);

It's no big deal, I've just duplicated the helper to my vendor folder,
but I'm telling this in case you haven't considered how relative uri's
can be bad sometimes and maybe the Script helper could have an option
to use absolute uri's instead.

rodrigo


More information about the solar-talk mailing list