caching (further explained below - sorry, the last comment is the first I saw). The replace is for people with funky usernames.