# Know if an Angular Directive is cached

**URL:** <https://forum.ionicframework.com/t/know-if-an-angular-directive-is-cached/35673>\
**Category:** ionic-v1\
**Created:** [October 27, 2015, 2:02pm UTC](https://forum.ionicframework.com/t/know-if-an-angular-directive-is-cached/35673 "2015-10-27T14:02:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jdnichollsc](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/jdnichollsc/32/137196_2.png) [@jdnichollsc](https://forum.ionicframework.com/u/jdnichollsc)\
**Post date:** [October 27, 2015, 2:02pm UTC](https://forum.ionicframework.com/t/know-if-an-angular-directive-is-cached/35673/1 "2015-10-27T14:02:21Z")

</div>

Hi guys!

Is possible to know if a directive is cached? (When the state in the routes have cache = true)

Thanks in advance, Nicholls
