I configured pagespeed to cache js and css files to improve server performance. But sometimes server loads and performance lag is quite visible. So want to tune pagespeed. I increased pagespeed's ModPagespeedFileCacheSizeKb
configuration from 100KB to 512KB. After doing this the cleanup frequency reduces (once in every 5 hrs). Below is the pagespeed log:
[Wed Apr 30 16:06:37 2014] [info] [mod_pagespeed 1.3.25.4-2941 @25845] File cache size is 526295040 and contains 62559 inodes; no cleanup needed.
[Wed Apr 30 17:11:56 2014] [info] [mod_pagespeed 1.3.25.4-2941 @4420] File cache size is 553115648 and contains 65117 inodes; beginning cleanup.
[Wed Apr 30 17:12:02 2014] [info] [mod_pagespeed 1.3.25.4-2941 @4420] File cache cleanup complete; freed 150609920 bytes
[Wed Apr 30 18:12:19 2014] [info] [mod_pagespeed 1.3.25.4-2941 @14154] File cache size is 448905216 and contains 54087 inodes; no cleanup needed.
My question is how to measure the correct cache size so that no cleanup from the pagespeed is needed ??
Why there is incremental cache and inode size on every cleanup call? what does it signify?