Bug 63638 - htcacheclean inodes and storage usage is unclear
Summary: htcacheclean inodes and storage usage is unclear
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: Documentation (show other bugs)
Version: 2.4.39
Hardware: PC Linux
: P2 minor (vote)
Target Milestone: ---
Assignee: HTTP Server Documentation List
URL:
Keywords: FixedInTrunk
Depends on:
Blocks:
 
Reported: 2019-08-05 23:29 UTC by philippe.panaite
Modified: 2019-08-09 12:01 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description philippe.panaite 2019-08-05 23:29:17 UTC
Hi,

After tons of research I was able to find the answer to my question and to avoid others the pain I had to go through I would like to suggest a small change to the documentation of htcacheclean. 

On the mod_cache_disk documentation we can see the following :
"The htcacheclean tool is provided to list cached URLs, remove cached URLs, or to maintain the size of the disk cache within size and/or inode limits."

However nowhere on the htcacheclean page can we see that it is possible to use both flags for inodes and size.

Even more confusing are how the flags are presented :

[-llimit| -Llimit]

In most programming languages, the pipe  " | " means OR .

Please implement a change to make this clear for others.

Thank you
Comment 1 Christophe JAILLET 2019-08-09 12:01:03 UTC
Hi,

thanks for spotting and reporting it.

This has been fixed in code (r1864784) and in online doc (r1864786).
This will be backported soon.


Please also note that the online doc will be updated when the html files will be regenerated from xml.