I was wondering about the permalinks. They are built on the fly but they are pretty much always the same. It seems like a waste of processing time and databse queries on every request.
Why not store them into the database and regenerate it when needed ?
What’s wrong with that ?