Skip to main content

Timing and scope of API cache clearing

Timing of API cache clearance

In the content list API, if the contents are updated during the cache's expiration period, the cached content becomes outdated. Therefore, in Kuroco, cache clearance is performed at various timings when cache information needs to be updated.

For example, when updating content through the Kuroco admin panel, the cache for the endpoints related to that content is cleared. However, if we were to clear the cache for content structures that have no relation to the updated content, it would decrease the cache hit rate. Therefore, Kuroco only clears the cache for endpoints related to the updated content within the same content structure.

Operations and scope of cache clearance

Operations from the admin panel for cache clearance

Operations for cache clearance from the admin panel and the scope of cache clearance are as follows:

OperationDetailsUnit of cleared cache
Content modificationCreate a new contentOn a content structure ID basis.
The cache of endpoints associated with the same content structure and the model category "Content" will be deleted.
Update a contentOn a content structure ID basis.
The cache of endpoints associated with the same content structure and the model category "Content" will be deleted.
Delete a contentOn a content structure ID basis.
The cache of endpoints associated with the same content structure and the model category "Content" will be deleted.
Request a content approvalOn a content structure ID basis.
The cache of endpoints associated with the same content structure and the model category "Content" will be deleted.
Approve a contentOn a content structure ID basis.
The cache of endpoints associated with the same content structure and the model category "Content" will be deleted.
Update sorting orderOn a content structure ID basis.
The cache of endpoints associated with the same content structure and the model category "Content" will be deleted.
Upload contentUpload CSV fileOn a content structure ID basis.
The cache of endpoints associated with the same content structure and the model category "Content" will be deleted.
Edit content categoryCreate a new content categoryOn a content structure ID basis.
The cache of endpoints associated with the same content structure and the model category "Content" will be deleted.
Update a content categoryOn a content structure ID basis.
The cache of endpoints associated with the same content structure and the model category "Content" will be deleted.
Delete a content categoryOn a content structure ID basis.
The cache of endpoints associated with the same content structure and the model category "Content" will be deleted.
Wordpress integration (External system integration)ImportOn a content structure ID basis.
The cache of endpoints associated with the same content structure and the model category "Content" will be deleted.
Form modificationCreate a new form  On a form ID basis.  
The cache of endpoints associated with the same Form ID in the "Form" model category will be deleted.  
Delete a formOn a form ID basis.  
The cache of endpoints associated with the same Form ID in the "Form" model category will be deleted.  
Update form basic settings and field settingsOn a form ID basis.  
The cache of endpoints associated with the same Form ID in the "Form" model category will be deleted.  
Form submissionsUpload CSV fileOn a form ID basis.  
The cache of endpoints associated with the same Form ID in the "Form" model category will be deleted.  
Member modificationAdd a memberOn a model category basis.  
The cache of endpoints associated with the "Member" and "Authentication" model categories will be deleted.  
Update a memberOn a model category basis.  
The cache of endpoints associated with the "Member" and "Authentication" model categories will be deleted.  
Master modificationUpdate a masterOn a master ID basis.  
The cache of endpoints associated with the same master ID will be deleted.
Delete a masterOn a master ID basis.  
The cache of endpoints associated with the same master ID will be deleted.
File manager modificationSome operation on files or foldersOn a folder basis.  
Caches related to the same folder will be deleted.
Tag modificationDelete a tagOn a model category basis.  
The cache of endpoints associated with the "Tag" model category will be deleted.
Update sorting orderOn a model category basis.  
The cache of endpoints associated with the "Tag" model category will be deleted.
Create a new tagOn a model category basis.  
The cache of endpoints associated with the "Tag" model category will be deleted.
Update a tagOn a model category basis.  
The cache of endpoints associated with the "Tag" model category will be deleted.

Operations from the API for cache clearance

API cache can be cleared not only through operations in the admin panel but also when a request is made to an update-related API. Operations via API and the scope of cleared cache are as follows:

ModelOperationUnit of cleared cache
TopicsinsertOn a content structure ID basis.  
Thel cache of endpoints associated with the same content structure in the "Content" model category will be deleted.
updateOn a content structure ID basis.  
Thel cache of endpoints associated with the same content structure in the "Content" model category will be deleted.
deleteOn a content structure ID basis.  
Thel cache of endpoints associated with the same content structure in the "Content" model category will be deleted.
acceptOn a content structure ID basis.  
Thel cache of endpoints associated with the same content structure in the "Content" model category will be deleted.
bulk_upsertOn a content structure ID basis.  
Thel cache of endpoints associated with the same content structure in the "Content" model category will be deleted.
incrementOn a content structure ID basis.  
Thel cache of endpoints associated with the same content structure in the "Content" model category will be deleted.
InquiryForminsertOn a form ID basis.  
The cache of endpoints associated with the same Form ID in the "Form" model category will be deleted.  
deleteOn a form ID basis.  
The cache of endpoints associated with the same Form ID in the "Form" model category will be deleted.  
updateOn a form ID basis.  
The cache of endpoints associated with the same Form ID in the "Form" model category will be deleted.  
CommentinsertThe cache of endpoints associated with the "Activity" model category will be deleted.
Additionally, if the activity is linked to a content, caches of endpoints associated with the content structure will also be deleted.
If the activity is linked to a model other than content, caches of endpoints associated with that model will be deleted.
updateThe cache of endpoints associated with the "Activity" model category will be deleted.
Additionally, if the activity is linked to a content, caches of endpoints associated with the content structure will also be deleted.
If the activity is linked to a model other than content, caches of endpoints associated with that model will be deleted.
deleteThe cache of endpoints associated with the "Activity" model category will be deleted.
Additionally, if the activity is linked to a content, caches of endpoints associated with the content structure will also be deleted.
If the activity is linked to a model other than content, caches of endpoints associated with that model will be deleted.
MemberinsertOn a model category basis.  
The cache of endpoints associated with the "Member" and "Authentication" model categories will be deleted.
updateOn a model category basis.  
The cache of endpoints associated with the "Member" and "Authentication" model categories will be deleted.
MasterupdateOn a master ID basis.  
The cache of endpoints associated with the same master ID will be deleted.
deleteOn a master ID basis.  
The cache of endpoints associated with the same master ID will be deleted.
FavoriteinsertOn a model category basis.  
The cache of endpoints associated with the target model category for favorites will be deleted.
Additionally, the cache for the Topics::list endpoint, which specifies the content structure of the content that had favorites added or removed, will also be cleared.
deleteOn a model category basis.  
The cache of endpoints associated with the target model category for favorites will be deleted.
Additionally, the cache for the Topics::list endpoint, which specifies the content structure of the content that had favorites added or removed, will also be cleared.
TagdeleteOn a model category basis.  
The cache of endpoints associated with the model category "Tag" will be deleted.
insertOn a model category basis.  
The cache of endpoints associated with the model category "Tag" will be deleted.
ApprovalflowreviewFollows the cache deletion logic for each content's approval/rejection.

Manual cache clearance

Automatic cache clearance does not occur except for the mentioned operations. To clear the cache immediately, click the [Clear cache] button on the endpoint list page and manually clear the cache.

More information


Support

If you have any other questions, please contact us or check out Our Slack Community.