static-cache
static-cache copied to clipboard
how to clear the cache?
[Need help] As usually, files will be update, so if I want to clear the one or hole static cache , how do I do? Reload the server, or reset the max-age time?
@iepngs Do you mean the memory cache in static-cache (that is the preload).
I'm having also a strange situation, because by default the specified cached folder is preloaded into memory of static-cache. And if I add/modify something in the folder static-cache won't notice until server reload.
But the strange thing is that when I update the cached folder, the cache serves the new javascript bundle. And when this bundle requests the new images the static-cache doesn't serve them.