tmcltr
tmcltr
CDCloudflare Developers
Created by tmcltr on 5/23/2024 in #pages-discussions
Hugo build caching
Looks like @Kristian worked on that post, so maybe he knows if that's still the case?
26 replies
CDCloudflare Developers
Created by tmcltr on 5/23/2024 in #pages-discussions
Hugo build caching
I was hoping there'd be at least some appetite to make this happen, since y'all appear to be using Hugo and Pages for the your own developer docs: https://blog.cloudflare.com/new-dev-docs/
26 replies
CDCloudflare Developers
Created by tmcltr on 5/23/2024 in #pages-discussions
Hugo build caching
Ah ok, understood! Thanks for looking into it anyway.
26 replies
CDCloudflare Developers
Created by tmcltr on 5/23/2024 in #pages-discussions
Hugo build caching
Does anyone have a status update on this? @Dario @jmooring
26 replies
CDCloudflare Developers
Created by jamuse on 6/10/2024 in #pages-help
Tips to lower deploy time
7 replies
CDCloudflare Developers
Created by jamuse on 6/10/2024 in #pages-help
Tips to lower deploy time
Build caching will help a lot with that
7 replies
CDCloudflare Developers
Created by jamuse on 6/10/2024 in #pages-help
Tips to lower deploy time
In my experience, image processing makes hugo builds very slow.
7 replies
CDCloudflare Developers
Created by jamuse on 6/10/2024 in #pages-help
Tips to lower deploy time
for example I'm using timeout: 6000000, and my builds take around 12 minutes
7 replies
CDCloudflare Developers
Created by jamuse on 6/10/2024 in #pages-help
Tips to lower deploy time
I was able to extend the timeout by adding a timeout value to my Hugo config
7 replies
CDCloudflare Developers
Created by jamuse on 6/10/2024 in #pages-help
Tips to lower deploy time
Pages' build caching does not yet support hugo, but they're working on it.
7 replies
CDCloudflare Developers
Created by tmcltr on 5/23/2024 in #pages-help
Sending email with Resend from a Pages instance
Hmm maybe the problem is that I don't typically set up a localhost environment for these. I deploy to a preview/stage branch and use that for development/testing. So installing node modules locally didn't seem necessary. But now that I think about it, maybe that's the part I'm missing!
5 replies
CDCloudflare Developers
Created by tmcltr on 5/25/2024 in #functions
Usually Hugo, but I have successfully
But I don't know that that's the right question. I feel like I might be missing something more fundamental about the difference between Functions and Workers
4 replies
CDCloudflare Developers
Created by tmcltr on 5/25/2024 in #functions
Usually Hugo, but I have successfully
Maybe what I'm asking is how do you install node modules in Functions?
4 replies
CDCloudflare Developers
Created by tmcltr on 5/25/2024 in #functions
Usually Hugo, but I have successfully
My idiot-level impression is that the functions I've been successful with are the ones that aren't dependent on third-party modules like node. And that my Stripe stuff works because there's some sort of Stripe support built-in to Functions in a way that's lacking for Respond or various node projects that you can manually install with Workers apps.
4 replies
CDCloudflare Developers
Created by tmcltr on 5/23/2024 in #pages-discussions
Hugo build caching
Dario, @jmooring is on the Hugo team and would be an excellent resource if you have any questions! Thanks again, both of you!
26 replies
CDCloudflare Developers
Created by tmcltr on 5/23/2024 in #pages-discussions
Hugo build caching
Thank you very much for looking into this!
26 replies
CDCloudflare Developers
Created by tmcltr on 5/23/2024 in #pages-discussions
Hugo build caching
the cacheDir is configurable. I think that's all you'd need to support: https://gohugo.io/getting-started/configuration/#configure-cachedir
26 replies
CDCloudflare Developers
Created by tmcltr on 5/23/2024 in #pages-discussions
Hugo build caching
Oh fantastic! I am not a maintainer but I can reach out to one to let them know you're interested in working on this.
26 replies