Ankush Menat
392a506a76
perf: Cache published web forms
2023-06-04 15:13:39 +05:30
Ankush Menat
c94c0591c3
perf: cache dynamic web pages
2023-06-04 15:13:39 +05:30
Ankush Menat
7c7c11b454
perf: Cache web view routes
...
Each call to evaluate if route is web view makes N queries where N = #
of web view doctypes. This entire computation can be definitely cached
for short duration.
- Added cache bursting in WebsiteGenerator doctype updates.
- Added 60 minutes TTL in case cache invalidation wasn't done reliably.
2023-06-04 15:13:39 +05:30
Suraj Shetty
c0c5b2ebdd
style: format all python files using black ( #16453 )
...
Co-authored-by: Frappe Bot <developers@frappe.io>
2022-04-12 10:59:25 +05:30
Suraj Shetty
e8d41c945c
refactor: Use build_response in WebPage class
2021-06-24 18:01:09 +05:30
Suraj Shetty
9e8aadf2f9
fix: Move context building to get_html
2021-06-24 15:19:48 +05:30
Suraj Shetty
0aabe737a3
fix: Cache document page as well
2021-06-24 10:24:20 +05:30
Suraj Shetty
0387b8f027
fix: WebForm render
2021-06-04 14:25:48 +05:30
Suraj Shetty
86897c1808
refactor: Remove render.py and move all utility functions to utils.py
...
- Replace or remove all render imports
2021-05-25 10:53:35 +05:30
Suraj Shetty
8317e00712
refactor: Rename page_controllers folder to page_renderers
2021-05-25 09:27:26 +05:30