basic browser cache support

bugfix: frontend: sometimes file names were unnecessarily widened