next-shared-cache

Next.js self-hosting simplified

MIT License

Downloads
264K
Stars
301
Committers
9

Bot releases are visible (Hide)

next-shared-cache - @neshca/[email protected]

Published by github-actions[bot] 7 months ago

Patch Changes

  • 45c8e8b: Fixed unlink calls for Redis Handlers and updated dependencies.
next-shared-cache - @neshca/[email protected]

Published by github-actions[bot] 7 months ago

Patch Changes

  • e92658a: Fix the redis-stack Handler revalidateTag method.

    Changes

    • Add pagination to tags search
    • Replace del operation with unlink
next-shared-cache - @neshca/[email protected]

Published by github-actions[bot] 8 months ago

Patch Changes

  • c8cc0af: Add tests for unstable_cache
next-shared-cache - @neshca/[email protected]

Published by github-actions[bot] 8 months ago

Patch Changes

  • 00b6aaf: Add information about Next.js Routers support in readmes and documentation.
next-shared-cache - @neshca/[email protected]

Published by github-actions[bot] 8 months ago

Patch Changes

  • 3dd5b93: Fix body mutation of the ROUTE kind values.
next-shared-cache - @neshca/[email protected]

Published by github-actions[bot] 8 months ago

Patch Changes

  • 30a20d9: Fix Redis client type in Redis Handlers
next-shared-cache - @neshca/[email protected]

Published by github-actions[bot] 8 months ago

Patch Changes

  • ea5e158: Change hash set to Redis querying for the redis-stack Handler's revalidateTag method
next-shared-cache - @neshca/[email protected]

Published by github-actions[bot] 8 months ago

Patch Changes

  • 6aeca1f: Fix Redis Handlers revalidateTag method
next-shared-cache - @neshca/[email protected]

Published by github-actions[bot] 8 months ago

Major Changes

  • dbf9286: Release 1.0.0

    Breaking Changes

    • change the API to match with the new CacheHandler API
next-shared-cache - @neshca/[email protected]

Published by github-actions[bot] 8 months ago

Patch Changes

  • dbf9286: Fixed type in readme
next-shared-cache - @neshca/[email protected]

Published by github-actions[bot] 8 months ago

Major Changes

  • dbf9286: Release 1.0.0

    Breaking Changes

    @neshca/cache-handler
    • rename IncrementalCache class to CacheHandler
    • rename Cache type to Handler
    • add delete method to Handler
    • remove useFileSystem option
    • add global ttl option
    • remove support for on-demand revalidation by path for App Router pages
    • remove file system handling except for pages with fallback: false in getStaticPaths
    • refactor e2e tests for App Router pages
    • add new tests for Pages router pages
    • encapsulate Buffer to base64 conversion to the ROUTE kind values
    • make filesystem-related methods static
    • refactor constructor to prevent multiple CacheHandler.#configureCacheHandler calls
    • update and improve docs
    Pre-configured handlers
    • remove revalidatedTagsKey option
    • add sharedTagsKey option
    • remove useTtl option
    • remove @neshca/json-replacer-reviver from deps
next-shared-cache - [email protected]

Published by github-actions[bot] 8 months ago

Patch Changes

  • dbf9286: Fixed punctuation in readme
next-shared-cache - [email protected]

Published by github-actions[bot] 9 months ago

Patch Changes

  • bb61a52: Applied new code style.
next-shared-cache - @neshca/[email protected]

Published by github-actions[bot] 9 months ago

Patch Changes

  • 8570f6e: Refactor debug flag initialization in cache-handler.ts
next-shared-cache - @neshca/[email protected]

Published by github-actions[bot] 9 months ago

Patch Changes

  • f3b30a5: Refactor redis-stack Handler to use Promise.allSettled for set callback.
next-shared-cache - @neshca/[email protected]

Published by github-actions[bot] 9 months ago

Patch Changes

  • ddf957f: Added support for ES Modules.
next-shared-cache - @neshca/[email protected]

Published by github-actions[bot] 9 months ago

Patch Changes

  • 3f02029: Added the resetRequestCache method to match with original CacheHandler class.
next-shared-cache - @neshca/[email protected]

Published by github-actions[bot] 9 months ago

Patch Changes

  • c62c986: Refactored Redis Handlers timeout handling

    Changes

    • Refactored Redis Handlers to use AbortSignal instead of promisifying setTimeout.
    • Set default Redis Handlers timeoutMs option to 5000 ms.
next-shared-cache - @neshca/[email protected]

Published by github-actions[bot] 9 months ago

Patch Changes

  • 9dcb393: Refactored lru-cache Handler to overcome ttl via setTimeout limitations. Added timeoutMs option to server Handler.
next-shared-cache - @neshca/[email protected]

Published by github-actions[bot] 9 months ago

Patch Changes

  • 277865a: Added support for stale-while-revalidate strategy in useTtl option.