Authored by 周少峰

so cache

... ... @@ -3,6 +3,7 @@
const SECOND = 1;
const MINUTE = 60 * SECOND;
const DAY = 86400 * SECOND;
const cachePage = {
... ... @@ -57,7 +58,8 @@ const cachePage = {
'/brands/': 5 * MINUTE,
'/brands/plusstar': 5 * MINUTE,
'/^\\/special\\/(\\d+)_(.*)\\.html$/': 5 * MINUTE
'/^\\/special\\/(\\d+)_(.*)\\.html$/': 5 * MINUTE,
'/\\/product\\/search\\/keyword(.*)/': 7 * DAY
};
... ...