Search
Setup for Free
CD
Cloudflare Developers
•
3y ago
Erisa
(ok ideally pages would allow custom cache folders, im just being cheeky)
(ok ideally pages would allow custom cache folders
, im just being cheeky
)
Cloudflare Developers
Join
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
83,498
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
I
itsmatteomanf
•
9/1/23, 1:38 PM
@Jacob
will be able to list the folders
J
Jacob
•
9/1/23, 3:11 PM
If Astro uses something like node
_modules
/
.cache then we could totally cache that
E
Erisa
(ok ideally pages would allow custom cache folders, im just being cheeky)
J
Jacob
•
9/1/23, 3:12 PM
One day
J
Jacob
If Astro uses something like node_modules/.cache then we could totally cache tha...
I
itsmatteomanf
•
9/1/23, 4:42 PM
It
’s actually
.astro
, but yes
I
itsmatteomanf
•
9/1/23, 4:42 PM
(In node
_modules
)
I
itsmatteomanf
•
9/1/23, 5:20 PM
I just filled the form again
, I want to try it on Astro with a lot of images
I
itsmatteomanf
•
9/4/23, 12:10 PM
@Vero
any chance to get the form looked at
?
I
itsmatteomanf
<@1052249953570918430> any chance to get the form looked at? 🙂
V
Vero
•
9/4/23, 12:11 PM
Today is a holiday in the US
, so expect delays
I
itsmatteomanf
•
9/4/23, 12:11 PM
Oh
.
.
. didn
't know that
I
itsmatteomanf
•
9/4/23, 12:11 PM
No prob
V
Vero
•
9/4/23, 12:11 PM
haha don
't worry
V
Vero
•
9/4/23, 12:13 PM
but let me ask someone internally if they can enable it
I
itsmatteomanf
•
9/4/23, 12:13 PM
Don
't worry too much
I
itsmatteomanf
Don't worry too much 🙂
V
Vero
•
9/4/23, 12:16 PM
enabled
V
Vero
enabled
I
itsmatteomanf
•
9/4/23, 12:16 PM
That was fast
, thanks
!
V
Vero
enabled
I
itsmatteomanf
•
9/4/23, 12:22 PM
I
'm not seeing that trying to fetch anything from cache
.
.
. is it just production or preview
, too
?
I
itsmatteomanf
I'm not seeing that trying to fetch anything from cache... is it just production...
V
Vero
•
9/4/23, 12:26 PM
it
's for prod and preview too
, he enabled both envs
V
Vero
it's for prod and preview too, he enabled both envs
I
itsmatteomanf
•
9/4/23, 12:27 PM
Let me retry
.
.
. but it
's not showing anything regarding cache
I
itsmatteomanf
•
9/4/23, 12:27 PM
I have retried a deployment
, maybe it requires a new commit
.
.
.
?
I
itsmatteomanf
•
9/4/23, 12:31 PM
Nope
, nothing
I
itsmatteomanf
•
9/4/23, 12:31 PM
Next attempt is new commit
.
.
.
V
Vero
•
9/4/23, 12:38 PM
Hmm weird
, I
've asked internally but no response yet
I
itsmatteomanf
Next attempt is new commit...
I
itsmatteomanf
•
9/4/23, 1:02 PM
Nope
, this didn
't seem to work either
. I hoped when it took 30
+ seconds initialize the environment
I
itsmatteomanf
Nope, this didn't seem to work either. I hoped when it took 30+ seconds initiali...
V
Vero
•
9/4/23, 1:15 PM
well
, let
's wait for John and Jacob to get back to work
V
Vero
•
9/4/23, 1:35 PM
@itsmatteomanf
Walshy just found the issue
, is it working now
?
V
Vero
<@487247657736339456> Walshy just found the issue, is it working now?
I
itsmatteomanf
•
9/4/23, 1:35 PM
Retrying
Walshy
, the savior
I
itsmatteomanf
•
9/4/23, 1:36 PM
Yes
, shows the attempt to restore from cache
!
V
Vero
•
9/4/23, 1:39 PM
yaay
I
itsmatteomanf
•
9/4/23, 1:49 PM
Questions for the team
, once they actually get back
, no rush
:
Are there size limits for the cache
?
I am not actually seeing the cache in
node_modules
node_modules
being used
, so is every folder saved
? Are
.[folder]
.[folder]
excluded
?
I
itsmatteomanf
Questions for the team, once they actually get back, no rush: - Are there size l...
I
Isaac McFadyen
•
9/4/23, 8:17 PM
AFAIK node
_modules isn
't cached
.
I
Isaac McFadyen
•
9/4/23, 8:17 PM
Only
~
/
.npm is cached
.
I
Isaac McFadyen
•
9/4/23, 8:17 PM
See James
' comments above
.
I
Isaac McFadyen
AFAIK node_modules isn't cached.
I
itsmatteomanf
•
9/4/23, 8:18 PM
I think it
’s
currently
the opposite
.
J
James
How is the cache key determined, and how could I use caching successfully with m...
I
Isaac McFadyen
•
9/4/23, 8:18 PM
@itsmatteomanf
J
Jacob
We're going to switch to caching npm/yarn global caches. Thanks!
I
Isaac McFadyen
•
9/4/23, 8:18 PM
Oh OK
, yeah Jacob mentioned they were going to do it here but didn
't say if that was current or not
.
I
itsmatteomanf
•
9/4/23, 8:19 PM
Yeah
, it
’s planned for this week afaik
, but we
’ll see tomorrow
I
Isaac McFadyen
Only ~/.npm is cached.
J
Jacob
•
9/5/23, 5:48 PM
Working on making this change this week
. Current beta still caches node
_modules
L
Luke
•
9/5/23, 6:20 PM
Hello
! I see only Next
.js and Gatsby are supported so far
. I have a few Vite projects and Nuxt projects I could test with once they
're supported
J
Jacob
Working on making this change this week. Current beta still caches node_modules
J
James
•
9/6/23, 11:02 AM
Are y
’all planning on landing this before adding more folks to the beta
? Excited to see this rolling out
!
S
simpson
•
9/6/23, 7:16 PM
how do we tell if caching is enabled on our account
?
S
simpson
how do we tell if caching is enabled on our account?
I
itsmatteomanf
•
9/6/23, 7:17 PM
There should be a message pretty soon after the build starts
, in the logs
, that is fetching the cache
, and one at the end that is saving it
(or skipping it for
some
reason
)
J
James
Are y’all planning on landing this before adding more folks to the beta? Excited...
J
Jacob
•
9/7/23, 3:37 PM
Adding more users shortly
- expecting dependency cache changes by EOW
!
Edit
: Probably more like early next week
. Possibly Astro support soon too
J
Jacob
•
9/8/23, 6:56 PM
Just pushed an update
- dependency caching now caches global npm
/yarn caches
. Thanks again for the feedback
@James
J
Jacob
•
9/8/23, 6:56 PM
Users who have submitted projects the last few days will be enabled in a bit
J
Jacob
Just pushed an update - dependency caching now caches global npm/yarn caches. Th...
J
James
•
9/8/23, 7:22 PM
Amazing
, thank you for the update and being so receptive to feedback
!
J
Jacob
Just pushed an update - dependency caching now caches global npm/yarn caches. Th...
J
JohnDotAwesome
•
9/8/23, 7:49 PM
Do note that with the change in cache strategy
, your previous caches will no longer match
J
Jacob
•
9/8/23, 9:27 PM
Astro support is now live
J
Jacob
Astro support is now live <a:party_blob:818919990635266079>
I
itsmatteomanf
•
9/8/23, 9:47 PM
And
.
.
. it works
?
J
Jacob
•
9/8/23, 9:56 PM
should now
!
I
itsmatteomanf
•
9/8/23, 9:56 PM
Let me retry
!
Next page
.[folder]
.[folder]
Similar Threads
Allow CNAME to Pages without Custom Domain
CD
Cloudflare Developers / general-help
12mo ago
Pages not respecting custom Cache-Control header
CD
Cloudflare Developers / pages-help
2y ago
Workers Cache vs Pages Cache
CD
Cloudflare Developers / workers-and-pages-help
6mo ago
Cache HTML pages
CD
Cloudflare Developers / general-help
2y ago