I am trying out Koa for a simple app. I have used koa-static as a middlewear to serve the /public directory.
Middlewear works fine.
To run the app, I push the application to a local docker container. When running the app I found out that it caches the static files completely. Even if i completely remove entire directories it still serves those js/html files. Even a server restart doesn't seem to clear cache. Is it because koa-static may be keeping a separate set of files for cache delivery? Later I tried adding koa-no-cache to middlewear. But still doesn't seem to work.
I am not sure whether this is koa-static issue or something to do with Docker.
I am trying out Koa for a simple app. I have used koa-static as a middlewear to serve the /public directory. Middlewear works fine.
To run the app, I push the application to a local docker container. When running the app I found out that it caches the static files completely. Even if i completely remove entire directories it still serves those js/html files. Even a server restart doesn't seem to clear cache. Is it because koa-static may be keeping a separate set of files for cache delivery? Later I tried adding koa-no-cache to middlewear. But still doesn't seem to work.
I am not sure whether this is koa-static issue or something to do with Docker.