Generate XE Caching Mechanism for XCache