mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-01 04:28:27 +00:00
do not delete web cache in refresh cache
This commit is contained in:
@@ -239,6 +239,7 @@ def refresh_cache(build=None):
|
||||
for result in webnotes.conn.sql(query_map[dt], as_dict=1):
|
||||
create_cache(result['page_name'], dt, result['name'])
|
||||
clear_cache(result['page_name'], dt, result['name'])
|
||||
if build and dt in build: load_into_cache(result['page_name'])
|
||||
|
||||
for page_name in get_predefined_pages():
|
||||
create_cache(page_name, None, None)
|
||||
|
||||
Reference in New Issue
Block a user