じ☆ve冰风 发表于 2026-7-27 07:44:00

Cache Manager

Cache Manager
2015.11.30
by Shaz

Introduction
This plugin allows you to clear your image cache when changing maps, in order to reduce memory usage, especially on mobile devices. The tradeoff is that images being removed from the cache may result in more loading delays as they have to be reloaded.

How to use
Add to your plugins folder (file name should be CacheManager.js).
Set plugin parameters based on whether you only want to clear the cache on mobile devices, or all platforms. I strongly recommend you do not clear the system image cache.

If you set Clear All to Y, you don't have to set any of the remaining parameters.
If you set Clear All to N, and you have plugins that use custom img/ folders, add those to the Custom Images parameter at the bottom if you wish to have those images cleared from cache on map change as well. The format should be:

img/folder1; img/folder2; img/folder3 name; img/folder4(include the img/ folder, and separate by semi-colon ; )

Plugin
Download from pastebin

Credit
- Shaz

Terms
- free for use in commercial games


本贴来自国际rpgmaker官方论坛作者:Shaz处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/cache-manager.51868/
页: [1]
查看完整版本: Cache Manager