mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Cache:
- implemented Memcached (untested though (tough luck trying to get it to run using win)) - added config value to select caching method (default: filecache; setting debug to 1 will still disable caching) - implemented url-param 'refresh' to clear cache for this page
This commit is contained in:
@@ -26,11 +26,14 @@ define('TYPE_SKILL', 15);
|
||||
define('TYPE_CURRENCY', 17);
|
||||
define('TYPE_USER', 100); // internal use only
|
||||
|
||||
define('CACHETYPE_NONE', 0); // page will not be cached
|
||||
define('CACHETYPE_PAGE', 1);
|
||||
define('CACHETYPE_TOOLTIP', 2);
|
||||
define('CACHETYPE_SEARCH', 3);
|
||||
define('CACHETYPE_XML', 4); // only used by items
|
||||
define('CACHE_TYPE_NONE', 0); // page will not be cached
|
||||
define('CACHE_TYPE_PAGE', 1);
|
||||
define('CACHE_TYPE_TOOLTIP', 2);
|
||||
define('CACHE_TYPE_SEARCH', 3);
|
||||
define('CACHE_TYPE_XML', 4); // only used by items
|
||||
|
||||
define('CACHE_MODE_FILECACHE', 0x1);
|
||||
define('CACHE_MODE_MEMCACHED', 0x2);
|
||||
|
||||
define('SEARCH_TYPE_REGULAR', 0x10000000);
|
||||
define('SEARCH_TYPE_OPEN', 0x20000000);
|
||||
|
||||
Reference in New Issue
Block a user