deniz
CDCloudflare Developers
•Created by deniz on 11/22/2023 in #workers-help
Removing the hash added to build files
Hello, when I fetch the build with workers, a hash is added to the end of my build files. Is there a way to remove this? My file names are already randomly determined in each build, so there is no need to add a hash to the file name.
Example
1 replies
CDCloudflare Developers
•Created by deniz on 11/21/2023 in #workers-help
How can I prevent the deletion of old KV files when building with Workers?
Hello,
I am building my Vue application using Cloudflare Workers, and I am doing this using Wrangler. The files in the obtained build are stored as KV. The names of my files change according to the build, and when I get a new build, the existing KV values are deleted and replaced with new ones. Since the required files for each loaded page in my application are obtained from the server, users of the application encounter errors when old KVs are deleted.
I think, in order to solve this, the old build files should not be deleted from KV. How can I achieve this?
4 replies