Skip to content

Cannot cache component #305

Answered by adamghill
gitkwarteng asked this question in Q&A
Nov 29, 2021 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

@mailantwi Hello! Unicorn caches components so it can skip instantiating them on every request and only update the fields that change. There should be a field in the error message that can give a clue why the component cannot be cached. Most Python primitives, Django models, etc should be pickleable, but if you can give me more information from the error message I might be able to figure out what is going on.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@gitkwarteng
Comment options

@gitkwarteng
Comment options

Answer selected by gitkwarteng
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants