Forcing a hard clear-cache for self upgrade only and soft clear-cache for install/update of themes/plugins