Đăng Tú
Explore posts from serversCDCloudflare Developers
•Created by Đăng Tú on 8/27/2024 in #pages-help
Is it possible to build Hugo with Caching Files?
https://gohugo.io/getting-started/configuration/#configure-file-cachesLet's assume I have a million static page build by Hugo and I don't want to wait for 5 minutes every tiny update (doesn't make sense right?), can I do caching files for build in Cloudflare like I did in my local machine? Edit: I found this but it doesn't seem to support Hugo: https://developers.cloudflare.com/pages/configuration/build-caching/#frameworks
1 replies
`createEffect` doesn't working in `input.addEventListener('change')`
Here is source link: https://gitlab.com/ndt-challenge/dev.to/1st/-/blob/main/Glam%20Up%20My%20Markup/form.js?ref_type=heads
Here is demo link: https://ndt-challenge.gitlab.io/dev.to/1st/glam-up-my-markup/
The
createEffect
seems to work fine expect when I try to set signal inside the input change event. What should I do to debug this case?
Update to add more info:
In the demo link, you will see the bug very clear when you try to update the select input. The expect way is the reset button should be change from disabled to not disabled.17 replies
CDCloudflare Developers
•Created by Đăng Tú on 11/9/2023 in #general-help
What your reason to use Cloudflare Page V2 build system?
While V1 has much much more built tools, what is the point to use V2?
12 replies
does Deno vscode support nesting `deno.json`?
There is a project I'm working on has nesting
deno.json
files. The parent deno.json
is a bit outdated and the child is what I need to work with. However, Deno plugin of vscode doesn't recognize the closet deno.json
to the current file I work on. I tried to enable Deno Enable Paths but it didn't work as expect.
Is there anyway to solve this problem?6 replies