Various fixes

Anticaching fix + URI now defaults to "default" app if no app matches
the hostname