{"id":16252281,"url":"https://github.com/remarkablemark/nextjs-ssr-lru-cache-example","last_synced_at":"2026-02-08T11:03:52.604Z","repository":{"id":66056476,"uuid":"517203791","full_name":"remarkablemark/nextjs-ssr-lru-cache-example","owner":"remarkablemark","description":"Next.js SSR LRU cache example","archived":false,"fork":false,"pushed_at":"2025-01-04T02:27:40.000Z","size":293,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-11T05:14:06.316Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/remarkablemark.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":["remarkablemark"],"patreon":"remarkablemark","open_collective":null,"ko_fi":"remarkablemark","tidelift":null,"community_bridge":null,"liberapay":"remarkablemark","issuehunt":null,"otechie":null,"buy_me_a_coffee":"remarkablemark","thanks_dev":"u/gh/remarkablemark","custom":["https://b.remarkabl.org/teespring"]}},"created_at":"2022-07-24T01:55:03.000Z","updated_at":"2024-12-18T22:13:25.000Z","dependencies_parsed_at":"2024-05-10T03:39:20.810Z","dependency_job_id":"6832b069-8750-4a1a-a1e2-d669f2b70aab","html_url":"https://github.com/remarkablemark/nextjs-ssr-lru-cache-example","commit_stats":{"total_commits":16,"total_committers":3,"mean_commits":5.333333333333333,"dds":0.5625,"last_synced_commit":"39620429766af66e33a3837d0645e35f6681384f"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/remarkablemark/nextjs-ssr-lru-cache-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remarkablemark%2Fnextjs-ssr-lru-cache-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remarkablemark%2Fnextjs-ssr-lru-cache-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remarkablemark%2Fnextjs-ssr-lru-cache-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remarkablemark%2Fnextjs-ssr-lru-cache-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/remarkablemark","download_url":"https://codeload.github.com/remarkablemark/nextjs-ssr-lru-cache-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remarkablemark%2Fnextjs-ssr-lru-cache-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29228557,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-08T09:43:19.170Z","status":"ssl_error","status_checked_at":"2026-02-08T09:42:55.556Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-10T15:13:02.766Z","updated_at":"2026-02-08T11:03:52.573Z","avatar_url":"https://github.com/remarkablemark.png","language":"JavaScript","funding_links":["https://github.com/sponsors/remarkablemark","https://patreon.com/remarkablemark","https://ko-fi.com/remarkablemark","https://liberapay.com/remarkablemark","https://buymeacoffee.com/remarkablemark","https://thanks.dev/u/gh/remarkablemark","https://b.remarkabl.org/teespring"],"categories":[],"sub_categories":[],"readme":"# Next.js SSR LRU Cache Example\n\nNext.js server-side rendering (SSR) least-recently-used (LRU) cache example inspired by the [Gist](https://gist.github.com/leanazulyoro/23c6581fb4379ec311e3bc8538715687).\n\n## Prerequisites\n\n- [Node.js](https://nodejs.org/)\n\n## Demo\n\n- [Replit](https://replit.com/@remarkablemark/Nextjs-SSR-Cache-using-LRU-Cache)\n\n## Install\n\nClone the repository:\n\n```sh\ngit clone https://github.com/remarkablemark/nextjs-ssr-lru-cache-example.git\ncd nextjs-ssr-lru-cache-example\n```\n\nInstall the dependencies:\n\n```sh\nnpm install\n```\n\n## Run\n\nStart the Express server on port 3000:\n\n```sh\nnpm run server\n```\n\nWhen the page is requested for the first time, the HTML will be rendered and cached based on the LRU policy. When the page is requested again, the cached HTML will be returned in the response.\n\n## Resources\n\n- [Make your NextJS site 10-100x faster with Express caching](https://www.peterbe.com/plog/nextjs-faster-with-express-caching)\n- [SSR Request Cache for React / NEXT.JS with Cacheable-Response](https://www.christopherkaiser.de/ssr-request-cache-for-react-next/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fremarkablemark%2Fnextjs-ssr-lru-cache-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fremarkablemark%2Fnextjs-ssr-lru-cache-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fremarkablemark%2Fnextjs-ssr-lru-cache-example/lists"}