Closed GoogleCodeExporter closed 9 years ago
Assemblies don't get unloaded from appdomains. Because of this fact, a
timeout-based caching strategy is inappropriate.
Andreas Johannsen looked at the possibilities of creating appdomains, so that
we could control the unloading. Unfortunately, the Tridion objects we need to
interact with are not serialisable so couldn't be marshalled to a second
appdomain. This would be a good research area and/or enhancement request for
Tridion, but is not currently a fruitful direction to follow in fixing this
issue.
I propose we alter the caching strategy to be based purely on comparing the
revision time of the TBB and the compile time of the assembly. This means
accepting that large amounts of template changes will require restarting the
publisher. We can try to improve on that later, but this approach would make
the current issue manageable.
I'll put together an implementation on a branch so we can see how well this
would work.
Original comment by dominic....@gmail.com
on 25 May 2013 at 5:58
Fix is in place on the issue9 branch. Looks OK in limited dev testing.
Original comment by dominic....@gmail.com
on 25 May 2013 at 6:37
Original comment by dominic....@gmail.com
on 25 Jul 2013 at 2:14
Original issue reported on code.google.com by
dominic....@gmail.com
on 25 May 2013 at 5:49