By default, generate permalinks only on demand. With UI for such.
Merge branch 'on_demand_permalinks'