reduce frontpage delay on fish request

pull/195/head
Aevann 2023-08-17 04:54:13 +03:00
parent ffc55ebb81
commit e0921caf14
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ def front_all(v, sub=None):
result = render_template("home.html", v=v, listing=posts, total=total, sort=sort, t=t, page=page, sub=sub, home=True, pins=pins, size=size)
if not v:
cache.set(f'frontpage_{sort}_{t}_{page}_{sub}_{pins}', result, timeout=3600)
cache.set(f'frontpage_{sort}_{t}_{page}_{sub}_{pins}', result, timeout=900)
return result