{"id":17412989,"url":"https://github.com/kjohnson/nf-large-cache-fix","last_synced_at":"2026-05-12T23:06:53.758Z","repository":{"id":91206046,"uuid":"86512733","full_name":"kjohnson/nf-large-cache-fix","owner":"kjohnson","description":"Resolves the issue of large forms crashing on publish due to cache size.","archived":false,"fork":false,"pushed_at":"2017-06-22T14:20:24.000Z","size":14,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-14T07:56:27.377Z","etag":null,"topics":["ninja-forms","wordpress"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kjohnson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2017-03-28T22:23:35.000Z","updated_at":"2018-03-06T09:52:46.000Z","dependencies_parsed_at":"2023-03-13T17:49:24.215Z","dependency_job_id":null,"html_url":"https://github.com/kjohnson/nf-large-cache-fix","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/kjohnson/nf-large-cache-fix","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kjohnson%2Fnf-large-cache-fix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kjohnson%2Fnf-large-cache-fix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kjohnson%2Fnf-large-cache-fix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kjohnson%2Fnf-large-cache-fix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kjohnson","download_url":"https://codeload.github.com/kjohnson/nf-large-cache-fix/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kjohnson%2Fnf-large-cache-fix/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32960357,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-12T09:19:52.626Z","status":"ssl_error","status_checked_at":"2026-05-12T09:17:33.438Z","response_time":102,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["ninja-forms","wordpress"],"created_at":"2024-10-17T00:57:37.860Z","updated_at":"2026-05-12T23:06:53.742Z","avatar_url":"https://github.com/kjohnson.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ninja Forms - Large Cache Fix\n\nResolves the issue of large forms crashing on publish due to cache size.\n\n## Methodology\n\nThis fix uses the `pre_option_{$option}` and `pre_update_option_{$option}` filters as as a sort of man-in-the-middle solution. Option updates are intercepted on update and \"chunked\" into multiple options, storing a reference to the created chunks in an additional option. Inversely, option requests are intercepted and joined back together before they are retuned.\n\n## Example\nForm Length: 515,988 characters\nChunk Size: 65,535 (TEXT)\nNumber of Chunks: 8\nNumber of Options: 10 (chunks + 2)\n\n## MySQL String Type Reference\n| Type | Maximum length |\n| ----- | ----- |\n| TINYTEXT | 255 (2 8−1) bytes |\n| TEXT | 65,535 (216−1) bytes = 64 KiB |\n| MEDIUMTEXT | 16,777,215 (224−1) bytes = 16 MiB |\n| LONGTEXT | 4,294,967,295 (232−1) bytes =  4 GiB |","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkjohnson%2Fnf-large-cache-fix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkjohnson%2Fnf-large-cache-fix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkjohnson%2Fnf-large-cache-fix/lists"}