Skip to content

Commit

Permalink
perf: re-enable page cache
Browse files Browse the repository at this point in the history
  • Loading branch information
ankush committed Jan 15, 2025
1 parent 1e289d0 commit 6cb9205
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wiki/wiki/doctype/wiki_page/wiki_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ def get_context(self, context):
wiki_space_name = frappe.get_value("Wiki Group Item", {"wiki_page": self.name}, "parent")
wiki_space = frappe.get_doc("Wiki Space", wiki_space_name) if wiki_space_name else frappe._dict()

context.no_cache = 1
context.no_cache = 0 # Changes will invalidate HTML cache
context.navbar_search = wiki_settings.add_search_bar
context.light_mode_logo = wiki_space.light_mode_logo or wiki_settings.logo
context.dark_mode_logo = wiki_space.dark_mode_logo or wiki_settings.dark_mode_logo
Expand Down

0 comments on commit 6cb9205

Please sign in to comment.