Merge pull request #11494 from netchampfaris/sitemap-clear-cache
fix: Clear sitemap cache along with website cache
This commit is contained in:
commit
364daf48e3
1 changed files with 1 additions and 1 deletions
|
|
@ -309,7 +309,7 @@ def clear_cache(path=None):
|
|||
|
||||
:param path: (optional) for the given path'''
|
||||
for key in ('website_generator_routes', 'website_pages',
|
||||
'website_full_index'):
|
||||
'website_full_index', 'sitemap_routes'):
|
||||
frappe.cache().delete_value(key)
|
||||
|
||||
frappe.cache().delete_value("website_404")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue