Bug #36744: Workspaces are unusable on larger installations
Calculate percentage of differences if column is shown
The workspace view in the backend has a feature to calculate the percentage of differences between live and workspace version.
This implementation iterates over each record and each field by using the PHP method similar_text().
The complexity of similar_text() is measured with O(n^3) which quickly can turn into a nice waiting period if string length is more than approx 4000 characters.
Thus, the change value will only be calculated if the accordant column "change" is shown.
[TASK] Add current backend user as cache tag
Adds the current backend user as cache tag.
Reviewed-by: Wouter Wolters
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader