I'm really not sure, but the first thing that comes to mind would be the order in which modx parses cached and uncached tags. As i understand it (and 'understanding' here is often accompanied by a mild headache), cached tags are parsed before uncached tags and nested tags are parsed inside-out.
So something like this might be happening here:
your head-tag [[*content]] is cached, hence it is parsed first. It retrieves the content and puts it in the header.
But the content has an uncached tag [[!getResources]]. This, since uncached, is not parsed, so you actually have to unparsed getResource call in your header. And now this gets parsed, meaning the output of getResource is put inside your header.
Try calling your header tag uncached: [[!*description:is=``:then=`[[!*content:notags:strip:limit=`153`]]`]]
If this makes a difference, then i'm on the right track.
Cheers,
Marc
For additional information on caching visit these excellent Mark Hamstra posts:
https://www.markhamstra.com/modx-blog/2011/10/caching-guidelines-for-modx-revolution/
https://www.markhamstra.com/modx-blog/2011/11/nested-caching-in-modx-revolution/
[ed. note: itWillBeOk last edited this post 13 years, 9 months ago.]