How to use cached facts inside ansible module and caching custom facts

Hi,
I am writing module that validates host facts(large number of them) with inventory database for audit and monitoring purposes. I have couple of questions in this regard:

  1. Is there a way to cache custom facts?
  2. Is there an API to use cached or ansible gathered facts inside module?

Thanks,
Yasir.

1. they are cached with rest of facts
2. no