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