news: cache the whole /news/ page
This page is requested often by TT-RS, slackbot and others, cache it.
This commit is contained in:
parent
87c6325675
commit
b51329eeeb
@ -14,7 +14,7 @@
|
||||
)
|
||||
|
||||
urlpatterns = [
|
||||
path('', NewsListView.as_view(), name='news-list'),
|
||||
path('', cache_user_page(317)(NewsListView.as_view()), name='news-list'),
|
||||
|
||||
path('preview/', preview),
|
||||
# old news URLs, permanent redirect view so we don't break all links
|
||||
|
Loading…
Reference in New Issue
Block a user