{"id":22055365,"url":"https://github.com/sogladev/mod-increment-cache-version","last_synced_at":"2026-02-09T09:34:18.223Z","repository":{"id":261508018,"uuid":"884488160","full_name":"sogladev/mod-increment-cache-version","owner":"sogladev","description":"Automatically increments the cache version on server startup, ensuring clients always have up-to-date cache data","archived":false,"fork":false,"pushed_at":"2024-11-07T00:24:26.000Z","size":28,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-28T22:20:11.485Z","etag":null,"topics":["azerothcore-module"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sogladev.png","metadata":{"files":{"readme":".github/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":"2024-11-06T20:59:21.000Z","updated_at":"2024-12-28T01:03:36.000Z","dependencies_parsed_at":"2024-11-06T23:27:17.299Z","dependency_job_id":"57e76770-4d2f-4674-8d6c-c59baa2bd9b0","html_url":"https://github.com/sogladev/mod-increment-cache-version","commit_stats":null,"previous_names":["sogladev/mod-increment-cache-version"],"tags_count":0,"template":false,"template_full_name":"azerothcore/skeleton-module","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sogladev%2Fmod-increment-cache-version","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sogladev%2Fmod-increment-cache-version/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sogladev%2Fmod-increment-cache-version/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sogladev%2Fmod-increment-cache-version/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sogladev","download_url":"https://codeload.github.com/sogladev/mod-increment-cache-version/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245128130,"owners_count":20565206,"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":["azerothcore-module"],"created_at":"2024-11-30T16:06:44.066Z","updated_at":"2026-02-09T09:34:18.218Z","avatar_url":"https://github.com/sogladev.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AzerothCore Module Increment Cache Version\n\n- Latest build status with azerothcore:\n\n[![Build Status](\nhttps://github.com/sogladev/mod-increment-cache-version/actions/workflows/core-build.yml/badge.svg?branch=master)](https://github.com/sogladev/mod-increment-cache-version)\n\nThis module for [AzerothCore](http://www.azerothcore.org) automatically increments the cache version on server startup, ensuring clients always have up-to-date cache data.\n\n\u003e Something I noticed is not common knowledge is that the client has a version associated with its cache. If the server cache version does not match the client, the client will automatically clear its cache.\n\u003e\n\u003e You can have the server increment this version each server restart very trivially. For example: https://i.imgur.com/3KYY9fJ.png\n\u003e\n\u003e Doing this, you no longer need to worry about manually clearing the cache or players having out of date caches.\n\u003e -- \u003ccite\u003estoneharry, WoW Modding Community https://discordapp.com/channels/407664041016688662/1301592845978833028/1301592845978833028\u003c/cite\u003e\n\n### ⚠️ Warning\n\nTo use this module, ensure that the `ClientCacheVersion` setting in `worldserver.config` is set to its default value, `0`. Otherwise, the cache id from DB will be overwritten by this config.\n\n- Configuration location: [`worldserver.conf.dist` on GitHub](https://github.com/azerothcore/azerothcore-wotlk/blob/88db984e52b2c0daf533c6a1ef769a3d50d7347c/src/server/apps/worldserver/worldserver.conf.dist#L965)\n\n## How to install\nhttps://www.azerothcore.org/wiki/installing-a-module\n\n1. Requires source recompilation\n2. Modify the config to easily disable in the future.\n  Found in `/etc/modules`, copy `.conf.dist` to `.conf`\n\n## How to disable\nDisable `IncrementCacheVersion.Enable` in `.conf`\n\nor\n\nSet `ClientCacheVersion` setting in `worldserver.config`\n\n## How to remove\n\n1. Remove `mod-increment-cache-version` folder\n2. Restore cache version ```UPDATE `version` SET `cache_id`=XX;```\n\n## How to create your own module\n\n1. Use the script `create_module.sh` located in [`modules/`](https://github.com/azerothcore/azerothcore-wotlk/tree/master/modules) to start quickly with all the files you need and your git repo configured correctly (heavily recommended).\n1. You can then use these scripts to start your project: https://github.com/azerothcore/azerothcore-boilerplates\n1. Do not hesitate to compare with some of our newer/bigger/famous modules.\n1. Edit the `README.md` and other files (`include.sh` etc...) to fit your module. Note: the README is automatically created from `README_example.md` when you use the script `create_module.sh`.\n1. Publish your module to our [catalogue](https://github.com/azerothcore/modules-catalogue).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsogladev%2Fmod-increment-cache-version","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsogladev%2Fmod-increment-cache-version","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsogladev%2Fmod-increment-cache-version/lists"}