{"id":20042473,"url":"https://github.com/pods-framework/pods-alternative-cache","last_synced_at":"2025-05-05T08:32:33.311Z","repository":{"id":13643420,"uuid":"16336846","full_name":"pods-framework/pods-alternative-cache","owner":"pods-framework","description":"Alternative Caching engine for Pods, for cases where object caching is not available or hosting limits how much can be utilized","archived":false,"fork":false,"pushed_at":"2025-03-31T00:20:50.000Z","size":418,"stargazers_count":12,"open_issues_count":2,"forks_count":5,"subscribers_count":13,"default_branch":"main","last_synced_at":"2025-04-08T19:52:41.430Z","etag":null,"topics":["file-cache","memcached","pods","pods-addon","wordpress-plugin"],"latest_commit_sha":null,"homepage":"https://wordpress.org/plugins/pods-alternative-cache/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pods-framework.png","metadata":{"files":{"readme":"readme.txt","changelog":null,"contributing":null,"funding":null,"license":"license.txt","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":"2014-01-29T06:08:01.000Z","updated_at":"2025-03-31T00:20:29.000Z","dependencies_parsed_at":"2024-11-13T11:03:08.355Z","dependency_job_id":null,"html_url":"https://github.com/pods-framework/pods-alternative-cache","commit_stats":null,"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pods-framework%2Fpods-alternative-cache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pods-framework%2Fpods-alternative-cache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pods-framework%2Fpods-alternative-cache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pods-framework%2Fpods-alternative-cache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pods-framework","download_url":"https://codeload.github.com/pods-framework/pods-alternative-cache/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252466893,"owners_count":21752456,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["file-cache","memcached","pods","pods-addon","wordpress-plugin"],"created_at":"2024-11-13T10:51:48.947Z","updated_at":"2025-05-05T08:32:33.287Z","avatar_url":"https://github.com/pods-framework.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"=== Pods Alternative Cache ===\nContributors: sc0ttkclark\nDonate link: https://friends.pods.io/\nTags: pods, cache, wpengine\nRequires at least: 6.0\nTested up to: 6.8\nRequires PHP: 7.2\nStable tag: 2.2.1\nLicense: GPLv2 or later\nLicense URI: http://www.gnu.org/licenses/gpl-2.0.html\n\nPods Alternative Cache is a file-based or database-based caching solution for hosts that have limitations on object caching.\n\n== Description ==\n\nPods Alternative Cache provides optimal performance with Pods sites on hosts with no object caching or low limits. It was developed for and tested on the WPEngine platform to improve performance of cached objects generated from Pods, but it works on numerous other hosting providers.\n\nPods Alternative Cache is a great addition to a site already utilizing Object Caching, it further separates and allows Pods to utilize more consistent persistent caching without affecting other plugins and WordPress caching objects. Especially when utilizing larger configurations, this plugin improves performance by ensuring other necessary objects are not removed by the server to make room for Pods cached objects.\n\nThis plugin requires the [Pods Framework](http://wordpress.org/plugins/pods/) version 2.4 or later to run.\n\nFor more information on how to use this plugin, see [https://pods.io/2014/04/16/introducing-pods-alternative-cache/](https://pods.io/2014/04/16/introducing-pods-alternative-cache/).\n\nAlso check out the FAQ below for more details on customizing the configuration through your wp-config.php file.\n\n== Installation ==\n\n1. Unpack the entire contents of this plugin zip file into your `wp-content/plugins/` folder locally\n1. Upload to your site\n1. Navigate to `wp-admin/plugins.php` on your site (your WP Admin plugin page)\n1. Activate this plugin\n\nOR you can just install it with WordPress by going to Plugins \u003e\u003e Add New \u003e\u003e and type this plugin's name\n\n== Contributors ==\n\nCheck out our GitHub for a list of contributors, or search our GitHub issues to see everyone involved in adding features, fixing bugs, or reporting issues/testing.\n\n[github.com/pods-framework/pods-alternative-cache/graphs/contributors](https://github.com/pods-framework/pods-alternative-cache/graphs/contributors)\n\n== FAQ ==\n\n= Why an Alternative Cache? =\n\nHosts like WPEngine and GoDaddy have limits set on their object caching engine that are based on what they find optimal for their environment. Sometimes, plugins, themes, and even WordPress core can utilize object cache to the point where it gets too full. When that happens, certain caching engines like APC can remove objects from their cache and that can cause what appears to be random numbers of queries on each page load.\n\nWhat Pods Alternative Cache does is store all of the Pods objects that need caching, separate from the default object caching engine. Depending on the environment or site, this may still not be optimal. You'll want to test things out and keep an eye on your site's performance to see if it's the right fit for you.\n\n= What options are available? =\n\nIn your wp-config.php, or prior to the `plugins_loaded` action, you can define other constants to change how the plugin works.\n\nChange the storage type (be sure to deactivate/activate between storage type switches):\n\n`define( 'PODS_ALT_CACHE_TYPE', 'db' ); // Default is 'file', you can choose 'memcached' too`\n\nChange the path to the File cache folder:\n\n`define( 'PODS_ALT_FILE_CACHE_DIR', 'path/to/folder' ); // Default is 'wp-content/podscache'`\n\nSet Memcached Server host or IP address\n\n`define( 'PODS_ALT_CACHE_MEMCACHED_SERVER', '127.0.0.1' ); // Default is 'localhost'`\n\nSet Memcached Server PORT number\n\n`define( 'PODS_ALT_CACHE_MEMCACHED_PORT', 11211 ); // Default is 11211`\n\nDisable Pods Alternative Cache:\n\n`define( 'PODS_ALT_CACHE', false ); // Default is true`\n\nDisable object cache fallback, when File writes fail:\n\n`define( 'PODS_ALT_CACHE_FALLBACK', false ); // Default is true`\n\n== Changelog ==\n\n= 2.2.1 - March 30th, 2025 =\n\n* Fixed: Tested on WP 6.8 and PHP 7.2+. (@sc0ttkclark)\n\n= 2.2.0 - March 24th, 2024 =\n\n* New requirements that match Pods: WP 6.0+, PHP 7.2+, and Pods 3.0+ (@sc0ttkclark)\n\n= 2.1.8 - March 24th, 2024 =\n\n* Fixed: Resolved a PHP notices with the storage set method. (@sc0ttkclark)\n* Fixed: Resolved an issue which was causing the cache group not be utilized properly when setting the fallback value. (@sc0ttkclark)\n* Fixed: Tested on WP 6.5 and PHP 7.2+. (@sc0ttkclark)\n\n= 2.1.7 - March 13th, 2023 =\n\n* Fixed: Caught a bug hanging around for a few years that only happened in edge cases -- checking if file/directory still exists before trying to delete/remove it. (@sc0ttkclark)\n\n= 2.1.6 - March 6th, 2023 =\n\n* Fixed: Prevent issue that sometimes happens with persistent object cache fallback when clearing cache for a group. (@sc0ttkclark)\n\n= 2.1.5 - September 30th, 2022 =\n\n* Fixed: Resolved the PHP warning when setting up the .htaccess file. (@sc0ttkclark)\n\n= 2.1.4 - September 30th, 2022 =\n\n* Fixed: Work on resolving the PHP warning when setting up the .htaccess file. (@sc0ttkclark)\n\n= 2.1.3 - March 1st, 2022 =\n\n* Fixed: Ensure that the podscache file directory is excluded from search engine indexing and deny direct browser access on Apache environments.\n* Fixed: Help resolve potential PHP warnings on certain setups when looking to see if a folder exists and getting files from it.\n\n= 2.1.2 - September 4th, 2021 =\n\n* Fixed: Now compatible with PHP 8.0+\n\n= 2.1.1 - August 14th, 2021 =\n\n* Tested against WordPress 5.8 for compatibility\n\n= 2.1.0 - July 14th, 2020 =\n\n* Added: Now requiring PHP 5.6+\n* Added: Freemius support when running Pods 2.7.17+\n* Fixed: SiteGround and other sites that use the domain name in the path no longer cause directory/file writes to fail.\n\n= 2.0.7 - March 2nd, 2020 =\n\n* Fix DB-based storage value sets (props @Danone89)\n* Tested against WordPress 5.4 for compatibility\n\n= 2.0.6 - March 2nd, 2019 =\n\n* Fixed caching issues with fallback cache\n* Added more tests to improve stability\n\n= 2.0.5 - November 15th, 2018 =\n\n* Fix PHP notices when handling fallback values\n\n= 2.0.4 - October 26th, 2018 =\n\n* Added a new object cache fallback for File storage (default alt cache) so if any writes fail it will save them to the normal object cache; You can disable this by setting `define( 'PODS_ALT_CACHE_FALLBACK', false );`\n\n= 2.0.3 - October 23rd, 2018 =\n\n* Fixed cases where transients/object cache could be used by Pods before Pods Alt Cache fully loads\n* Updated WP compatibility version\n* PHPCS fixes\n\n= 2.0.2 - June 2nd, 2017 =\n\n* Revamped branding assets\n* Fixed php notice\n* Fixed usage of Memcached port to be an integer\n\n= 2.0.1 - July 13th, 2016 =\n\n* Fixed cache file/folder deleting bug that wouldn't let Pods clear / preload caches properly\n* Typo fix (props @szepeviktor)\n\n= 2.0 - June 23rd, 2016 =\n\n* Added support for a Memcache caching (props @shaer)\n* Added support for WP_Filesystem usage instead of using PHP directly\n* Added additional WPEngine compatibility\n* Refactored into a better OO pattern so the code is easier to use and extend\n* Added ability to create custom storage types through the `pods_alternative_cache_storage_types` filter, `return $storage_types;` where you've set `$storage_types[ 'your_type' ] = 'Your_Class';`\n* File storage now uses md5-based folder structure to avoid issues on sites with a large amount of cached objects to avoid having folders with too many files in them which could cause issues with certain hosts\n* Found a bug? Have a great feature idea? Get on GitHub and tell us about it and we'll get right on it: [github.com/pods-framework/pods-alternative-cache/issues/new](https://github.com/pods-framework/pods-alternative-cache/issues/new)\n\n= 1.0 - April 16th, 2014 =\n\n* First official release!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpods-framework%2Fpods-alternative-cache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpods-framework%2Fpods-alternative-cache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpods-framework%2Fpods-alternative-cache/lists"}