For content we can use the lastModified (it'll have to be in the search index though)
For principals we'll need to add a lastModified timestamp when you upload a new picture, update the principal.
I think this might actually be easier to implement once we have proper DAOs in place as updating the lastModified column could be part of the updatePrincipal method.