|
176 | 176 |
|
177 | 177 | # ########## Begin Utils #############
|
178 | 178 |
|
179 |
| -@lru_cache(maxsize=4096) |
| 179 | +@lru_cache(maxsize=8192) |
180 | 180 | def extract_real_url_from_embedded_url(embedded_url):
|
181 | 181 | """
|
182 | 182 |
|
@@ -1022,7 +1022,13 @@ def ewm_status():
|
1022 | 1022 | if request.remote_addr != '127.0.0.1':
|
1023 | 1023 | return generate_simple_resp_page(b'Only 127.0.0.1 are allowed', 403)
|
1024 | 1024 | output = ""
|
1025 |
| - output += strx('is_mime_represents_text', is_mime_represents_text.cache_info()) |
| 1025 | + output += strx('extract_real_url_from_embedded_url', extract_real_url_from_embedded_url.cache_info()) |
| 1026 | + output += strx('\nembed_real_url_to_embedded_url', embed_real_url_to_embedded_url.cache_info()) |
| 1027 | + output += strx('\ncheck_global_ua_pass', check_global_ua_pass.cache_info()) |
| 1028 | + output += strx('\nextract_mime_from_content_type', extract_mime_from_content_type.cache_info()) |
| 1029 | + output += strx('\nis_content_type_using_cdn', is_content_type_using_cdn.cache_info()) |
| 1030 | + output += strx('\nis_ua_in_whitelist', is_content_type_using_cdn.cache_info()) |
| 1031 | + output += strx('\nis_mime_represents_text', is_mime_represents_text.cache_info()) |
1026 | 1032 | output += strx('\ngenerate_304_response', generate_304_response.cache_info())
|
1027 | 1033 | output += strx('\nverify_ip_hash_cookie', verify_ip_hash_cookie.cache_info())
|
1028 | 1034 | output += strx('\nis_denied_because_of_spider', is_denied_because_of_spider.cache_info())
|
|
0 commit comments