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] Latest Release

Published by github-actions[bot] 2 days ago

Minor Changes

  • b91f759: Add the new neshClassicCache function to the @neshca/cache-handler/functions module allowing to cache the result of expensive operations in the getServerSideProps and a Next.js Pages API routes.
next-shared-cache - @neshca/[email protected]

Published by github-actions[bot] 10 days ago

Patch Changes

  • 3cd218c: Fix neshCache JSDocs time interval description. It was incorrectly stated in milliseconds. Now it is stated in seconds.
next-shared-cache - @neshca/[email protected]

Published by github-actions[bot] about 1 month ago

Patch Changes

  • 972ed99: Add .npmignore file to exclude unnecessary files from the package.
next-shared-cache - @neshca/[email protected]

Published by github-actions[bot] about 1 month ago

Patch Changes

  • be27549: Add error handling for keyExpirationStrategy and prerenderManifest parsing.
next-shared-cache - @neshca/[email protected]

Published by github-actions[bot] about 1 month ago

Patch Changes

  • 432a918: Fix an error when working with the fetch-cache in the registerInitialCache.
next-shared-cache - @neshca/[email protected]

Published by github-actions[bot] about 2 months ago

Patch Changes

  • 435a4fe: Implement delete functionality.
next-shared-cache - @neshca/[email protected]

Published by github-actions[bot] about 2 months ago

Patch Changes

  • 435a4fe: Fix delete functionality for all built-in Handlers and enhance debug logging.
next-shared-cache - @neshca/[email protected]

Published by github-actions[bot] about 2 months ago

Minor Changes

  • 7b2abf9: Refactor search index creation in the redis-stack Handler

    Minor Changes

    @neshca/cache-handler/redis-stack
    • Move search index creation to revalidateTag method:
      • Ensure index existence before searching by creating it inside revalidateTag with a randomized name to avoid collisions
      • Allow synchronous Handler creation without waiting for the client to connect
next-shared-cache - @neshca/[email protected]

Published by github-actions[bot] 3 months ago

Patch Changes

  • 41cf0c8: Rewrite README
next-shared-cache - @neshca/[email protected]

Published by github-actions[bot] 3 months ago

Minor Changes

  • 6558891: Add experimental-redis-cluster Handler.

    New Features

    @neshca/cache-handler/experimental-redis-cluster
    • Add experimental-redis-cluster Handler and related documentation.

    Improvements

    @neshca/cache-handler/redis-stack and @neshca/cache-handler/redis-strings
    • Improve documentation and JSDoc comments.
next-shared-cache - @neshca/[email protected]

Published by github-actions[bot] 3 months ago

Patch Changes

  • 092d6f4: Add the ability to disable Redis operations timeout in the redis-string and redis-stack Handlers.

    New Functionality

    @neshca/cache-handler/redis-strings
    • Added a condition to check if the timeoutMs is zero to disable Redis operations timeout.
    @neshca/cache-handler/redis-stack
    • Added a condition to check if the timeoutMs is zero to disable Redis operations timeout.

    Thanks to @ElyDotDev for the contribution.

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

Published by github-actions[bot] 3 months ago

Patch Changes

  • 1685585: Update the revalidateTag method to use ft.searchNoContent function in the redis-stack Handler.

    Improvements

    @neshca/cache-handle/redis-stack
    • Updated the revalidateTag method to use ft.searchNoContent function. Thanks to @galtonova for the contribution.
next-shared-cache - @neshca/[email protected]

Published by github-actions[bot] 4 months ago

Minor Changes

  • cc3bfec: Add the new option revalidateTagQuerySize to the redis-stack and the redis-strings Handlers

    New Features

    @neshca/cache-handle/redis-strings
    • Added revalidateTagQuerySize option. It allows specifying the number of tags in a single query retrieved from Redis when scanning or searching for tags.
    • Increased the default query size for hScan from 25 to 100.
    @neshca/cache-handle/redis-stack
    • Added revalidateTagQuerySize option. It allows specifying the number of tags in a single query retrieved from Redis when scanning or searching for tags.
    • Increased the default query size for ft.search from 25 to 100.
next-shared-cache - @neshca/[email protected]

Published by github-actions[bot] 5 months ago

Patch Changes

  • e5774f5: Added support for batched revalidateTag calls.
next-shared-cache - @neshca/[email protected]

Published by github-actions[bot] 6 months ago

Patch Changes

  • 3200068: Updated types, JSDoc and the documentation.

    Documentation

    • added the documentation for the pre-built redis-stack, redis-strings and local-lru Handlers

    @neshca/cache-handle/local-lru

    • marked LruCacheHandlerOptions type as deprecated
    • added LruCacheOptions export.

    @neshca/cache-handle/redis-stack

    • marked timeoutMs option as optional

    @neshca/cache-handle/redis-strings

    • marked timeoutMs option as optional
next-shared-cache - @neshca/[email protected]

Published by github-actions[bot] 6 months ago

Minor Changes

  • 0d4766b: Added keyExpirationStrategy option for the redis-strings Handler.

    New Features

    @neshca/cache-handle/redis-strings
    • Added keyExpirationStrategy option. It allows you to choose the expiration strategy for cache keys.
next-shared-cache - @neshca/[email protected]

Published by github-actions[bot] 6 months ago

Patch Changes

  • 7adc1af: Fix bin paths in package.json files.
next-shared-cache - @neshca/[email protected]

Published by github-actions[bot] 6 months ago

Patch Changes

  • 7adc1af: Fix bin paths in package.json files.
next-shared-cache - [email protected]

Published by github-actions[bot] 6 months ago

Patch Changes

  • 7adc1af: Fix bin paths in package.json files.
next-shared-cache - @neshca/[email protected]

Published by github-actions[bot] 6 months ago

Patch Changes

  • 7adc1af: Fix bin paths in package.json files.