Navdeep,

In additional to what Justin mentioned and for TL;DR;
You can determine what is being cached vs loaded by using
xdmp:query-meters() at the end of your request.  Typically every fragment
that is part of your evaluation will be in there with either a hit or a
miss in any cache.  Also certain evaluation is lazily loaded so wrap
xdmp:eager(...),xdmp:query-meters() to ensure accurate results.

For more information see here

https://docs.marklogic.com/xdmp:query-meters
_______________________________________________
General mailing list
General@developer.marklogic.com
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to