Green’s Dictionary of Slang

cap acquaintance n.

[a person one knows well enough to raise one’s cap when one passes on the street, but not to speak to properly]

a slight or passing acquaintance.

[UK]Grose Classical Dict. of the Vulgar Tongue ms. additions n.p.: Cap-acquaintance. Persons slightly acquainted, or only so far as mutually to salute with the Hat on meeting.
[UK]Grose Classical Dict. of the Vulgar Tongue (2nd, 3rd edn).
[UK]Lex. Balatronicum.
[UK]Egan Grose’s Classical Dict. of the Vulgar Tongue.