[Freeipa-devel] [PATCH] 448 Load updated Web UI files after server upgrade

Jan Pazdziora jpazdziora at redhat.com
Mon Sep 2 09:05:11 UTC 2013


On Mon, Sep 02, 2013 at 10:57:14AM +0200, Petr Vobornik wrote:
> >
> >Couldn't you make this a build time thing, marking the links with the
> >version with make?
> 
> Would it bring us any benefit at this moment?

Less logic in runtime.

> >Alternatively, you could mark them with the hash of
> >the target, in which case if the target did not change with upgrade,
> >the hash would stay the same and the browser would not need to reload
> >it.
> 
> Yes, it would optimize stuff even more. I'm not a fan of it though.
> Added benefit seems to be minimal.
> 
> I try to avoid doing modification of Web UI files at build time
> because I think the modifications make development less transparent
> (more changes on different places).

Fair enough.

-- 
Jan Pazdziora | adelton at #ipa*, #brno
Principal Software Engineer, Identity Management Engineering, Red Hat




More information about the Freeipa-devel mailing list