Skip to content

Commit

Permalink
#25212 We need to make sure that the Cache for DEFAULT Variant is cle…
Browse files Browse the repository at this point in the history
…an all the time
  • Loading branch information
freddyDOTCMS committed Jun 12, 2023
1 parent 49c1789 commit 74088e7
Showing 1 changed file with 5 additions and 0 deletions.
Expand Up @@ -834,6 +834,11 @@ public void saveMultiTrees(final String pageId, final List<MultiTree> mTrees) th
updateHTMLPageVersionTS(pageId, variantId);
refreshPageInCache(pageId,variantId );
}

if (!variants.contains(VariantAPI.DEFAULT_VARIANT.name())) {
updateHTMLPageVersionTS(pageId, VariantAPI.DEFAULT_VARIANT.name());
refreshPageInCache(pageId, VariantAPI.DEFAULT_VARIANT.name() );
}
}

@Override
Expand Down

0 comments on commit 74088e7

Please sign in to comment.