2

Closed

Remove cached templates from memory on update

description

When a new version of a template is deployed to the webservice, it's not used until the website was restarted (or iisreset was executed). It would be nice if fleXdoc determines itself whether to drop cached templates from memory (FileSystemWatcher).
Closed Mar 2, 2010 at 8:00 PM by robertk
Cache can be disabled using an appsetting (see web.config). Can be VERY handy for testing purposes! :)Auto-remove from cache is therefore no longer required, hence this workitem can be closed.

comments

friskm wrote Nov 20, 2009 at 1:42 PM

You cannot delete once used template apparently for the same reason. Could one solution be not to cache the template at all (optionally)?

robertk wrote Nov 20, 2009 at 2:26 PM

You should be able to delete them, since they are cached in memory (for performance reasons). However, included or imported templates are not cached, but loaded just in time. In those cases, the filehandle is not properly released (no IDispose implemented). That's another issue that was registered. Sadly though, there are more issues than time... :(

wrote Mar 2, 2010 at 8:00 PM

wrote Feb 14, 2013 at 9:10 PM

wrote May 16, 2013 at 10:44 AM