// Development only. Reload if theme has been modified
if (themeReload) {
try {
ThemeManager manager = WebloggerFactory.getWeblogger().getThemeManager();
boolean reloaded = manager.reLoadThemeFromDisk(weblog.getEditorTheme());
if (reloaded) {
if (WebloggerRuntimeConfig.isSiteWideWeblog(searchRequest.getWeblogHandle())) {
SiteWideCache.getInstance().clear();
} else {
WeblogPageCache.getInstance().clear();