⚡ Remove useless cache tags
This commit is contained in:
parent
a12ba060f5
commit
aa52aa73fe
@ -92,7 +92,6 @@ func CacheAttachment(item models.Attachment) {
|
|||||||
KgAttachmentCache(item.Rid),
|
KgAttachmentCache(item.Rid),
|
||||||
item,
|
item,
|
||||||
60*time.Minute,
|
60*time.Minute,
|
||||||
cachekit.FKey("attachment", item.Rid),
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -91,7 +91,6 @@ func CacheAttachmentFragment(item models.AttachmentFragment) {
|
|||||||
KgAttachmentFragmentCache(item.Rid),
|
KgAttachmentFragmentCache(item.Rid),
|
||||||
item,
|
item,
|
||||||
60*time.Minute,
|
60*time.Minute,
|
||||||
cachekit.FKey("attachment", item.Rid),
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -156,6 +156,5 @@ func CacheOpenAttachment(item *openAttachmentResult) {
|
|||||||
KgAttachmentCache(item.Attachment.Rid),
|
KgAttachmentCache(item.Attachment.Rid),
|
||||||
*item,
|
*item,
|
||||||
60*time.Minute,
|
60*time.Minute,
|
||||||
cachekit.FKey("attachment", item.Attachment.Rid),
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user