manejo cache ruta blog

This commit is contained in:
David Itehua Xalamihua 2025-06-01 10:49:20 -06:00
parent 3b98a16b3e
commit 745c945c3a

View File

@ -191,6 +191,7 @@ def methodology():
return render_template(v['methodology'], active_page='methodology')
@app.route('/blog')
@cache.cached(timeout=3600) # 1 hora
def blog():
return render_template( v['blog']['all_posts'], active_page='blog' )