On Thu, Jul 31, 2008 at 11:37 AM, Viji Subramanian <
[EMAIL PROTECTED]> wrote:

> I see that,  when I have nocache=0,(ie.. ignoreCache=false) then the css,
> images and js urls are rewritten to go thru proxy.  If the css/image/js are
> relative urls, they also gets rewritten to have absolute paths.
>
> I wanted to use nocache=1 (ie. ignoreCache=true) when i am developing and
> testing gadgets. When I use nocache=1, i see that the css/js/image urls
> doesn't go thru proxy.  also, the urls doesn't get rewritten to have
> absolute path, they still have relative paths, and the gadget fails to
> render, as the browser fails to fetch those relative urls (404).
> So, when nocache=1, can the resources be still fetched thru proxy but we
> don't cache them.  This way the relative urls would still work.
>
> Am i missing something here.. because i can't get the relative urls for
> css/js/images to work when i turn the caching off.


Relative url support is not yet standardized, and developers should not rely
on it. The java rewriter allows relative urls because of the way that
they're handled in CSS.

Part of the current proposal for a new type of gadget happening on the spec
discussion list is addressing the issue of relative urls. Whatever the
outcome of that winds up being is what will happen in Shindig.


>
>
> does anyone have any pointers,
>
> thanks
>
>

Reply via email to