What folder should I use to cache in Kamal #5250
Unanswered
leonardo2204
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Thanks for reading this.
I'm self-hosting my application using Kamal, and one of it's features is the asset_path, which let's me keep some files for an extended time, so when I build a new version, the old files (.js, .html, .css etc) are still there, making the UX better for not having 404.
I'm doing like this right now:
But I'm still getting 404 when I deploy a new version, or I must purge the entire website cache, which is terrible for performance.
Is this the correct folder I should be adding to this path?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions