model view controller - ServiceStack selfhosting disable caching for memory -


using selfhosting standard servicestack mvc application every request cached in memory. changing js file have no conscience until restart server. there way around problem developing purposes?

every request not cached in memory, when you're self-hosting it's running binary dlls , static files copied /bin folder.

you can change config.webhostphysicalpath change servicestack serve files solution folder instead, e.g:

setconfig(new hostconfig { #if debug     debugmode = true,     webhostphysicalpath = path.getfullpath(path.combine("~".mapserverpath(), "..", "..")), #endif }); 

Comments

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

oracle - Changing start date for system jobs related to automatic statistics collections in 11g -