I'm using the JSMin plugin to inject js/css assets through views. I'm
also using event/handler/view caching.
When an event has a view that uses the JSMin plugin, nothing gets sent
to the head.
For instance, let's say I have a "view cart" view - I might want to
inject some javascript and some CSS for the "cart" page using the
JSMin plugin from inside my view (my layout is far too generic).
But after the first request, the "cached" request looks horrendous as
none of my css assets are being included. I'm presuming this has
something to do with coldbox caching the layout before the jsmin
plugin does its thing and includes my assets in the head.
Anyone got any ideas around this? As at present I'm having to turn
event caching off and I don't really want to do that!
Thanks,
Tom.