Publishing and unpublishing a file, folder or event will update the lastmodified entry.
Added getLastModifiedFileDate and getLastModifiedFolderDate.
Using last modified file and folder that for caching.