static-cache icon indicating copy to clipboard operation
static-cache copied to clipboard

how to clear the cache?

Open iepngs opened this issue 9 years ago • 1 comments

[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 avatar Jul 13 '16 01:07 iepngs

@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.

croraf avatar Jul 13 '19 08:07 croraf