georgy / nexus-npm-repository-plugin

Sonatype Nexus OSS plugin for npm (https://www.npmjs.org) repository suport
25 stars 7 forks source link

'Expire Cache' does not seem to do anything for json content cache #1

Closed georgy closed 10 years ago

georgy commented 10 years ago

Expected: After 'Expire Cache' is called on proxy repo I expect next request to hit remote resource and recreate local cache file.

Observed: After 'Expire Cache' content is served as is from local cache

cstamas commented 10 years ago

PR https://github.com/georgy/nexus-npm-repository-plugin/pull/10 now introduces the proper behaviour. Expire caches will expire not only the localstorage cache content (tarballs), but also the metadata service database too.