
Research
Using Trusted Protocols Against You: Gmail as a C2 Mechanism
Socket uncovers malicious packages on PyPI using Gmail's SMTP protocol for command and control (C2) to exfiltrate data and execute commands.
@neshca/cache-handler
Advanced tools
@neshca/cache-handler
Flexible API for replacing the default Next.js cache, enabling custom caching solutions for multi-instance self-hosted deployments.
🎉 Version 1.9.0 has been released! It changes the default estimateExpireAge
function to perform the calculation as (staleAge) => staleAge * 1.5
to better align with the default Next.js cache behavior.
This is the final release leading up to version 2.0.0. The upcoming version 2 will bring significant changes and will no longer support Next.js versions 13 and 14. While version 1 will still receive ongoing maintenance, it won't get any new features.
Check out the changelog for more details.
Welcome to @neshca/cache-handler
(pronounced /ˈnæʃkʌ/
), a specialized ISR/Data cache API crafted for Next.js applications. This library simplifies configuring shared cache strategies in distributed environments, such as multiple, independent application instances. It offers a flexible and easy-to-integrate solution for custom cache strategies, especially for Redis.
neshCache
Function: Utilize the neshCache
↗ function to replace unstable_cache
for more control over caching.neshClassicCache
Function: Use the CacheHandler in the Pages Router to cache the result of expensive operations in the getServerSideProps
and API routes.Enhance your application's caching with our Installation and First Steps Guide. This guide covers installation, basic configuration, and practical examples for quick integration.
Explore the versatility of @neshca/cache-handler
in our Examples Section with real-world scenarios. Learn how to build a custom Handler by following this guide.
For detailed documentation, visit our Documentation Page.
We welcome contributions! Check out our Contributing Guide for more information.
This project is licensed under the MIT License.
FAQs
Next.js self-hosting simplified.
The npm package @neshca/cache-handler receives a total of 54,666 weekly downloads. As such, @neshca/cache-handler popularity was classified as popular.
We found that @neshca/cache-handler demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Socket uncovers malicious packages on PyPI using Gmail's SMTP protocol for command and control (C2) to exfiltrate data and execute commands.
Product
We redesigned Socket's first logged-in page to display rich and insightful visualizations about your repositories protected against supply chain threats.
Product
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.