The solution is simple: enable caching on the file, which contains your frameset (i.e. /index.html). Then, when user hits F5, browser won't refresh the frameset itself, and will refresh just frames.