How To: Flush XWiki Cache Manually?

Hi,

How can I manually clear our XWiki cache?

The admin tool extension is reporting that it’s almost full:

  • Store Page Cache Capacity : 1000
  • Store Page Cache in Use : 960

I’m seeing this error if I try to use the tool in the extension.

Failed to render content. Cause: [Can’t find descriptor for the component with type [interface org.xwiki.rendering.parser.Parser] and hint [xwiki/1.0]]. Click on this message for details.

Here is the full error https://pastebin.com/UPLN1agt

Thanks in advance.

It’s meant to be full :slight_smile:

Yes this extension requires the xwiki/1.0 syntax. I think this got updated recently (but maybe not released, by @ClemensRobbenhaar).

I agree with @vmassol, having a full document cache is a pretty standard situation. If it’s not full it suggest it’s too big for your need.

Well that’s good news because I thought the whole thing was going to explode :joy:

The other reason I want to clear it is because our page load times are really slow at the moment and I’m seeing this when I edit a page in IE 11, I was hoping it would help.

In short the “capacity” indicate when the cache will start to get rid of oldest cache entries.

You might want to take a look at https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Performances.

Thanks, I’ve added this configuration to my xwiki.properties and things appear to be a bit faster.

#-# [Since 7.4.2, 8.0M2]
#-# The number of LESS compilations that can be performed simultaneously. Put a little number if your resources are
#-# limited.
#-#
#-# The default is:
lesscss.maximumSimultaneousCompilations = 4

Still seeing the strange border in IE 11 though :thinking: