@Override public void clear() { deleteCachedFile(getCachedFilePath(CommonConstants.BLANK)); }
@Override public void clear() { deleteCachedFile(getCachedFilePath(CommonConstants.BLANK)); }
fileComponent.updateFile(filePath, historyFilePath, content); if (CommonUtils.notEmpty(metadata.getCacheTime()) && metadata.getCacheTime() > 0) { templateCacheComponent.deleteCachedFile(SiteComponent.getFullTemplatePath(site, path));
fileComponent.updateFile(filePath, historyFilePath, content); if (CommonUtils.notEmpty(metadata.getCacheTime()) && metadata.getCacheTime() > 0) { templateCacheComponent.deleteCachedFile(SiteComponent.getFullTemplatePath(site, path));
templateCacheComponent.deleteCachedFile(SiteComponent.getFullTemplatePath(site, path)); logOperateService.save(new LogOperate(site.getId(), ControllerUtils.getAdminFromSession(session).getId(), LogLoginService.CHANNEL_WEB_MANAGER, "clear.pageCache", RequestUtils.getIpAddress(request),
templateCacheComponent.deleteCachedFile(SiteComponent.getFullTemplatePath(site, path)); logOperateService.save(new LogOperate(site.getId(), ControllerUtils.getAdminFromSession(session).getId(), LogLoginService.CHANNEL_WEB_MANAGER, "clear.pageCache", RequestUtils.getIpAddress(request),
CmsPageMetadata metadata = metadataComponent.getTemplateMetadata(filePath); if (CommonUtils.notEmpty(metadata.getCacheTime()) && metadata.getCacheTime() > 0) { templateCacheComponent.deleteCachedFile(SiteComponent.getFullTemplatePath(site, path));
CmsPageMetadata metadata = metadataComponent.getTemplateMetadata(filePath); if (CommonUtils.notEmpty(metadata.getCacheTime()) && metadata.getCacheTime() > 0) { templateCacheComponent.deleteCachedFile(SiteComponent.getFullTemplatePath(site, path));