Fixes #5103. Updated the cache paths in public pages for js and css.