Forum pages should not cache so aggressively.
This commit is contained in:
parent
8fa4537523
commit
61e6db6835
|
@ -4,6 +4,7 @@ from model.Notebook import Notebook
|
||||||
from model.Note import Note
|
from model.Note import Note
|
||||||
from model.Tag import Tag
|
from model.Tag import Tag
|
||||||
from Expose import expose
|
from Expose import expose
|
||||||
|
from Expire import strongly_expire
|
||||||
from Validate import validate, Valid_string, Valid_int
|
from Validate import validate, Valid_string, Valid_int
|
||||||
from Database import Valid_id, end_transaction
|
from Database import Valid_id, end_transaction
|
||||||
from Users import grab_user_id
|
from Users import grab_user_id
|
||||||
|
@ -39,6 +40,7 @@ class Forums( object ):
|
||||||
self.__support = Forum( database, notebooks, users, u"support" )
|
self.__support = Forum( database, notebooks, users, u"support" )
|
||||||
|
|
||||||
@expose( view = Forums_page )
|
@expose( view = Forums_page )
|
||||||
|
@strongly_expire
|
||||||
@end_transaction
|
@end_transaction
|
||||||
@grab_user_id
|
@grab_user_id
|
||||||
@validate(
|
@validate(
|
||||||
|
@ -88,6 +90,7 @@ class Forum( object ):
|
||||||
self.__name = name
|
self.__name = name
|
||||||
|
|
||||||
@expose( view = Forum_page )
|
@expose( view = Forum_page )
|
||||||
|
@strongly_expire
|
||||||
@end_transaction
|
@end_transaction
|
||||||
@grab_user_id
|
@grab_user_id
|
||||||
@validate(
|
@validate(
|
||||||
|
@ -151,6 +154,7 @@ class Forum( object ):
|
||||||
return result
|
return result
|
||||||
|
|
||||||
@expose( view = Main_page )
|
@expose( view = Main_page )
|
||||||
|
@strongly_expire
|
||||||
@end_transaction
|
@end_transaction
|
||||||
@grab_user_id
|
@grab_user_id
|
||||||
@validate(
|
@validate(
|
||||||
|
|
Reference in New Issue