macchina-io / macchina.io

macchina.io EDGE is a powerful C++ and JavaScript SDK for edge devices, multi-service IoT gateways and connected embedded systems.
https://macchina.io
GNU General Public License v3.0
516 stars 154 forks source link

OSP Web Server: clear cache when bundle is removed #22

Closed obiltschnig closed 8 years ago

obiltschnig commented 9 years ago

Static resources in the in-memory OSP Web Server cache must be removed when the bundle providing them is removed. Currently they stay in the cache, which leads to old data being served when a bundle is upgraded.

obiltschnig commented 8 years ago

This also applies to the JSServletFilter and JSServerPageFilter in OSP/JS/Web.