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:
@@ -19785,7 +19785,7 @@ function g_modifyUrl(url, params, opt) {
|
||||
// Polish
|
||||
url = url.replace('?&', '?');
|
||||
url = url.replace(/&&/g, '&');
|
||||
url = url.replace(/\/\?/g, '/');
|
||||
url = url.replace(/\/\?/g, '?');
|
||||
url = url.replace(/(&|\?)+$/, ''); // Remove trailing & and ? characters
|
||||
|
||||
return url + hash;
|
||||
|
||||
Reference in New Issue
Block a user