1
00:00:00,220 --> 00:00:02,680
-Hey, I'm Michael Dyrynda.
-And I'm Jake Bennett.

2
00:00:02,680 --> 00:00:07,940
-And I'm JMac.
-And welcome to episode 194 of the North

3
00:00:07,940 --> 00:00:12,979
Meet South Web Podcast. [upbeat music] Ah,
this is what happens when we don't plan.

4
00:00:12,980 --> 00:00:19,320
Yep, 194 is the episode number. We've got
our good friend, Mr. Jason McCreary, JMac,

5
00:00:19,320 --> 00:00:21,200
with us on the air. JMac, tell the people
hi.

6
00:00:21,200 --> 00:00:23,599
-Hello.
-Welcome. Nice to have you here.

7
00:00:23,600 --> 00:00:27,840
Yay, there we go. Yeah, so we've been
trying to get Jason, Jason on the show for

8
00:00:27,840 --> 00:00:33,230
a couple weeks. Um, we talk about Jason,
I feel like, on a pretty regular basis.

9
00:00:33,230 --> 00:00:35,120
-I-
-Michael, would you agree? I feel like

10
00:00:35,120 --> 00:00:37,710
JMac's name is said at least every other
podcast.

11
00:00:37,710 --> 00:00:38,290
-Yeah. Well-
-So...

12
00:00:38,290 --> 00:00:42,320
Every other podcast, every other, like,
we, between this podcast and the, and the

13
00:00:42,320 --> 00:00:44,260
Laravel News one, he gets a, he gets

14
00:00:44,940 --> 00:00:45,990
a lot of airtime, I think.

15
00:00:47,860 --> 00:00:52,020
I appreciate it. Well, I'm, I'm glad to
actually be on air. Sorry, I'm old now.

16
00:00:52,020 --> 00:00:54,010
-[laughs]
-I, I can't stay up much past 10:00

17
00:00:54,010 --> 00:00:55,660
-anymore.
-I know. You messaged me last week, and

18
00:00:55,660 --> 00:00:56,840
-you're like, "So can we-
-No worries

19
00:00:56,840 --> 00:01:00,440
... can we record?" I said, "We've been
trying to organize this for about six

20
00:01:00,440 --> 00:01:03,920
weeks now, and you've always been the one
to bail." But you've had good reason for

21
00:01:03,920 --> 00:01:04,790
-it, between, you know-
-Yeah

22
00:01:04,790 --> 00:01:06,350
-... young kids that don't sleep-
-You know, I-

23
00:01:06,350 --> 00:01:07,610
-... and sickness and-
-I apologize

24
00:01:07,610 --> 00:01:10,179
-Yeah, sickness
-... that's all right.

25
00:01:10,180 --> 00:01:13,520
Yeah, I think I was, I think the first
night the lines got crossed, and then I

26
00:01:13,520 --> 00:01:17,100
think the second time, yeah, it was just,
like, we were getting some of the daycare

27
00:01:17,100 --> 00:01:18,180
-crud.
-Mm-hmm.

28
00:01:18,180 --> 00:01:18,360
Yeah.

29
00:01:19,340 --> 00:01:21,980
That's how it is, you know. You get the
kids, and then everybody bring, they bring

30
00:01:21,980 --> 00:01:26,360
home all their fun sicknesses, and we get
to enjoy the, uh, benefits of stronger

31
00:01:26,360 --> 00:01:28,250
-immune systems, I suppose. I don't know.
-The climb.

32
00:01:28,250 --> 00:01:28,810
-That's the-
-That's the climb

33
00:01:28,810 --> 00:01:32,210
... that's the only way to spin that one
that I can f- yep, exactly.

34
00:01:32,210 --> 00:01:33,560
-Yeah.
-Silver lining, if you will.

35
00:01:33,560 --> 00:01:37,400
-Excellent.
-Uh, well, the astute observer will notice

36
00:01:37,400 --> 00:01:41,780
that I am actually not in my typical
location. Uh, as Andy Hinkle would say,

37
00:01:41,780 --> 00:01:46,340
the f- the, uh, infamous, uh, what is it?
What do they call that? Like, the white

38
00:01:46,340 --> 00:01:46,610
-slat-
-Shiplap?

39
00:01:46,610 --> 00:01:49,180
... walls. What's that called? I'm losing
my mind.

40
00:01:49,840 --> 00:01:53,100
Shiplap. He's like, "The infamous shiplap
wall." He came to my house-

41
00:01:53,100 --> 00:01:54,320
-[laughs]
-... you know, not too long ago, and was

42
00:01:54,320 --> 00:01:58,060
like, "Oh, the shiplap wall." I'm not in
front of the shiplap wall today. I am on

43
00:01:58,060 --> 00:02:04,960
the road. I am traveling in Wisconsin. Um,
Jason says I am becoming a tall Eric

44
00:02:04,960 --> 00:02:05,730
-Barnes-
-[laughs]

45
00:02:05,730 --> 00:02:06,930
-... because I'm on the road-
-Super tall

46
00:02:06,930 --> 00:02:10,800
... for a golf trip for the, for the
company. Yeah, so, um, anyway, that's

47
00:02:10,800 --> 00:02:14,680
where I'm at, and so I brought my
equipment. I, I'm the rare, you know, I

48
00:02:14,680 --> 00:02:16,040
-hardly ever remember my equipment-
-Mm

49
00:02:16,040 --> 00:02:18,660
... when I'm at home, and I somehow
remembered to bring it on the road with

50
00:02:18,660 --> 00:02:21,480
me. So Michael, just before we pressed the
record button, you said you were gonna

51
00:02:21,480 --> 00:02:23,980
-ask me something. What was the question?
-I was gonna ask you something, 'cause you

52
00:02:23,980 --> 00:02:27,440
said you're here, you're not working.
Like, is this time off work, or is this

53
00:02:27,440 --> 00:02:27,840
work time?

54
00:02:28,740 --> 00:02:30,530
-This is work time. So this is like-
-Right

55
00:02:30,530 --> 00:02:34,700
... we are here for visiting a client. So
I'm sort of doing some work in the

56
00:02:34,700 --> 00:02:37,760
evenings and things like that, but during
the day, like tomorrow, we have, like, a

57
00:02:37,760 --> 00:02:39,010
-tee time at 9:45.
-Okay.

58
00:02:39,010 --> 00:02:42,740
We'll be golfing for half the day. We've
got a little, like, um, event tomorrow

59
00:02:42,740 --> 00:02:45,480
night for the, for the golf outing that
we're here for. So yeah.

60
00:02:45,480 --> 00:02:47,900
-Mm-hmm.
-It's time, I'm on the clock, but I'm

61
00:02:47,900 --> 00:02:49,660
getting to have fun while I'm on the
clock, so it's great.

62
00:02:49,660 --> 00:02:52,380
Okay. Well, that's all, that's all good
then. I, I just,

63
00:02:53,260 --> 00:02:55,930
'cause you were, you know, you had
Memorial Day weekend last week, so you

64
00:02:55,930 --> 00:02:57,660
were away for that, and then a few weeks
before that-

65
00:02:57,660 --> 00:02:58,940
-That's right
-... you were away somewhere else. Like, I

66
00:02:58,940 --> 00:03:03,580
feel like you take a lot of vacation time,
and I'm just trying to figure out-

67
00:03:03,580 --> 00:03:05,260
-Oh, no
-... how much vacation time you have, and

68
00:03:05,260 --> 00:03:09,440
how much of this is just loosey-goosey
Jake's been at the same company for 15

69
00:03:09,440 --> 00:03:11,260
-years, so he just-
-[laughs]

70
00:03:11,260 --> 00:03:14,960
-... ticks off whenever he feels like.
-Oh. Well, okay, so let me put, let me put

71
00:03:14,960 --> 00:03:17,980
this in perspective though, right? So I
was up until 2:00 AM doing a deployment

72
00:03:17,980 --> 00:03:19,360
-last night, because it's-
-Mm

73
00:03:19,360 --> 00:03:23,140
... you know. So, I, I mean, it all sort
of evens out, doesn't it? I mean, like,

74
00:03:23,140 --> 00:03:23,380
-the-
-Yeah

75
00:03:23,380 --> 00:03:27,100
... the application that I was working on
couldn't be down during regular hours, so

76
00:03:27,100 --> 00:03:28,320
you're up late doing stuff. So it's like,

77
00:03:29,200 --> 00:03:33,300
I, I get what you're saying. Um, it was
Memorial Day, so that was not PTO. That

78
00:03:33,300 --> 00:03:37,500
was just a normal sort of, like, you know,
we have the day off sort of thing. But

79
00:03:37,500 --> 00:03:40,700
the summers are a bit different. I feel
like I don't take much time off at all

80
00:03:40,700 --> 00:03:41,760
-during the regular year.
-Mm-hmm.

81
00:03:41,760 --> 00:03:46,900
But the summertime, like, is when I get
all my vacation in. So JMac-

82
00:03:46,900 --> 00:03:48,460
-Yeah
-... doesn't necessarily have this problem,

83
00:03:48,460 --> 00:03:54,420
because JMac is a business owner, and is,
uh, what I would rank as unemployable.

84
00:03:54,420 --> 00:03:57,640
He's not unemployable. I think you told me
that one time, Jason. You were like,

85
00:03:57,640 --> 00:03:59,860
"Yeah, I could never go back to a normal
job again."

86
00:04:00,940 --> 00:04:05,520
I think, I think to Dyrynda's point, I
couldn't go to a job that I was like, "Can

87
00:04:05,520 --> 00:04:08,420
-I take next Friday off, please?"
-[laughs]

88
00:04:08,420 --> 00:04:09,920
I just don't think I could do that.

89
00:04:10,540 --> 00:04:10,880
Um.

90
00:04:11,560 --> 00:04:15,060
You know, the, the lucky thing for you is
that you would get, like, a, a millennial

91
00:04:15,060 --> 00:04:18,200
as a boss these days. So someone that is
younger than you would be-

92
00:04:18,200 --> 00:04:19,700
-Yeah
-... your boss, and most of them don't

93
00:04:19,700 --> 00:04:20,390
-care.
-Which I don't know if I could take that

94
00:04:20,390 --> 00:04:21,959
-either, in fairness.
-They're like, "Sure, take whatever time

95
00:04:21,959 --> 00:04:23,620
-you need." No.
-Yeah.

96
00:04:23,620 --> 00:04:24,330
-No. Well, I-
-Yeah

97
00:04:24,330 --> 00:04:25,930
... my current head of engineering,

98
00:04:26,560 --> 00:04:27,260
when he was,

99
00:04:27,880 --> 00:04:31,360
he was working somewhere else, and I'd
worked with him years ago, and we were

100
00:04:31,360 --> 00:04:35,060
both engineers on the same team. And so we
went our separate ways and did our own

101
00:04:35,060 --> 00:04:38,280
things for a few years, and he said, "Have
you got any jobs where you are at the, at

102
00:04:38,280 --> 00:04:39,340
the moment?" And I was like, "Well,

103
00:04:39,940 --> 00:04:42,680
I don't think we're looking specifically
at the moment, but I'll put you in contact

104
00:04:42,680 --> 00:04:45,440
with, with the right people, and you can
have a chat, and if something comes to

105
00:04:45,440 --> 00:04:47,320
that, you know, something can come of
that." And

106
00:04:48,100 --> 00:04:53,260
he, um, he's a, he's a few years younger
than me, and he came to my daughter's

107
00:04:53,260 --> 00:04:55,900
second birthday, and we were just talking,
you know, how did it go. He's like, "Oh,

108
00:04:55,900 --> 00:04:59,040
I've had some conversations, but they're
not really sure," you know. And then the

109
00:04:59,040 --> 00:04:59,860
following Monday,

110
00:05:01,080 --> 00:05:02,800
the people that he had conversations with,
they're like,

111
00:05:03,510 --> 00:05:06,840
"So Sam's starting, and, uh, he's gonna
come on board as head of engineering." I

112
00:05:06,840 --> 00:05:10,500
was like, "Whoa, whoa, whoa, pump the
brakes. Did I just get my mate a job as my

113
00:05:10,500 --> 00:05:15,200
-own boss? What is happening?"
-[laughs] So is that what happened? You got

114
00:05:15,200 --> 00:05:17,210
-him a job as your boss?
-Yeah, yeah. So yeah, he's-

115
00:05:17,210 --> 00:05:18,340
-Okay. Wow
-... yeah, so he's, he's head of

116
00:05:18,340 --> 00:05:23,740
engineering. He's been at, at the company
with me for probably three-ish years now.

117
00:05:23,740 --> 00:05:25,120
-Oh, wow.
-Maybe coming up four.

118
00:05:25,120 --> 00:05:25,840
-And you, and you-
-Yeah

119
00:05:25,840 --> 00:05:27,760
... and you told him, "You're gonna sign
my referral check, buddy."

120
00:05:28,410 --> 00:05:29,420
-[laughs]
-Yeah, right. [laughs]

121
00:05:29,420 --> 00:05:30,120
For your position.

122
00:05:30,720 --> 00:05:32,830
-There are, there are two points, though-
-Yeah, we-

123
00:05:32,830 --> 00:05:33,640
... on, on that. The,

124
00:05:34,300 --> 00:05:34,870
to, to

125
00:05:35,600 --> 00:05:38,740
the point of more vacation time in the
summer-

126
00:05:39,380 --> 00:05:41,260
-Mm-hmm
-... uh, I actually, I do see that in

127
00:05:41,260 --> 00:05:47,660
Shift. It is funny. May and December are
my, my lowest usage months by far.

128
00:05:48,410 --> 00:05:49,840
-Mm.
-Uh, and I think-

129
00:05:49,840 --> 00:05:52,920
-Mm
-... as probably being 60% US market,

130
00:05:52,920 --> 00:05:54,264
like-You know,

131
00:05:54,884 --> 00:05:58,363
as Jake's saying, everyone's off in May.
You're off school. You're taking your

132
00:05:58,364 --> 00:05:58,694
-first-
-Yeah. Mm-hmm, mm-hmm

133
00:05:58,694 --> 00:06:01,464
... of your summer vacations. You know,
Christmas, same thing. You're two weeks

134
00:06:01,464 --> 00:06:02,654
-off probably-
-That's right

135
00:06:02,654 --> 00:06:04,764
... around Christmas time in the US
typically,

136
00:06:05,384 --> 00:06:09,804
uh, your kids or something. So I, I
definitely see seasonality, low

137
00:06:09,804 --> 00:06:13,704
seasonality for Shift. So I'm kind of on
the, while I can take a vacation, I

138
00:06:13,704 --> 00:06:14,684
suppose, whenever I want,

139
00:06:15,344 --> 00:06:20,183
uh, you know, the business is affected
actually by other people taking vacation,

140
00:06:20,184 --> 00:06:20,364
-right?
-Yeah.

141
00:06:20,364 --> 00:06:21,474
-They're not in the office-
-Mm-hmm

142
00:06:21,474 --> 00:06:22,244
-... running shifts-
-That's a good point

143
00:06:22,244 --> 00:06:23,144
... upgrading their apps.

144
00:06:24,884 --> 00:06:27,024
Yeah, which sort of... I'm gonna loop back
to this because

145
00:06:28,064 --> 00:06:31,124
I, I tend to assume that people know who
you are because you've been in the

146
00:06:31,124 --> 00:06:34,844
community for such a long time. Uh, take
this opportunity to say thank you for all

147
00:06:34,844 --> 00:06:39,044
you've done for the Laravel community, but
for those people who have not yet met you

148
00:06:39,044 --> 00:06:41,704
or have not been to a Laracon where
they've, they've been able to hear you

149
00:06:41,704 --> 00:06:46,004
speak or whatever, can you just tell us
kind of what you do, uh, you know, what

150
00:06:46,004 --> 00:06:48,384
you've created, a couple different things
that, that, you know, maybe something

151
00:06:48,384 --> 00:06:51,664
we're gonna talk about today as well. But
just give us your intro. Who are you? What

152
00:06:51,664 --> 00:06:51,964
do you do?

153
00:06:52,784 --> 00:06:57,384
Yeah. So Jason McCreary is the full name.
Uh, I've gone by JMac for a long time, so

154
00:06:57,384 --> 00:07:00,824
I think most people in the Laravel
community know me as JMac. That nickname

155
00:07:00,824 --> 00:07:04,544
predates Laravel community actually,
'cause I, I just... No matter where I

156
00:07:04,544 --> 00:07:07,464
worked, there were, there was always
another Jason. I think at one job, there

157
00:07:07,464 --> 00:07:11,724
was four other Jasons on our, like,
20-person team. So it was just... We al-

158
00:07:11,724 --> 00:07:12,314
-always had-
-Wow

159
00:07:12,314 --> 00:07:12,824
... a nickname.

160
00:07:13,604 --> 00:07:16,064
JMac's the one that stuck, Jason McCreary.
So,

161
00:07:17,004 --> 00:07:21,064
uh, again, in Laravel, I think most people
probably know me as the creator of Shift,

162
00:07:21,064 --> 00:07:24,224
uh, for a little stint there, and they
might have known me as, like, a test

163
00:07:24,224 --> 00:07:26,684
evangelist. That was probably my most
recent, like-

164
00:07:26,684 --> 00:07:28,164
-Mm-hmm
-... Laravel Talks.

165
00:07:29,404 --> 00:07:32,924
Um, occasionally I make a course. You
know, I think over the years people have

166
00:07:32,924 --> 00:07:36,764
picked those up the longer they've been in
the community. Uh, I typically make a

167
00:07:36,764 --> 00:07:41,584
course where I feel like there's a gap of
knowledge, and honestly, it's-

168
00:07:41,584 --> 00:07:42,584
-Mm-hmm. Yeah
-... sometimes it's in my own,

169
00:07:43,304 --> 00:07:46,124
like, my own knowledge gap, so the, the
most recent one-

170
00:07:46,124 --> 00:07:46,884
-Mm
-... Fast Laravel.

171
00:07:47,904 --> 00:07:51,664
You know, I was familiar with page caching
back... You know, I've, I've been doing

172
00:07:51,664 --> 00:07:53,824
web development for almost 30 years now,
so, like,

173
00:07:54,504 --> 00:08:00,144
I remember page caching back in, like,
2007, right? To, like, these big-

174
00:08:00,144 --> 00:08:01,704
-Mm-hmm. Mm-hmm
-... when I worked at, like, Fortune 100

175
00:08:01,704 --> 00:08:03,244
com- 100 companies. They, like,

176
00:08:04,143 --> 00:08:08,204
needed to cache and, like, to, to up their
page ranks in Google. Like, your last bit

177
00:08:08,204 --> 00:08:10,914
of eking things out was, like, a fast
page, right?

178
00:08:12,054 --> 00:08:16,044
And I just felt like with serverless and
all these other things, it kind of became,

179
00:08:16,044 --> 00:08:19,534
like, a little bit of this lost art. But
yet, like, Cloudflare's on the scene-

180
00:08:19,534 --> 00:08:21,184
-Mm-hmm
-... and it has all these, like, free

181
00:08:21,184 --> 00:08:25,724
services, and it's, it's big one being
edge caching is kind of its initial claim

182
00:08:25,724 --> 00:08:29,824
to fame. It's, it's obviously has so many
services now. Uh, but I think the big part

183
00:08:29,824 --> 00:08:31,844
of it initially was, like, you know,

184
00:08:32,604 --> 00:08:36,864
the edge, uh, you know, caching, the DNS,
the pro- the proxying that happens.

185
00:08:37,724 --> 00:08:38,504
-So about a year ago, yeah-
-Yeah

186
00:08:38,504 --> 00:08:41,744
... I just dug deep into that. So that's
kind of the most recent course. But

187
00:08:41,744 --> 00:08:45,824
there's been other ones, you know, like
old school knowledge, Git knowledge,

188
00:08:45,824 --> 00:08:47,044
testing. Um,

189
00:08:47,664 --> 00:08:52,584
I kind of make them for me. They're not,
like, huge Adam Wathan, like, splash style

190
00:08:52,584 --> 00:08:53,724
courses.

191
00:08:54,384 --> 00:08:54,844
-[laughs] Um-
-Yeah

192
00:08:54,844 --> 00:08:57,544
... but, you know, they're still fun to
make. It's kind of just me turning the

193
00:08:57,544 --> 00:09:00,743
camera on and, and revealing what I've
discovered, so...

194
00:09:01,964 --> 00:09:02,824
-I love that.
-Which is the next one's cache.

195
00:09:02,824 --> 00:09:03,724
I think the first one...

196
00:09:04,544 --> 00:09:08,204
Yeah, absolutely it is. I, it's like you
have the perspective of the beginner at

197
00:09:08,204 --> 00:09:10,993
that point. It's all still fresh, and so,
you know, it's the, uh-

198
00:09:10,993 --> 00:09:13,184
-Mm-hmm
-... opportune moment to sort of share that

199
00:09:13,184 --> 00:09:15,204
-information.
-Yeah. I think the beginner to

200
00:09:15,204 --> 00:09:18,104
intermediate's, like, kind of an
underserved market maybe is... You know,

201
00:09:18,104 --> 00:09:21,504
if you're super beginner, like Laracasts
or just you're gonna YouTube stuff,

202
00:09:21,504 --> 00:09:25,384
whatever, it's gonna work. But that, that
kind of, like, early intermediate and

203
00:09:25,384 --> 00:09:29,024
mid-intermediate, I think is just, like, a
big, a big underserved market.

204
00:09:31,004 --> 00:09:35,124
Yeah, and I think the very first thing
that I remember seeing you for was getting

205
00:09:35,124 --> 00:09:37,743
-Git. I think that was early, early on.
-Yeah.

206
00:09:37,744 --> 00:09:39,074
-Um-
-That was my first course ever

207
00:09:39,074 --> 00:09:42,284
... and so that was a, that was a great...
Yep, that was a great course. I remember

208
00:09:42,284 --> 00:09:46,824
watching that and learning a lot from
that. Um, and you've had base code. You've

209
00:09:46,824 --> 00:09:50,264
had a lot of, a lot of different items
along the way. Of course, you've had a lot

210
00:09:50,264 --> 00:09:54,294
of blog posts that have been influential
and helpful to me personally. So, um, yep,

211
00:09:54,294 --> 00:09:57,884
Laravel Shift. I actually... Before we
jump into Fast Laravel, I would love to

212
00:09:57,884 --> 00:09:59,244
just talk about

213
00:09:59,304 --> 00:10:05,564
what sort of differences you've noticed as
AI and agentic coding and things like

214
00:10:05,564 --> 00:10:09,704
that have come on the scene, and even
with, you know, the latest, uh, upgrade to

215
00:10:09,704 --> 00:10:11,804
-Laravel 13, which I've gotta say-
-Yeah

216
00:10:11,804 --> 00:10:16,344
... we are doing a slew of those right
now. Um, just what's changed on your side?

217
00:10:16,344 --> 00:10:18,884
Tailwind, you know, has obviously had to,
like, pivot. They've had a bunch of

218
00:10:18,884 --> 00:10:23,344
changes, so open source stuff has been
affected greatly. Um, even Jeffrey Way

219
00:10:23,344 --> 00:10:25,944
with Laracasts has been putting out a
bunch of things, just like, "Hey, here's

220
00:10:25,944 --> 00:10:29,444
how AI ef- is affecting our business."
How, how have you felt that impact as a

221
00:10:29,444 --> 00:10:30,024
business owner?

222
00:10:31,784 --> 00:10:32,164
Yeah.

223
00:10:32,764 --> 00:10:34,224
I think with Laravel 13,

224
00:10:35,484 --> 00:10:40,784
for me, it probably clearly signaled the
beginning of the end for Shift, at least

225
00:10:40,784 --> 00:10:45,504
as far as future, the future of the
business goes, probably much-

226
00:10:45,504 --> 00:10:47,464
-Mm
-... like Tailwind talked about earlier in

227
00:10:47,464 --> 00:10:48,084
the year. Like,

228
00:10:49,304 --> 00:10:53,204
and Shift's a little bit different in the
sense that, like, there's no real strong

229
00:10:53,204 --> 00:10:57,984
pivot. Like, I think Tailwind can find
some other pivots, you know, into, like,

230
00:10:57,984 --> 00:11:02,724
this UI.sh. I've noticed they're kind of
looking into, like... They're integrating

231
00:11:02,724 --> 00:11:08,424
more of their design skills, like, into AI
to offer kind of, like, this paid service

232
00:11:08,424 --> 00:11:12,124
in a way. I think they're exploring that
anyway. But the point is, is like-

233
00:11:12,124 --> 00:11:12,724
Mm

234
00:11:13,444 --> 00:11:16,634
... I don't know how much Shift has that
avenue,

235
00:11:17,344 --> 00:11:20,884
uh, 'cause it's... Shift's kind of got a
double whammy, 'cause, like, for about

236
00:11:20,944 --> 00:11:26,664
three releases now, Laravel has really
marked everything, like, completely

237
00:11:26,664 --> 00:11:29,864
optional. You know, they've, they've kind
of touted it as, like, no breaking

238
00:11:29,864 --> 00:11:32,804
changes, and I think there's truth to that
statement.

239
00:11:33,544 --> 00:11:37,604
Um, but it's a l- it's a little... From my
perspective, it's a little bit dangerous.

240
00:11:37,604 --> 00:11:39,924
Um, the prime example is, is, like,

241
00:11:40,624 --> 00:11:43,444
let's say you just run Composer Upgrade,
and, and this has been the problem, the

242
00:11:43,444 --> 00:11:46,484
challenge with Shift since the very
beginning. A lot of people go in, they

243
00:11:46,484 --> 00:11:48,224
just run Composer Update. It works,

244
00:11:49,104 --> 00:11:50,164
-and they just keep-
-Mm-hmm

245
00:11:50,164 --> 00:11:54,104
... going on, right? And you can do that,
maybe you do that year after year, version

246
00:11:54,104 --> 00:11:55,384
-after version.
-Mm.

247
00:11:55,384 --> 00:11:58,923
I think there were pivotal points in
Laravel's history where the wheels fell

248
00:11:58,924 --> 00:12:02,376
off of that really, really hard.After like
two versions.

249
00:12:02,376 --> 00:12:05,316
-Mm-hmm.
-You know, way back in like 5.6, 5.7, 6.0,

250
00:12:05,316 --> 00:12:06,215
big, big changes.

251
00:12:07,016 --> 00:12:07,596
But they're not...

252
00:12:08,436 --> 00:12:13,636
That's not really so apparent anymore
until you go to the docs, and this, this

253
00:12:13,636 --> 00:12:17,086
is kind of the last piece of evidence
[laughs] other than people just saying,

254
00:12:17,086 --> 00:12:20,535
"Well, JMac, you're just trying to sell
me, you know, a Shift. You're trying to

255
00:12:20,536 --> 00:12:21,356
sell me an upgrade."

256
00:12:22,456 --> 00:12:23,896
-Mm.
-That's not really true. I mean, I, I

257
00:12:23,896 --> 00:12:28,055
genuinely just want you to be running the
latest version, and we can kind of come

258
00:12:28,056 --> 00:12:29,126
back to why.

259
00:12:30,256 --> 00:12:31,836
But to stick with the point, like,

260
00:12:32,676 --> 00:12:35,616
let's say you wanted to add a new piece of
middleware and you're coming from Laravel

261
00:12:35,616 --> 00:12:37,556
10, and you've only ever done composer
update.

262
00:12:37,556 --> 00:12:39,196
-Mm-hmm.
-Because if you go look at the upgrade

263
00:12:39,196 --> 00:12:42,276
guide, it kind of says, "Oh, all this
other stuff's optional, just run composer

264
00:12:42,276 --> 00:12:42,596
update."

265
00:12:44,016 --> 00:12:46,356
Well, you're gonna have your old kernel
file. Y-

266
00:12:46,996 --> 00:12:48,236
-if you go to the docs-
-Mm

267
00:12:48,236 --> 00:12:52,076
... to register a piece of middleware or
to disable CSRF, and you've never

268
00:12:53,016 --> 00:12:56,396
done any of those, quote unquote,
"optional changes," like now you're

269
00:12:56,396 --> 00:12:58,756
digging around the docs trying to figure
out what to do. You're in, you're in no

270
00:12:58,756 --> 00:13:00,306
-man's land. You, you're running-
-Mm-hmm

271
00:13:00,306 --> 00:13:04,696
... Laravel 13, but you really have a
Laravel, you know, 10, 11, or 12 app. It's

272
00:13:04,696 --> 00:13:05,955
just not the same.

273
00:13:06,556 --> 00:13:10,996
And I think if you work on an app every
day, that creates a lot of drag.

274
00:13:11,896 --> 00:13:12,296
Um,

275
00:13:12,936 --> 00:13:15,336
so I think that's kind of one side of it,
is that

276
00:13:16,396 --> 00:13:21,176
there hasn't been the strong need, quote
unquote, "for Shift" in recent versions,

277
00:13:21,176 --> 00:13:21,716
because

278
00:13:22,676 --> 00:13:25,336
the upgrade guide just says, "Oh, it'd
take you five minutes. All you gotta do is

279
00:13:25,336 --> 00:13:27,396
bump these three dependencies." And it's
like-

280
00:13:27,396 --> 00:13:28,216
-Yeah
-... true,

281
00:13:29,096 --> 00:13:31,866
but it's not the full story. Um, and it's
kind of-

282
00:13:31,866 --> 00:13:33,496
-Yeah
-... hard for developers to see that, that

283
00:13:33,496 --> 00:13:36,336
maybe have already been kind of doing that
over the years anyway.

284
00:13:37,736 --> 00:13:43,156
Shift has like a 93%, like, user retention
rate. Like, if you use Shift, you get its

285
00:13:43,156 --> 00:13:45,156
-value. Like, you understand why.
-Yeah, yeah.

286
00:13:45,156 --> 00:13:48,376
But I think it's becoming very, very
difficult for me to convince... Because of

287
00:13:48,376 --> 00:13:52,236
recent years of upgrades, it's very
difficult for me to, like, go out and

288
00:13:52,236 --> 00:13:55,076
-convince or market this upgrade.
-Mm.

289
00:13:55,076 --> 00:13:56,786
Not only because Laravel's saying it easy,

290
00:13:57,516 --> 00:14:01,366
but now because you can also jump in AI
and say, "Hey, upgrade my app." And,

291
00:14:02,116 --> 00:14:05,446
you know, that may, that may or may not do
more-

292
00:14:05,446 --> 00:14:06,906
-Yeah
-... than the upgrade guide. You know, that

293
00:14:06,906 --> 00:14:11,216
really just depends on the model. It
depends on h- how much context you give

294
00:14:11,216 --> 00:14:14,856
it. It depends on if you're using things
like Boost or the internal upgrade tools

295
00:14:14,856 --> 00:14:15,796
or, or those things. Like,

296
00:14:16,626 --> 00:14:19,836
it... And as we know, it's AI, it's kind
of luck of the draw that day on how

297
00:14:19,836 --> 00:14:21,616
-thorough it's actually-
-Yeah

298
00:14:21,616 --> 00:14:23,276
-... gonna be.
-Might have worked for one app-

299
00:14:23,276 --> 00:14:24,716
-Yeah
-... it might not work for the next one.

300
00:14:24,716 --> 00:14:25,896
Yeah, you're just not gonna get the same
results.

301
00:14:25,896 --> 00:14:28,556
Well, not in the same way at least. Yeah,
yeah.

302
00:14:28,556 --> 00:14:28,896
So...

303
00:14:29,836 --> 00:14:30,716
-Yeah, and I think that's always-
-You know, yeah

304
00:14:30,716 --> 00:14:34,055
... been the benefit. And, and, you know,
it's, it's the conversation that, that

305
00:14:34,056 --> 00:14:34,556
you've had

306
00:14:35,516 --> 00:14:40,196
this year, especially with, you know, the
proliferation of AI and with all of this,

307
00:14:40,816 --> 00:14:46,336
um, tooling, that, yes, you can just do a
composer update, and yes, you can,

308
00:14:47,176 --> 00:14:51,256
um, use the, the tools that Laravel
provides to do the upgrade, like they've

309
00:14:51,256 --> 00:14:52,416
-got the skill now, I think.
-Yeah.

310
00:14:52,416 --> 00:14:55,446
But to your point, you know, that you just
made,

311
00:14:56,196 --> 00:15:00,216
whether or not it is actually a Laravel 13
application, and that has always been a

312
00:15:00,216 --> 00:15:00,925
very strong,

313
00:15:02,316 --> 00:15:06,936
um, positioning of Laravel Shift, is that
it's to make it look like you are always

314
00:15:06,936 --> 00:15:10,795
running that version. Which, you know, the
docs, all of that kind of... Like, I,

315
00:15:10,796 --> 00:15:11,366
even now,

316
00:15:12,236 --> 00:15:17,836
yes, I go through the Shift, I use the AI,
um, 'cause you provided some snippets-

317
00:15:17,836 --> 00:15:19,676
-Some prompts, yeah
-... some, some prompts that you could use

318
00:15:20,316 --> 00:15:20,816
-to-
-Yeah

319
00:15:20,816 --> 00:15:25,456
... to, like, coach the, the final
cleanup, which was very useful. And then I

320
00:15:25,456 --> 00:15:29,236
go, and at least I know that when I look
at the docs for the latest version, that,

321
00:15:29,236 --> 00:15:32,396
as you say, this is where you go and do
this thing, and it's clear and it's

322
00:15:32,396 --> 00:15:33,526
consistent, which is not,

323
00:15:34,356 --> 00:15:38,736
not been the ca- In, in my head, I'm still
running, you know, Laravel 10. But I go,

324
00:15:38,736 --> 00:15:41,676
"Oh, no, that's, that's not where this is
anymore." So it's good to know that you

325
00:15:41,676 --> 00:15:44,956
can look at the docs and, and just go and
do that process and just trust that it's

326
00:15:44,956 --> 00:15:45,796
-all-
-Yeah

327
00:15:45,796 --> 00:15:48,996
... gonna behave itself. It makes it
easier if you bring on someone newer into

328
00:15:48,996 --> 00:15:50,346
a team environment as well,

329
00:15:51,016 --> 00:15:54,616
that they've only used Laravel 12 or
they've only used Laravel 13. It's like,

330
00:15:54,616 --> 00:15:57,676
"Here is our Laravel 13 application."
There's no question about it.

331
00:15:57,676 --> 00:15:59,416
-Yeah.
-Now they don't get lost trying to figure

332
00:15:59,416 --> 00:16:01,666
-out what's, what's where and-
-Yeah, truly-

333
00:16:01,666 --> 00:16:04,196
-... all that kind of stuff
-... Laravel 13. Like, sure, you can, you

334
00:16:04,196 --> 00:16:07,956
can be compatible, and I think that's what
the upgrade guide, its, its goal and its

335
00:16:07,956 --> 00:16:08,386
-focus-
-Yeah

336
00:16:08,386 --> 00:16:12,496
... is compatibility. And why, why the
hell would Laravel go out and be like,

337
00:16:12,496 --> 00:16:15,836
"This is gonna be the most difficult
upgrade ever?" Like, when-

338
00:16:15,836 --> 00:16:17,556
-Yeah.
-Why would they say that? You know what I

339
00:16:17,556 --> 00:16:18,006
-mean? Like-
-Yeah

340
00:16:18,006 --> 00:16:19,816
-... there's no incentive for them-
-Yeah

341
00:16:19,816 --> 00:16:24,456
... to give you every tiny little thing
that ever got changed over the year-

342
00:16:24,456 --> 00:16:27,056
-Mm-hmm
-... of, of changes that they do. You know,

343
00:16:27,056 --> 00:16:30,046
they do an annual release, so they're,
they're not gonna cover every single one.

344
00:16:30,046 --> 00:16:30,886
-And-
-Yeah

345
00:16:30,886 --> 00:16:34,916
... that's not to say that Shift does
either per se, but, but it definitely goes

346
00:16:34,916 --> 00:16:39,316
much deeper. And, and to the point, the
goal is, is, is, is much different. I want

347
00:16:39,316 --> 00:16:43,936
it to look and feel like it's always been
13, 'cause that's what I would want of

348
00:16:43,936 --> 00:16:47,616
-the product, right?
-Yeah. Yeah. Yep. And I've noticed that

349
00:16:47,616 --> 00:16:52,136
too. So like, what's... Like, in our most
recent upgrades, um, okay, so I'll give

350
00:16:52,136 --> 00:16:56,696
two example, well, three. Number one was
all the annotations that it put onto my

351
00:16:56,696 --> 00:17:01,696
models now. So like unguarded or guarded
or like, uh, different things like that,

352
00:17:01,696 --> 00:17:06,026
that I normally would not have taken the
time to do myself, which are now just-

353
00:17:06,026 --> 00:17:07,456
-Sure
-... the default. So that's how, that's how

354
00:17:07,456 --> 00:17:10,116
it kind of how it works. And so it's
like, great. That's not something I

355
00:17:10,116 --> 00:17:14,016
would've taken the time to do previously,
something I knew that was an option now,

356
00:17:14,016 --> 00:17:17,416
but now it's just done, and it's, it's
already handled. Another thing that was

357
00:17:17,416 --> 00:17:18,766
-interesting, which I would not-
-Mm

358
00:17:18,766 --> 00:17:24,776
... have caught ever, is the config
changes for cache prefix and, um-

359
00:17:24,776 --> 00:17:27,616
-Yeah
-... I think cookie name and whatever,

360
00:17:27,616 --> 00:17:31,156
which sounds so innocuous. It's like,
okay, well, it's no big deal, the defaults

361
00:17:31,156 --> 00:17:34,236
are changing, but literally it's changing
from an underscore to a dash. Who's going

362
00:17:34,236 --> 00:17:36,216
to catch that, that that's an underscore
to a dash?

363
00:17:36,216 --> 00:17:37,186
-It looks-
-However- Yeah

364
00:17:37,186 --> 00:17:40,776
... it looks tiny, but it's actually huge
impact. Yeah.

365
00:17:40,776 --> 00:17:46,136
It is. Yes. Yeah, and the reason why, and
for those of you who might not know, the

366
00:17:46,136 --> 00:17:50,156
Redis prefix, for example, is a great ig-
is a great one because it actually, if you

367
00:17:50,156 --> 00:17:54,655
follow it through, like, the three files,
it's defined in database.php. It's also

368
00:17:54,656 --> 00:17:57,206
-defined in queue. Queue p- .php uses-
-Mm-hmm

369
00:17:57,206 --> 00:18:01,796
... the database connection, and then
horizon.php uses the queue connection,

370
00:18:01,796 --> 00:18:04,856
which uses the database connection. Like,
good luck chasing that all the way

371
00:18:04,856 --> 00:18:08,446
through, but if you don't change that
Redis prefix and you just let the defaults

372
00:18:08,446 --> 00:18:12,716
cascade, you're gonna lose any jobs that
were not completed by the time you did the

373
00:18:12,716 --> 00:18:13,956
-upgrade. They're gone.
-Yeah.

374
00:18:13,956 --> 00:18:16,466
That, that prefix is not going to match
for Horizon.

375
00:18:16,466 --> 00:18:18,036
-And session change too, so-
-They're just gonna be orphan jobs out

376
00:18:18,036 --> 00:18:19,536
-there
-Yeah.

377
00:18:19,536 --> 00:18:22,876
Yep. You're gonna d- invalidate all your
sessions. And so those are the sorts of

378
00:18:22,876 --> 00:18:26,296
things that get surfaced that are like, I
would never have caught that in the

379
00:18:26,296 --> 00:18:30,816
upgrade guide, number one. And number two,
even if I would have, it would not have

380
00:18:30,816 --> 00:18:34,715
said, "Hey, by the way, this has changed
three times in the last five releases."

381
00:18:34,716 --> 00:18:36,686
-Yeah.
-"You might wanna consider just adding this

382
00:18:36,686 --> 00:18:38,916
-as a default moving forward." Like-
-Yeah

383
00:18:38,916 --> 00:18:42,596
... those are the sorts of things that
could cause a lot of headache, that are

384
00:18:42,596 --> 00:18:46,396
surfaced for me in the top comment of the
thing. Like, "Hey, these are changes

385
00:18:46,396 --> 00:18:49,116
you're really gonna need to be aware of,"
and then the rest of the comments in the

386
00:18:49,116 --> 00:18:52,116
shift are just like, "These are optional.
Take a look if you want to, but they're

387
00:18:52,116 --> 00:18:56,936
not, they're not a big breaking change."
The last piece of that, though, is it sort

388
00:18:56,936 --> 00:18:57,066
of

389
00:18:57,776 --> 00:19:01,916
m- melt, like melds together this idea of
like, we're gonna do the automated

390
00:19:01,916 --> 00:19:06,876
portions of it, but if you want to have
your agent do this, here's an example

391
00:19:06,876 --> 00:19:10,816
prompt for what you could push in if you
just wanna use your own tokens to, to

392
00:19:10,816 --> 00:19:14,396
handle this portion. And so it's not
necessarily one or the other, it's a, it's

393
00:19:14,396 --> 00:19:18,836
-a both/and, which I really appreciate.
-Yeah. A- and I think that's going back to

394
00:19:18,836 --> 00:19:23,596
kind of that tailwind thing. I think
that's my effort to integrate with AI. I

395
00:19:23,596 --> 00:19:25,756
-don't wanna make it Shift versus AI.
-Yeah.

396
00:19:25,756 --> 00:19:29,796
I use AI, too. I'm a developer. Like, I, I
use it actually now probably to write a

397
00:19:29,796 --> 00:19:30,936
majority of my code.

398
00:19:32,056 --> 00:19:35,096
Um, you know, so it's one of those things
where I'm, I'm not trying to be like,

399
00:19:35,096 --> 00:19:38,696
"Shift is better than AI," or make it
competitive. And honestly, I said that

400
00:19:38,696 --> 00:19:43,236
even before I knew about any of this, like
Laravel 13, you know, its own little

401
00:19:43,236 --> 00:19:47,276
skill and all that kind of stuff. Like, I
was saying that back in January, 'cause I

402
00:19:47,276 --> 00:19:50,316
just don't think that's the right path,
you know? It, it's like trying to fight

403
00:19:50,316 --> 00:19:50,846
-the ocean-
-Yeah

404
00:19:50,846 --> 00:19:51,935
... or something. Like, it's [chuckles]
not gonna work.

405
00:19:51,936 --> 00:19:53,596
-You're not gonna... Yeah, exactly.
-Um-

406
00:19:53,596 --> 00:19:55,456
-Yeah
-... you know, so it's one of those things

407
00:19:55,456 --> 00:20:01,296
where, yeah, I've done a lot of features
to make it more integrated with AI, which

408
00:20:01,296 --> 00:20:04,816
I think is also, again, kind of that
tailwind approach. Like, we're not gonna

409
00:20:04,816 --> 00:20:07,416
-be able to fight this. Let's, you know-
-Mm

410
00:20:07,416 --> 00:20:12,376
... let's... And we're not probably gonna
outlast this, so let's kinda get on board

411
00:20:12,376 --> 00:20:14,426
with it, but give it our own little
sprinkle-

412
00:20:15,436 --> 00:20:16,626
-Mm-hmm
-... um, our own little flavor.

413
00:20:16,626 --> 00:20:17,796
-Mm-hmm.
-And that's really what I've done with

414
00:20:17,796 --> 00:20:21,816
those AI prompts. They're much more
contextual. They're in the comments. You

415
00:20:21,816 --> 00:20:24,836
know, these areas that I've always felt
like, man, I wish I could automate that,

416
00:20:24,836 --> 00:20:29,196
but it just wouldn't be 100%, like, Shift
standard reliable.

417
00:20:30,056 --> 00:20:33,876
But now I can give you the details like
you're talking about, and then have this

418
00:20:33,876 --> 00:20:35,376
nice little dropdown prompt.

419
00:20:36,136 --> 00:20:40,276
If you're using AI, copy it. If not, the
information's still there as a human. But,

420
00:20:40,276 --> 00:20:44,025
like, you copy this, you drop it in, and
it's gonna do the right thing for you, and

421
00:20:44,025 --> 00:20:48,326
it's gonna take it that last mile locally
with a better context. You know?

422
00:20:48,326 --> 00:20:50,076
-Yeah.
-'Cause it's got access to your ENV files.

423
00:20:50,076 --> 00:20:53,166
You might not commit those, for example.
Um, so it's just-

424
00:20:53,166 --> 00:20:56,456
-Right
-... not something Shift can reliably do.

425
00:20:56,456 --> 00:21:01,456
Uh, so I'm glad for that integration. And
then the other one, you know, just posted

426
00:21:01,456 --> 00:21:06,276
on Laravel News today, um, I put... I, I
think I tweeted about it last week. But

427
00:21:06,276 --> 00:21:08,076
Matt Stauffer made this review skill,

428
00:21:08,716 --> 00:21:10,976
um, 'cause, you know, he's at Titan. He's
using-

429
00:21:10,976 --> 00:21:12,496
-Mm-hmm
-... Shift. He's got a subscription. He's

430
00:21:12,496 --> 00:21:17,356
using Shift for the dozens or hundreds of
clients they manage to upgrade thing. He

431
00:21:17,356 --> 00:21:19,846
built this little dashboard and, you know,
vibe coded.

432
00:21:20,696 --> 00:21:24,456
But then he built a skill where actually
he can give it, you know, to Claude and

433
00:21:24,456 --> 00:21:28,536
say, "Okay, here's the PR number. Go, you
know, use the GH commands and go review

434
00:21:28,536 --> 00:21:30,906
this thing," looking at the comments and
treating-

435
00:21:30,906 --> 00:21:31,926
-That's cool
-... Shift as a source.

436
00:21:33,256 --> 00:21:35,416
-Mm-hmm.
-I, I kinda slept on that for a couple

437
00:21:35,416 --> 00:21:38,886
weeks, kinda like the podcast. [chuckles]
And I finally met with him-

438
00:21:38,886 --> 00:21:40,276
-[laughs]
-... I finally met with him, like, two or

439
00:21:40,276 --> 00:21:42,506
three weeks ago, and he showed this to me,
and I was like,

440
00:21:43,746 --> 00:21:47,926
"Oh my God, I immediately built like four
other skills now." So now there's a set of

441
00:21:47,926 --> 00:21:50,176
skills that are Shift kind of branded,

442
00:21:51,036 --> 00:21:51,316
um,

443
00:21:51,996 --> 00:21:55,976
to do everything from analyze your project
to figure out what Shift should be run,

444
00:21:56,676 --> 00:22:00,996
to actually running it and then reviewing
it as Stauffer, you know, his command

445
00:22:00,996 --> 00:22:01,476
kinda did.

446
00:22:02,116 --> 00:22:03,466
-But now there's also a refactor thing-
-Mm

447
00:22:03,466 --> 00:22:07,916
... that ties into the workbench, which
was always kind of a sleepy feature of

448
00:22:07,916 --> 00:22:11,615
Shift as well. But now you can do all that
from the prompt. You don't even have to

449
00:22:11,616 --> 00:22:14,196
open your IDE. You really don't even have
to open GitHub. Like,

450
00:22:14,936 --> 00:22:15,666
-you can-
-Mm

451
00:22:15,666 --> 00:22:19,036
... you can trigger, run, and review, and
merge a Shift

452
00:22:19,716 --> 00:22:20,876
all from your AI. Like,

453
00:22:21,796 --> 00:22:23,606
-I was upgrading it-
-Didn't know that. That's pretty sick

454
00:22:23,606 --> 00:22:24,746
-... last week in, like, seven minutes.
-Yeah.

455
00:22:24,746 --> 00:22:26,016
And I never even opened the IDE.

456
00:22:27,376 --> 00:22:28,136
-Yeah.
-Oh my gosh.

457
00:22:28,136 --> 00:22:28,506
-It is-
-That's wild

458
00:22:28,506 --> 00:22:31,736
... it is crazy how much everything has
kind of just,

459
00:22:32,876 --> 00:22:37,516
um, what's the word? Like, consolidated on
the agent,

460
00:22:38,236 --> 00:22:41,516
the CLI being the, the one place where you
do everything.

461
00:22:41,516 --> 00:22:44,506
-Yeah.
-Like, I, I very... Like, I've still got my

462
00:22:44,506 --> 00:22:47,716
Vim terminal, 'cause, you know, you'll
pry that from my cold, dead hands. But

463
00:22:47,716 --> 00:22:48,776
-I've got everything.
-[laughs]

464
00:22:48,776 --> 00:22:54,656
I can, I can connect to the Nightwatch
MCP. I've, I built an MCP for, um, the,

465
00:22:54,656 --> 00:22:58,936
the application that's managing, like, the
Laracon stuff, where we did all the CFPs.

466
00:22:58,936 --> 00:23:04,816
So I can go and look at, and look at and
analyze the feedback from speaker talks

467
00:23:04,816 --> 00:23:08,956
and submissions. When they say, "Hey, I'd
like some more feedback," I can go and,

468
00:23:08,956 --> 00:23:11,376
and collate everything that all of the,

469
00:23:12,256 --> 00:23:16,036
um, all of the different reviewers said,
and present that back to the speaker to be

470
00:23:16,036 --> 00:23:19,136
like, "Hey, if you were submitting again
at another event, or to Laracon AU next

471
00:23:19,136 --> 00:23:21,975
year, here's the kinds of things we're
looking for." So it's, it's just

472
00:23:21,976 --> 00:23:26,735
interesting how in a very, very short
space of time, this has all changed,

473
00:23:26,736 --> 00:23:31,146
where, you know, we had people using
PhpStorm and VS Code and, and Vim and, and

474
00:23:31,146 --> 00:23:35,056
whatever else, and now it's like, no, the
single interface to literally everything.

475
00:23:35,056 --> 00:23:38,976
We don't Google search anymore. We
don't... Like, everything is just in our

476
00:23:38,976 --> 00:23:40,336
little Claude code CLI.

477
00:23:41,016 --> 00:23:41,616
-It's crazy.
-Yeah.

478
00:23:43,016 --> 00:23:43,616
Yeah, it is.

479
00:23:44,376 --> 00:23:47,956
Um, so maybe that's, maybe that's a good
spot to sort of wrap on the Laravel Shift

480
00:23:47,956 --> 00:23:51,676
sorta things. Um, we're, like I said,
we're using it extensively right now,

481
00:23:51,676 --> 00:23:53,576
getting all of our stuff upgraded. You
know, we have

482
00:23:54,416 --> 00:23:58,396
90-some repos in our org, and, you know, I
know at least, like, 30 of them are ones

483
00:23:58,396 --> 00:24:02,176
we're gonna have to use Laravel Shift on.
So, um, if I have anything to give

484
00:24:02,176 --> 00:24:05,126
feedback on, I will give it in the next
little bit here. But-

485
00:24:05,756 --> 00:24:06,716
-Sure
-... that being said-

486
00:24:06,716 --> 00:24:08,096
-Always welcome
-... uh, the other item... Yeah.

487
00:24:08,736 --> 00:24:11,144
-Yeah
-The other item that we're looking at is,

488
00:24:11,144 --> 00:24:14,884
uh, this Fast Laravel, which we talked
about on the Laravel News podcast for

489
00:24:14,884 --> 00:24:18,244
quite some time. Uh, there was-- Uh, I
feel like it was almost like a,

490
00:24:19,174 --> 00:24:23,974
um, a serial blog sort of idea, where it
was like you were sort of figuring out new

491
00:24:23,974 --> 00:24:25,474
-things and then releasing-
-Mm-hmm

492
00:24:25,474 --> 00:24:27,184
... things, and then you're like, "You
know what? Why don't I just kind of...

493
00:24:27,184 --> 00:24:31,664
Instead of making people go read 5, 10, 12
blog posts or whatever, like, why don't I

494
00:24:31,664 --> 00:24:35,464
just put this together into a series and,
and put this out there for the world?"

495
00:24:35,464 --> 00:24:35,764
And so,

496
00:24:36,384 --> 00:24:40,014
um, I'm curious, you know, you, you kind
of gave us a little bit of a taste, right?

497
00:24:40,014 --> 00:24:44,453
Of like, here, here's kind of what it is,
is we're talking about caching. Um-

498
00:24:44,453 --> 00:24:47,453
-Mm-hmm
-... and that's a unique challenge with,

499
00:24:47,453 --> 00:24:51,684
with something like Laravel, because
Laravel is a server-side language. And so

500
00:24:51,684 --> 00:24:55,924
the, you know, with some of these, uh,
languages that are-- Or sorry, these

501
00:24:55,924 --> 00:24:58,604
frameworks that are using like Node and
things like that, it seems like maybe the

502
00:24:58,604 --> 00:25:01,444
caching is a little bit easier, 'cause you
don't have to invoke the server in order

503
00:25:01,444 --> 00:25:02,934
-to, um-
-Yeah

504
00:25:02,934 --> 00:25:06,364
... you do, I guess. But it just seems
easier for some reason when you're on that

505
00:25:06,364 --> 00:25:09,724
side. You got a SPA, you know, you're
pulling it all down and you cache it, you

506
00:25:09,724 --> 00:25:14,844
know, cache the thing. But with, with PHP,
it's not quite as easy. And so, um-

507
00:25:14,844 --> 00:25:16,144
-Yeah
-... you know, this idea of let's use

508
00:25:16,144 --> 00:25:21,304
Cloudflare to cache stuff is cool, but
there's a lot of gotchas along the way.

509
00:25:21,304 --> 00:25:25,223
And, and sort of in the blog posts that we
had read, the sentiment that you

510
00:25:25,224 --> 00:25:29,484
expressed is there was two big blog posts
that you looked at to sort of figure out

511
00:25:29,484 --> 00:25:34,044
how this works, and both of them were
either like out of date or sort of

512
00:25:34,044 --> 00:25:38,124
insufficient. So, um, give us like a
little bit of a,

513
00:25:39,084 --> 00:25:42,744
like insight into how that works. You
know, I'm not asking you to... Obviously,

514
00:25:42,744 --> 00:25:45,994
you're not gonna be able to like teach us
everything in a, you know, 30 minutes. But

515
00:25:45,994 --> 00:25:49,204
like, what's the sort of-- What were some
of the challenges that you ran into with

516
00:25:49,204 --> 00:25:52,824
that, and what are some of the interesting
solutions that you came across on your

517
00:25:52,824 --> 00:25:52,984
way?

518
00:25:54,264 --> 00:25:54,684
Yeah.

519
00:25:55,324 --> 00:26:00,244
Yeah, so Fast Laravel, fastlaravel.com,
uh, it's the most recent course I've made

520
00:26:00,244 --> 00:26:04,524
kind of Laravel related. Uh, and it was,
again, it was kind of another thing I'd

521
00:26:04,524 --> 00:26:08,844
slept on, you know. I feel like in the
last 18 months, or at least probably six

522
00:26:08,844 --> 00:26:09,344
months ago,

523
00:26:10,404 --> 00:26:13,844
you know, 18 months prior to that, people
were just really talking about Cloudflare.

524
00:26:13,844 --> 00:26:16,914
I host with Cloudflare, I do this with
Cloudflare, you know, set up Cloudflare.

525
00:26:16,914 --> 00:26:21,263
It just seemed like it was getting kind of
this background buzz of where people

526
00:26:21,264 --> 00:26:26,084
were, were hosting or serving, you know,
their sites out of, um... Or at least, at

527
00:26:26,084 --> 00:26:29,364
least their DNS was being handled through
it as kind of this proxy.

528
00:26:30,724 --> 00:26:34,764
Uh, and again, kind of being an OG web
developer, I remember messing with page

529
00:26:34,764 --> 00:26:37,604
caching a long time ago, so I really
wanted to like figure out, like

530
00:26:38,584 --> 00:26:40,324
can I make a Laravel application,

531
00:26:41,064 --> 00:26:45,154
you know, faster? You know, there was a
big push to like serverless and Octane and

532
00:26:45,154 --> 00:26:45,884
-all these.
-Mm-hmm.

533
00:26:45,884 --> 00:26:50,724
And of course you can, we can throw CPUs,
we can increase requests per second and,

534
00:26:50,724 --> 00:26:54,444
you know, we can talk about all that. But
like, you're never gonna beat

535
00:26:55,504 --> 00:27:01,583
a, a static HTML page served directly from
your browser. I mean, this is how HTTP

536
00:27:01,584 --> 00:27:01,814
-works-
-Mm-hmm

537
00:27:01,814 --> 00:27:06,124
... right? This is how it was built. It
was built to be cached across networks

538
00:27:06,124 --> 00:27:08,034
locally, literally on your browser,

539
00:27:08,644 --> 00:27:13,654
to just be fed directly to you in a
millisecond. So it just-

540
00:27:13,654 --> 00:27:15,024
-Mm-hmm
-... anything else you ever wanna talk

541
00:27:15,024 --> 00:27:19,564
about, it just pales in comparison to just
loading directly from disk,

542
00:27:20,204 --> 00:27:21,464
-right, on your local machine.
-Yep.

543
00:27:22,344 --> 00:27:27,104
It cuts out all of the network layer, it
cuts out all of the requests, the DNS, the

544
00:27:27,104 --> 00:27:31,464
routing. And then forget that, then it
cuts out the fact that it's actually

545
00:27:31,464 --> 00:27:36,584
spinning up in your web server. It's, it's
interpreting the PHP. It's loading-

546
00:27:36,584 --> 00:27:39,184
-Mm
-... tens of thousands of lines of PHP code

547
00:27:39,184 --> 00:27:40,644
for Laravel just to boot,

548
00:27:41,384 --> 00:27:45,924
and then it spits out your view that's got
nothing in it but static, you know, copy,

549
00:27:45,924 --> 00:27:48,233
-right? [chuckles] Like-
-Yeah. Yep, yep

550
00:27:48,233 --> 00:27:50,104
-... it's just a little bit silly.
-Exactly, yeah.

551
00:27:50,104 --> 00:27:53,614
Right? So the... So it's a, you know, it's
a silly, you know... I'm making it silly,

552
00:27:53,614 --> 00:27:56,934
but the point is, is that I think even on
a Laravel application,

553
00:27:57,844 --> 00:28:03,924
a percentage of most applications,
especially in front of a login screen,

554
00:28:04,584 --> 00:28:08,024
are truly that. They're static for... I
mean, look at laravel-shift.com, for

555
00:28:08,024 --> 00:28:11,844
example. I've got a product page, and
yeah, that's fed from the database. It's

556
00:28:11,844 --> 00:28:15,754
fred, fed from product models, right?
Product all. But like,

557
00:28:17,064 --> 00:28:18,104
I don't add products

558
00:28:18,904 --> 00:28:21,284
all the time. I mean, once a year, Laravel
13 shifts.

559
00:28:21,284 --> 00:28:22,624
-Mm-hmm.
-Maybe I build a couple others during the

560
00:28:22,624 --> 00:28:26,804
year. But the point is, maybe once a
quarter that page is actually changing. So

561
00:28:26,804 --> 00:28:29,844
yeah, it's dynamic, it's built with
Laravel, it's pulling from a database,

562
00:28:30,504 --> 00:28:32,104
but its content is static.

563
00:28:32,904 --> 00:28:34,544
So that was kind of the genesis of like

564
00:28:35,564 --> 00:28:39,364
I know, again, in my OG web developer
brain, that this page could be cached. I

565
00:28:39,364 --> 00:28:43,264
just kinda never messed with it, and it
finally just got to this place where, like

566
00:28:43,264 --> 00:28:47,364
I had a little time to explore.
Typically, you know, after Laracons is

567
00:28:47,364 --> 00:28:50,364
kind of my really slow season in the back
half of the year. I'm not preparing for

568
00:28:50,364 --> 00:28:54,684
the new release. I'm not preparing to like
give a talk necessarily. I'm, I've got

569
00:28:54,684 --> 00:28:55,324
some time.

570
00:28:55,964 --> 00:28:59,374
So I started messing with it last
September, and I was just

571
00:29:00,564 --> 00:29:05,124
amazed at kind of the results. But to your
point, I definitely found two or three

572
00:29:05,124 --> 00:29:09,174
gotchas, like right out of the box, and,
and these are blog posts on Laravel News.

573
00:29:09,174 --> 00:29:10,434
-Mm.
-Like you said, I tweeted about them at the

574
00:29:10,434 --> 00:29:13,284
time. I did little videos, um, in my
livestreams.

575
00:29:14,164 --> 00:29:16,564
So just to kind of recap a couple of
those, um,

576
00:29:17,584 --> 00:29:19,684
the first one is, you know, Laravel's a
web framework,

577
00:29:20,344 --> 00:29:21,044
so out of the box

578
00:29:21,724 --> 00:29:24,744
it gives you state. Uh, it does so through
cookies,

579
00:29:25,524 --> 00:29:29,184
um, cookies and sessions. So even though
if you're not using or writing or doing

580
00:29:29,184 --> 00:29:32,544
anything with the session or these
cookies, it's gonna send those back in the

581
00:29:32,544 --> 00:29:35,843
response right away, and you can see
these as like out of the box. You'll see

582
00:29:35,844 --> 00:29:41,074
them as like Laravel_session, right? This
cookie is just being used. Um,

583
00:29:42,084 --> 00:29:47,624
well, Cloudflare is built dynamically to
look at the headers on the response, and

584
00:29:47,624 --> 00:29:52,684
even if you enable caching, it's going to
see a cookie header and it's gonna bypass

585
00:29:52,684 --> 00:29:55,704
its internal cache. And you'll see this in
the headers. You'll see-

586
00:29:55,704 --> 00:29:58,824
-Hmm. Interesting
-... a CF status, cache status, and it says

587
00:29:58,824 --> 00:30:01,674
-bypass. Sometimes it'll say dynamic-
-Mm

588
00:30:01,674 --> 00:30:06,464
... uh, again, if the, if, if the cookie
or other headers are, exist. So even if

589
00:30:06,464 --> 00:30:10,764
you set a header saying, "Oh, this page
never changes," and you're not using

590
00:30:10,764 --> 00:30:13,024
session or doing anything weird on your
page,

591
00:30:13,724 --> 00:30:18,708
um, or anything dynamic-Uh, you're still
gonna get this bypass in the cache.

592
00:30:19,928 --> 00:30:21,268
So that sent me down the road of like,

593
00:30:21,908 --> 00:30:25,688
okay, well, how do we turn this off? Well,
it's not so easy, um, 'cause again, this

594
00:30:25,688 --> 00:30:28,828
is built into Laravel out of the box.
Laravel expects-

595
00:30:28,828 --> 00:30:31,228
-Yeah
-... to have state out of the box. It, it

596
00:30:31,228 --> 00:30:34,748
uses it in the request. It uses it, you
know, session facade, of course. It

597
00:30:34,748 --> 00:30:37,008
encrypts and decrypts cookies on every
request.

598
00:30:38,148 --> 00:30:41,528
So I found the simplest way to do that was
basically just to add a separate

599
00:30:41,528 --> 00:30:45,628
middleware group. You can think of it much
like the API middleware group, um, which

600
00:30:45,628 --> 00:30:48,488
really has nothing on it either. It has no
state. That's the whole point.

601
00:30:49,288 --> 00:30:49,918
-Um, but you still-
-Yeah, right

602
00:30:49,918 --> 00:30:53,328
... want a few small things to load,
right? So again, this... I go deeper into

603
00:30:53,328 --> 00:30:57,368
it in the blog, but that was kind of the
first, um, hurdle, was to kind of turn

604
00:30:57,368 --> 00:30:58,068
that off.

605
00:30:58,928 --> 00:31:03,708
Um, that puts you in a place where now if
your pages are truly static,

606
00:31:04,448 --> 00:31:06,908
-you know, you can-
-I was gonna ask if it's worth

607
00:31:06,908 --> 00:31:12,588
distinguishing between the idea of cache
that lives, like,

608
00:31:13,488 --> 00:31:18,788
in the user's browser and also a cache
that lives at Cloudflare.

609
00:31:18,788 --> 00:31:21,508
-Yeah.
-Um, because some of the advantage that you

610
00:31:21,508 --> 00:31:26,188
get with using Cloudflare too, is that
they are also doing their own cache layer

611
00:31:26,188 --> 00:31:28,468
-on your content that you're returning-
-Yeah

612
00:31:28,468 --> 00:31:33,127
... um, at the edge, meaning like at a
node that's closest to-

613
00:31:33,128 --> 00:31:34,608
-Mm-hmm
-... the user that's getting the traffic

614
00:31:34,608 --> 00:31:38,588
served to them. So can you speak to that
just a little bit and kind of help us

615
00:31:38,588 --> 00:31:42,518
understand the difference between... Or, I
mean, there's really both of those things

616
00:31:42,518 --> 00:31:46,748
happening, but how exactly that works and
what, what that, what that is?

617
00:31:46,748 --> 00:31:50,248
Yeah, I think that was kind of the second
hurdle. Uh, so, so yeah, once you have the

618
00:31:50,248 --> 00:31:51,278
-static page and you're-
-Okay

619
00:31:51,278 --> 00:31:52,508
... you're actually caching it,

620
00:31:53,148 --> 00:31:58,228
the second hurdle is, is, yeah, I think
especially when we, in modern senses, and

621
00:31:58,228 --> 00:32:01,188
especially as Laravel developers, we hear
cache and we're thinking like cache

622
00:32:01,188 --> 00:32:05,268
facade, right? We're not thinking we're
caching a database query.

623
00:32:05,268 --> 00:32:06,788
-Mm-hmm. Yeah.
-We're thinking of what you would consider

624
00:32:06,788 --> 00:32:11,758
as the application cache, right? Um, so
this lives beyond that. What we're talking

625
00:32:11,758 --> 00:32:15,428
about here are, are two things, to your
point. We're talking about a, now a

626
00:32:15,428 --> 00:32:19,808
network layer cache, and that's
Cloudflare. So Cloudflare has its own

627
00:32:19,808 --> 00:32:23,768
little bucket, its cache bucket, that it's
now going, if you tell it with headers

628
00:32:23,768 --> 00:32:27,308
and, and you have all the appropriate
response headers in the HTTP,

629
00:32:28,068 --> 00:32:31,747
and you've enabled it on Cloudflare, which
is a free service from them. I don't pay

630
00:32:31,748 --> 00:32:36,428
for anything for Cloudflare, and I've got
all my sites cached to the tilt. But like,

631
00:32:37,088 --> 00:32:40,768
now they're going to cache it. And then
you can even go further than that. You can

632
00:32:40,768 --> 00:32:46,348
actually go so far as to say the browser
on the user's local machine to cache it as

633
00:32:46,348 --> 00:32:50,527
well. So you kinda create, in caching,
what they call like this Russian doll

634
00:32:50,528 --> 00:32:50,928
technique,

635
00:32:51,668 --> 00:32:54,728
where like you have these little Russian
dolls where like this outer layer's got a

636
00:32:54,728 --> 00:32:57,468
cache, and then you open it up and there's
a little doll inside that, and then you

637
00:32:57,468 --> 00:33:00,798
open it up and there... And then you keep
going all the way down, right? And

638
00:33:01,668 --> 00:33:06,648
you can do the same thing with your web
responses. Um, we can cache them all the

639
00:33:06,648 --> 00:33:07,068
way down.

640
00:33:07,788 --> 00:33:11,868
Yeah, the, the Russian doll thing is, is
interesting. I know that, uh, DHH when

641
00:33:11,868 --> 00:33:15,688
they, they were talking about like caching
in the Rails ecosystem, they were big on

642
00:33:15,688 --> 00:33:19,708
the whole, like, don't cache the whole
page 'cause you wanna cache like sections

643
00:33:19,708 --> 00:33:22,188
of it because, you know, this thing never
changes, but,

644
00:33:22,808 --> 00:33:25,158
or, you know, the other part, or the, the
whole of the page very-

645
00:33:25,158 --> 00:33:27,048
-Yeah
-... rarely changes, but the inside is

646
00:33:27,048 --> 00:33:29,668
dynamic. You know, you're listing your
products, so that stuff has to change

647
00:33:29,668 --> 00:33:31,008
quite frequently. And

648
00:33:32,828 --> 00:33:35,148
your products, no, but like there are bits
of the page that will change.

649
00:33:35,148 --> 00:33:38,048
-Mm-hmm.
-Like a blog. On, on my blog, for example,

650
00:33:38,048 --> 00:33:41,168
it doesn't change often, but when it does,
if that blog index-

651
00:33:41,168 --> 00:33:41,838
-Sure
-... is cached,

652
00:33:42,488 --> 00:33:44,168
you gotta bust the whole thing just to
get-

653
00:33:44,168 --> 00:33:45,248
-Yeah
-... the content to update-

654
00:33:45,248 --> 00:33:46,128
-Yeah
-... so you can see the new post is up.

655
00:33:46,128 --> 00:33:49,508
So in the course, I explore ways to
actually cache partials,

656
00:33:50,168 --> 00:33:52,248
partial pieces of the page as well. And of
course,

657
00:33:52,888 --> 00:33:56,608
as, as Laravel and the community, we ha-
we already have a lot of tools that kind

658
00:33:56,608 --> 00:33:56,768
of

659
00:33:57,988 --> 00:34:02,468
get us into this partial idea. Even on a
Blade level, we can think of partials in

660
00:34:02,468 --> 00:34:04,458
the page, right, um, being included.

661
00:34:05,208 --> 00:34:08,308
Uh, but you know, we're also familiar with
Livewire, we're familiar with Alpine,

662
00:34:08,308 --> 00:34:12,378
we're familiar with React, Vue, Inertia,
all these things that are probably already

663
00:34:12,378 --> 00:34:13,888
breaking up the page in a way

664
00:34:14,628 --> 00:34:19,027
that either is already very, very
cacheable or at least make components of

665
00:34:19,028 --> 00:34:23,868
it, um, cacheable or fragments of that
HTML that's being returned cacheable.

666
00:34:24,648 --> 00:34:29,928
Um, so there's a lot of options. Again, I,
I go deep into all that. Um, there's more

667
00:34:29,928 --> 00:34:30,948
blog posts, but

668
00:34:32,027 --> 00:34:33,368
the whole point is, is again,

669
00:34:34,128 --> 00:34:38,388
you're not gonna get anything, it's not
just Laravel, you're not gonna get any web

670
00:34:38,388 --> 00:34:44,868
application any faster than caching, you
know, at the edge, and the edge can be all

671
00:34:44,868 --> 00:34:49,208
the way up to and including the user's
actual browser.

672
00:34:49,948 --> 00:34:52,828
But Cloudflare, to Jake's point a minute
ago, Cloudflare-

673
00:34:52,828 --> 00:34:54,468
-Yeah
-... you know, it's distributed across the

674
00:34:54,468 --> 00:34:59,828
entire world with nodes everywhere. So
like if you go to laravel-shift.com and

675
00:34:59,828 --> 00:35:03,968
you inspect the headers, you'll see what's
called a CF-Ray in the response,

676
00:35:04,628 --> 00:35:06,588
and typically you'll notice that these
are,

677
00:35:07,728 --> 00:35:12,368
you know, geographically close to you. So
when it does actually request,

678
00:35:13,168 --> 00:35:13,768
-it doesn't even-
-Yeah

679
00:35:13,768 --> 00:35:19,468
... go so far as like to US West. It's
going to Nashville-

680
00:35:19,468 --> 00:35:21,408
-Yeah
-... which is only like, you know, 100

681
00:35:21,408 --> 00:35:23,738
miles away from me, you know, speed of
light.

682
00:35:23,738 --> 00:35:26,008
-Yeah.
-Right? So it's just even when it's-

683
00:35:26,008 --> 00:35:27,328
-Yeah
-... not coming from the browser-

684
00:35:27,328 --> 00:35:29,068
-Yeah, that's right
-... it's still coming back to me in things

685
00:35:29,068 --> 00:35:33,288
like 23 milliseconds. I'm seeing my page
load.

686
00:35:33,288 --> 00:35:34,838
Yeah. Well, we've got, we've got, uh,

687
00:35:35,888 --> 00:35:37,758
three, I think, Cloudflare...

688
00:35:38,588 --> 00:35:39,258
-Last time I looked-
-Melbourne, I think

689
00:35:39,258 --> 00:35:42,948
... we had three Cloudflare POPs in
Australia. One of them is-

690
00:35:42,948 --> 00:35:44,758
-Mm-hmm.
-Yeah, there's Melbourne, there's Sydney,

691
00:35:44,758 --> 00:35:46,778
there's Adelaide, and if it's in Adelaide-

692
00:35:46,778 --> 00:35:48,328
-Yeah
-... I assume Brisbane and Perth have got

693
00:35:48,328 --> 00:35:53,318
one as well at this point. But like, to
your point, yeah, it's, if it's not cached

694
00:35:53,318 --> 00:35:55,358
-in my browser, it's cached-
-Sure

695
00:35:55,358 --> 00:35:57,828
... one millisecond away at the data
center that's-

696
00:35:57,828 --> 00:35:59,738
-Yeah, I mean, if you-
-... 12 and a half kilometers down the

697
00:35:59,738 --> 00:36:00,928
-road.
-Yeah. I mean, eight months ago-

698
00:36:00,928 --> 00:36:02,508
-So it's-
-... if you went to laravel-shift.com,

699
00:36:02,508 --> 00:36:04,128
you're, you're coming all the way to
Virginia.

700
00:36:04,808 --> 00:36:05,248
You know what I mean?

701
00:36:05,888 --> 00:36:08,668
-So y- you in, in Australia-
-Mm-hmm. Yeah

702
00:36:08,668 --> 00:36:09,018
-... are, are-
-Yeah

703
00:36:09,018 --> 00:36:13,928
... you know, pinging probably 100
milliseconds just to come to Virginia.

704
00:36:13,928 --> 00:36:15,508
-Then it's running-
-Yeah

705
00:36:15,508 --> 00:36:17,107
-... Laravel. Again, not necessarily slow.
-Yeah.

706
00:36:17,108 --> 00:36:18,558
PHP is fast in my opinion,

707
00:36:19,188 --> 00:36:23,768
but, you know, tens of thousands of lines
of code on my little shared server host

708
00:36:23,768 --> 00:36:27,648
-box, $5 box. Like it's, you know-
-Mm-hmm. Yeah

709
00:36:27,648 --> 00:36:31,408
... you're probably seeing my page in a
second and a half, and that's ridiculous

710
00:36:31,408 --> 00:36:32,468
in 2026.

711
00:36:33,568 --> 00:36:33,708
Yeah.

712
00:36:35,316 --> 00:36:36,966
-It's basically instant now, which is-
-So, yeah

713
00:36:36,966 --> 00:36:39,056
-... which is great.
-Well, the cool news, too, is like, you

714
00:36:39,056 --> 00:36:41,995
know, if that does... And so you- if you
have something that hits, like, Hacker

715
00:36:41,996 --> 00:36:44,816
News front page, and you have everything
cached at Cloudflare-

716
00:36:44,816 --> 00:36:45,856
-Yeah
-... it doesn't even matter.

717
00:36:45,856 --> 00:36:47,416
-That's right.
-Like, you're not gonna take your box down

718
00:36:47,416 --> 00:36:48,815
either, like, 'cause it's not even
touching-

719
00:36:48,816 --> 00:36:50,456
-Yeah
-... your box. It's, it's totally bypassed.

720
00:36:50,456 --> 00:36:51,356
It's never gonna hit-

721
00:36:51,356 --> 00:36:52,236
-Exactly
-... my origin-

722
00:36:52,236 --> 00:36:53,556
-Yep, exactly
-... unless I busted it.

723
00:36:53,556 --> 00:36:53,936
-Yeah.
-Yeah.

724
00:36:54,596 --> 00:36:57,906
Right. So I was gonna say, too, like,
well, so two things. Number one,

725
00:36:58,516 --> 00:37:03,936
uh, like, what sort of cache coverage, if
we wanna use that sort of term, have you

726
00:37:03,936 --> 00:37:07,146
-been able to achieve on Laravel Shift?
-Mm.

727
00:37:07,146 --> 00:37:08,356
And then secondly,

728
00:37:09,016 --> 00:37:12,776
do you feel like this is still, like, a
proper strategy or something that's even

729
00:37:12,776 --> 00:37:16,916
achievable for something that is a
heavily, like, changing content site? It's

730
00:37:16,916 --> 00:37:17,996
-a bit of a leading question-
-Yeah

731
00:37:17,996 --> 00:37:21,436
... because I've heard from Eric Barnes
that you've been working with him a lot-

732
00:37:21,436 --> 00:37:23,136
-Yeah
-... on, like, his blog-

733
00:37:23,196 --> 00:37:25,196
-Yeah
-... and getting that cached up. And so I'm

734
00:37:25,196 --> 00:37:28,316
curious just, like, if there's been any
different strategies you've employed or

735
00:37:28,316 --> 00:37:31,656
whatever. So two questions, kind of just
to flesh that out a little bit.

736
00:37:31,656 --> 00:37:35,765
Yeah, yeah. I'll actually throw in a, a
third answer real quick, too. But, so the,

737
00:37:35,765 --> 00:37:40,796
the for- the format of the Fast Laravel
course is actually me basically recreating

738
00:37:40,796 --> 00:37:41,676
from scratch,

739
00:37:42,356 --> 00:37:47,156
taking laravelshift.com from 6% cache when
I first signed up at Cloudflare,

740
00:37:47,876 --> 00:37:51,876
straight Laravel out of the box, you know,
tall stack kind of thing,

741
00:37:52,756 --> 00:37:57,196
uh, to 99% cached. And if I, if we
screenshotted Cloudflare right now, you'd

742
00:37:57,196 --> 00:37:59,496
-probably see 98.6%.
-My gosh.

743
00:37:59,496 --> 00:38:01,996
It's been steady that way for the last six
months.

744
00:38:03,276 --> 00:38:08,236
So yeah, 90, 99% cache, basically. On the
weekends, it's 100% cache, because

745
00:38:08,236 --> 00:38:14,456
basically that 1% are my users actually
logging in to custom user dashboards. And

746
00:38:14,456 --> 00:38:15,026
-I could go-
-Mm

747
00:38:15,026 --> 00:38:16,736
... that far if I wanted to, but, like,

748
00:38:17,736 --> 00:38:21,855
99%, let's, let's, let's have a little
fun, right? Let's get $5 worth-

749
00:38:21,856 --> 00:38:22,416
-Yeah
-... out of that box.

750
00:38:22,416 --> 00:38:24,056
-For what reason? Yeah.
-Um.

751
00:38:24,856 --> 00:38:27,346
So first question, yeah, 99%. Uh,

752
00:38:28,476 --> 00:38:32,936
is that achievable by every kind of site?
No. Some more than others. I think some

753
00:38:32,936 --> 00:38:35,266
could be 100%, easy. Um,

754
00:38:36,236 --> 00:38:37,976
-but the point is 99%-
-Mm

755
00:38:37,976 --> 00:38:41,836
... of your traffic, I mean, Laravel Shift
is not an unused site. I mean, I think I

756
00:38:41,836 --> 00:38:42,956
get 100,000

757
00:38:43,796 --> 00:38:48,656
requests maybe every couple days, every 48
hours, I think, just kind of looking off

758
00:38:48,656 --> 00:38:49,756
the charts. So I mean, it's not,

759
00:38:50,996 --> 00:38:53,496
it's not a huge site, but it's not a small
one either.

760
00:38:54,476 --> 00:38:54,736
Um,

761
00:38:55,956 --> 00:38:57,826
Laravel News, though, I wanna do more case
studies-

762
00:38:57,826 --> 00:38:59,276
-Yeah
-... is kind of to your, your second

763
00:38:59,276 --> 00:38:59,866
leading question.

764
00:39:00,516 --> 00:39:04,445
And so over the last kind of month or two,
you know, when we have time, Eric and I

765
00:39:04,445 --> 00:39:07,216
have met and increased his caching on
Cloudflare.

766
00:39:07,976 --> 00:39:13,496
Um, I think he started around 17 or 18%.
In fairness, he was already doing some

767
00:39:13,496 --> 00:39:18,606
pretty heavy image caching and, and video
caching based on, of course, his, his news

768
00:39:18,606 --> 00:39:19,356
kind of content.

769
00:39:20,396 --> 00:39:22,416
Uh, but none of his page was, pages were
actually-

770
00:39:22,416 --> 00:39:24,126
-Mm-hmm
-... being cached. So this, it was a really

771
00:39:24,126 --> 00:39:27,176
fun case study. I think he's got a lot of
video content he wants to release. I'm

772
00:39:27,176 --> 00:39:29,236
gonna do, of course, a, a deeper blog
post.

773
00:39:29,936 --> 00:39:33,816
But I think right now he just, he's
caching the homepage and the article page

774
00:39:33,816 --> 00:39:38,256
for the last few weeks. Today, he just
deployed Decat, caching his blog,

775
00:39:38,936 --> 00:39:41,136
um, links and, um,

776
00:39:41,896 --> 00:39:43,396
or his archive page, I think.

777
00:39:44,476 --> 00:39:45,915
I fully expect he'll hit

778
00:39:46,756 --> 00:39:48,236
-70 to 80%-
-Mm. Okay

779
00:39:48,236 --> 00:39:52,456
... after this, um, in the next few days.
And again, we could keep going if we

780
00:39:52,456 --> 00:39:55,046
-wanted, because he has no user login-
-Yeah

781
00:39:55,046 --> 00:39:58,996
... on the front side. But what he does
have is complexity in his-

782
00:39:58,996 --> 00:39:59,486
-Mm-hmm
-... scheduling, right?

783
00:39:59,486 --> 00:40:01,956
-Right, right.
-He releases blog posts-

784
00:40:01,956 --> 00:40:02,836
-Yep
-... every couple hours-

785
00:40:02,836 --> 00:40:04,316
-Yeah
-... or when he wants. So we did have to

786
00:40:04,316 --> 00:40:08,836
build in some things, some jobs, some
events. And again, Laravel gives you all

787
00:40:08,836 --> 00:40:13,956
these hooks. Oh, hey, some, you know, blog
article got updated, you know, eloquent

788
00:40:13,956 --> 00:40:19,096
event fire. Okay, clear cache for its
page, its slug page. It's all achievable.

789
00:40:19,096 --> 00:40:19,866
-Mm-hmm.
-Um-

790
00:40:19,866 --> 00:40:22,556
-Mm-hmm
-... you know, so that's been really,

791
00:40:22,556 --> 00:40:23,036
really fun.

792
00:40:23,856 --> 00:40:27,316
Yeah. Um, yeah, that... I, I spoke to you
about this just before we, we started

793
00:40:27,316 --> 00:40:32,176
recording, was, you know, the Laracon
website has just went live and, you know,

794
00:40:32,176 --> 00:40:35,436
the speakers are not gonna change now.
They're, they're live. That's, that's the

795
00:40:35,436 --> 00:40:37,256
list of speakers. Um,

796
00:40:37,876 --> 00:40:41,076
all of the content, the details is, is
kind of set in stone. So to be able to

797
00:40:41,076 --> 00:40:47,236
cache that whole, whole public-facing site
would be ideal. The issue that I ran into

798
00:40:47,236 --> 00:40:48,546
-[chuckles] was-
-Mm

799
00:40:48,546 --> 00:40:51,255
... I wanted to go to sleep at a normal
time at, on Sunday night,

800
00:40:52,176 --> 00:40:56,176
and for the, the, that, the website to
just update itself at midnight on the 1st

801
00:40:56,176 --> 00:40:56,556
of June.

802
00:40:57,396 --> 00:40:58,756
-And-
-Yeah

803
00:40:58,756 --> 00:41:01,196
... th- but when the page is cached,
there's no way, like,

804
00:41:01,816 --> 00:41:05,416
it's, it's finding... 'Cause, you know,
when you update an article or I update a

805
00:41:05,416 --> 00:41:09,096
speaker bio or something, you can fire the
event, you can trigger the cache update,

806
00:41:09,716 --> 00:41:10,726
-you know, clear the-
-Yeah

807
00:41:10,726 --> 00:41:15,276
... cache on the, the speaker list, clear
the cache on that speaker. Perfect. But,

808
00:41:15,276 --> 00:41:17,716
but when it's, like, a scheduled thing
that you want to happen in the future,

809
00:41:18,396 --> 00:41:20,256
you know, it's a, it's a different thing.
You've gotta,

810
00:41:21,136 --> 00:41:23,586
you've gotta go and figure out what, what
will publish.

811
00:41:23,586 --> 00:41:25,176
-Yeah.
-And that might change in different places.

812
00:41:25,176 --> 00:41:28,016
For, for me, it's quite, quite simple.
But you've gotta go, "Okay,

813
00:41:28,936 --> 00:41:29,866
-every minute with your-"
-Yeah

814
00:41:29,866 --> 00:41:32,696
... "scheduled task, does anything need to
be busted? Does everything, anything need

815
00:41:32,696 --> 00:41:35,776
to be busted?" And then go and fire the,
the cache clear.

816
00:41:36,416 --> 00:41:39,916
That's one of the questions in Fast
Laravel I, I, I kind of present right

817
00:41:39,916 --> 00:41:43,786
away. Like, if you're gonna get into
caching, you, you have to immediately kind

818
00:41:43,786 --> 00:41:50,016
of ask yourself the question, like, are
you comfortable serving stale content,

819
00:41:50,016 --> 00:41:55,616
right? And if, if you're not comfortable
with that at all, then you probably can't

820
00:41:55,616 --> 00:41:59,236
really cache the page. Even if you
technically could cache the page, like

821
00:41:59,236 --> 00:42:03,296
from a business or a personal, you know,
standpoint, you just, you have to kind of

822
00:42:03,296 --> 00:42:03,766
-say no-
-Mm

823
00:42:03,766 --> 00:42:07,816
... or you have to set a TTL, or maybe you
can't do browser caching, 'cause, you

824
00:42:07,816 --> 00:42:11,356
know, again, the farther away the cache is
from you, the harder it is to control,

825
00:42:11,356 --> 00:42:16,436
right? I can't reach in and clear out
Jake's, you know, bla- browser cache,

826
00:42:16,436 --> 00:42:19,706
like, and I don't need him calling me. I
don't need my users calling me at 2:00

827
00:42:19,706 --> 00:42:19,996
-a.m.-
-Yeah

828
00:42:19,996 --> 00:42:21,996
... saying, "Oh, I'm seeing yesterday's
page."

829
00:42:22,836 --> 00:42:25,016
Um, so there's some things to consider
there.

830
00:42:25,016 --> 00:42:25,706
-Yeah.
-But you-

831
00:42:25,706 --> 00:42:27,476
-Yeah
-... you do have a good point. Like, you

832
00:42:27,516 --> 00:42:31,956
wanna make sure... There's probably some,
some area for me to cover there, and I

833
00:42:31,956 --> 00:42:35,706
know JT, um, guy I've been kind of pairing
with, JT Smith,

834
00:42:36,416 --> 00:42:40,816
uh, you know, he kind of helped with the
course, uh, you know, content and, and

835
00:42:40,816 --> 00:42:43,596
kind of researching. He built some
packages around it.

836
00:42:44,256 --> 00:42:44,576
Um,

837
00:42:45,736 --> 00:42:49,774
you know, I wonder if there's something in
there where-You know, you can,

838
00:42:50,504 --> 00:42:56,304
you can set a schedule or something. You
can, you can pre-enter an artisan command

839
00:42:56,304 --> 00:43:01,023
that, like, is, "Okay, run this command at
this time and it..." But to your point,

840
00:43:01,024 --> 00:43:01,844
like at the end of the day, it's...

841
00:43:02,484 --> 00:43:04,784
-Yeah, yeah, yeah.
-Even if it's like a delayed queue job,

842
00:43:04,784 --> 00:43:07,594
maybe. You know, if you set a future date
on something, it's like-

843
00:43:07,594 --> 00:43:08,684
-Yeah
-... just go and queue this thing to

844
00:43:08,684 --> 00:43:10,414
-trigger the-
-There's definitely ways

845
00:43:10,414 --> 00:43:13,204
... the cache bust at that day and time,
so. I mean, now that everything's...

846
00:43:13,844 --> 00:43:17,604
Yeah, there's probably... Y- there's
always, you know, in, in anything that we

847
00:43:17,604 --> 00:43:21,484
do, there's more than one way to, to
achieve an outcome. And I think, like now,

848
00:43:21,484 --> 00:43:23,924
like I said, everything's static. It's
all set.

849
00:43:24,624 --> 00:43:27,864
All the speakers are not changing. There's
none of the content's gonna change. We

850
00:43:27,864 --> 00:43:31,084
might, you know, when, when tickets sell
out or we move through our-

851
00:43:31,084 --> 00:43:32,584
-Sure
-... allocations, we might change those

852
00:43:32,584 --> 00:43:36,004
pages. But for the most part, we could
probably just go and, like, blanket cache

853
00:43:36,004 --> 00:43:36,754
-everything-
-Yeah

854
00:43:36,754 --> 00:43:37,664
-... and, and leave it.
-You do have-

855
00:43:37,664 --> 00:43:40,024
-Leave it at that
-... it is, it is a layer of complexity in

856
00:43:40,024 --> 00:43:45,044
the, in the, you know, in the joke, you
know, the age-old joke, uh, you know,

857
00:43:45,044 --> 00:43:47,014
cache invalidation is hard, right? Like,

858
00:43:48,444 --> 00:43:51,444
you do have to remember, "Oh yeah, cache
this page." [laughs] You know, when you're

859
00:43:51,444 --> 00:43:53,664
sitting... If you go down this road, like
when you're sitting there-

860
00:43:53,664 --> 00:43:54,834
-Yeah, that's right
-... refreshing a thousand times-

861
00:43:54,834 --> 00:43:55,184
-Why is-
-... you're like-

862
00:43:55,184 --> 00:43:56,944
-Yeah
-... "Why the hell am I not seeing-"

863
00:43:56,944 --> 00:43:58,574
Yeah. Refreshing. Why is nothing changing?

864
00:43:58,574 --> 00:43:59,264
-"... when I think it's deployed?"
-Yeah.

865
00:43:59,264 --> 00:44:01,504
-You know? Oh yeah, it's cached-
-Yeah

866
00:44:01,504 --> 00:44:03,204
... in my browser. Oh yeah, it's cached in
Cloudflare.

867
00:44:04,264 --> 00:44:04,364
Yeah.

868
00:44:05,024 --> 00:44:07,624
-That's right.
-The good news is on like Cloudflare too,

869
00:44:07,624 --> 00:44:08,454
-is-
-Yeah

870
00:44:08,454 --> 00:44:11,564
... yeah, y- they have like an emergency
bypass mode in Cloudflare though, too. You

871
00:44:11,564 --> 00:44:13,234
-know what I mean? So you can say like-
-Oh, yeah, they-

872
00:44:13,234 --> 00:44:15,404
... "No, I'm in dev mode." I don't even
know if that's what they call it, but it's

873
00:44:15,404 --> 00:44:16,094
-something like that-
-Yeah

874
00:44:16,094 --> 00:44:19,114
... where you're like, "I'm actually
trying to see the real thing right now."

875
00:44:19,114 --> 00:44:20,714
-Mm-hmm.
-"Please stop caching."

876
00:44:20,714 --> 00:44:22,844
-Yeah.
-And now you locally at least are gonna say

877
00:44:22,844 --> 00:44:26,104
like, "Hard refresh, like clear out my
browser cache." But then Cloudflare's

878
00:44:26,104 --> 00:44:26,874
-gonna be like, "Okay, I'm-"
-Yeah

879
00:44:26,874 --> 00:44:30,324
"... serving you whatever version is
actually currently live right now." So it

880
00:44:30,324 --> 00:44:34,304
just kind of bypasses its own stuff. Um,
so yeah.

881
00:44:34,304 --> 00:44:37,464
As with anything, it's, yeah, it's just
something to put into your workflow,

882
00:44:37,464 --> 00:44:39,924
right? You know, you just have to get used
to it, so.

883
00:44:40,644 --> 00:44:41,664
-Yeah.
-The, the area-

884
00:44:43,204 --> 00:44:47,864
It does also make it easy to clear or, or
to... Yeah, it does, it also makes it very

885
00:44:47,864 --> 00:44:51,864
easy to bust the cache of specific pages
through the UI, which is what I ended up

886
00:44:51,864 --> 00:44:56,384
doing for my blog, was just like, go and
bust the blog list, go and bust that

887
00:44:56,384 --> 00:45:01,364
article page, and then, and then it's
done. So it'd just be nice to, to automate

888
00:45:01,364 --> 00:45:01,934
-the process-
-Yeah

889
00:45:01,934 --> 00:45:05,344
... which is, you know, not hard. It's
just, you know, "Claude, go and, [laughs]

890
00:45:05,344 --> 00:45:08,424
go and make sure that when this, this
content changes, you fire the- [laughs]

891
00:45:08,424 --> 00:45:09,814
-Yeah
-... the cache bust command."

892
00:45:09,814 --> 00:45:12,644
Yeah, I think, I think there's an
opportunity for that package to, to maybe

893
00:45:12,644 --> 00:45:14,464
explore that a little bit. But, um,

894
00:45:15,504 --> 00:45:15,664
yeah.

895
00:45:16,424 --> 00:45:17,344
-I think-
-Mm

896
00:45:17,344 --> 00:45:21,684
... I think the area that's interesting
for me, and I just saw a PR into Laravel

897
00:45:21,684 --> 00:45:22,934
on this, uh, from,

898
00:45:23,624 --> 00:45:26,844
from Devin, one of the core, the core
cloud team members, um,

899
00:45:27,664 --> 00:45:29,494
uh, uh, who I met at Laracon AU last year,

900
00:45:30,164 --> 00:45:34,184
uh, at the nice dinner that, that Dorinda
took us out to, the steak, steak dinner.

901
00:45:35,044 --> 00:45:35,384
Um,

902
00:45:36,324 --> 00:45:40,724
but yeah, he, he opened one up kind of,
uh, you know, slightly inspired by Fast

903
00:45:40,724 --> 00:45:45,644
Laravel to, to bring some of the
techniques that I have in the course first

904
00:45:45,644 --> 00:45:47,424
party into the framework. So, for
example,

905
00:45:48,204 --> 00:45:51,904
um, this route static method. So you could
just say route stat, kind of like you say

906
00:45:51,904 --> 00:45:55,144
route view or route get. You could say
route static,

907
00:45:55,804 --> 00:45:57,664
and this would dis-

908
00:45:58,604 --> 00:46:01,244
it's an effort to disable some of the
things that make it stateless, and

909
00:46:01,244 --> 00:46:06,664
therefore allow it to be cached. Laravel's
very interested in this for kind of

910
00:46:06,664 --> 00:46:11,564
selfish reasons, because they are really
tackling with cloud. You know, you can see

911
00:46:11,564 --> 00:46:15,104
they're heading this direction where
hibernate, and they're trying to spin you

912
00:46:15,104 --> 00:46:19,934
up, and, you know, these sub, sub-second,
you know, 100 millisecond kind of thing.

913
00:46:21,364 --> 00:46:24,964
So if you pair the best of both of these
worlds, right, uh, you could start to

914
00:46:24,964 --> 00:46:25,814
think that,

915
00:46:26,924 --> 00:46:32,344
okay, if Laravel actually did kind of
adopt or, or make this strategy kind of

916
00:46:32,344 --> 00:46:36,264
modern again, right, gave it its own
little spice of, of caching,

917
00:46:37,004 --> 00:46:40,984
and Laravel Cloud gives you edge caching
built in, 'cause they sit on top

918
00:46:40,984 --> 00:46:42,543
Cloudflare, all this can be built in.

919
00:46:43,544 --> 00:46:45,104
But then even when you do

920
00:46:46,184 --> 00:46:49,444
go through the cache or need to do
something actually that spins and boots up

921
00:46:49,444 --> 00:46:49,964
Laravel,

922
00:46:50,604 --> 00:46:54,224
you can come out of hibernation mode in 50
milliseconds, right?

923
00:46:56,104 --> 00:47:00,124
You can see how that starts to get really,
really interesting and, and you can see

924
00:47:00,124 --> 00:47:06,764
how it's this wonderful mix of new and old
strategies that kind of forge the future

925
00:47:06,764 --> 00:47:12,074
a bit. So I'm really, really interested to
see where that goes and, and in a way,

926
00:47:12,804 --> 00:47:13,184
um,

927
00:47:14,184 --> 00:47:19,443
it's fun for me to, to see. You know, I
kind of stumbled into this area that I

928
00:47:19,444 --> 00:47:22,924
thought was just kind of this old
technique that I was seeing how it worked

929
00:47:22,924 --> 00:47:23,754
in the modern world,

930
00:47:24,464 --> 00:47:26,524
but we're kind of seeing even actually
Laravel

931
00:47:27,564 --> 00:47:32,724
Cloud specifically kind of give a little
more weight to edge caching, 'cause it

932
00:47:32,724 --> 00:47:35,284
relates to their hibernation. If they can-

933
00:47:35,284 --> 00:47:36,544
-Yeah
-... if they can cache something for

934
00:47:36,544 --> 00:47:39,654
longer, then you can hibernate for longer.
If you can hibernate for longer-

935
00:47:39,654 --> 00:47:41,124
-Yeah
-... then you're lower server cost.

936
00:47:41,124 --> 00:47:43,164
-Yeah.
-If we have to spin you up and we can do

937
00:47:43,164 --> 00:47:44,044
-that faster-
-Yeah

938
00:47:44,684 --> 00:47:49,744
... then it's not a big toll that you're
paying, right, to, to cache more-

939
00:47:49,804 --> 00:47:51,264
-Right
-... and stay hibernated longer.

940
00:47:52,364 --> 00:47:52,644
So.

941
00:47:54,384 --> 00:47:58,504
Yeah. I definitely think a lot of the
stuff that they've done recently, um, th-

942
00:47:59,164 --> 00:48:03,584
I was just talking to some people about
this before we recorded, and the pricing

943
00:48:03,584 --> 00:48:03,964
is not

944
00:48:05,724 --> 00:48:06,084
ideal

945
00:48:06,704 --> 00:48:11,004
for any of their stuff. I mean, the, the
CP- uh, the, the compute is like, you

946
00:48:11,004 --> 00:48:13,644
know, you're capped at this amount per
month. But if you look at,

947
00:48:14,784 --> 00:48:21,124
um, like the managed queues that they just
released, it's like $0.000000178

948
00:48:21,924 --> 00:48:23,884
-per, you know, per second or something.
-Yeah.

949
00:48:23,884 --> 00:48:26,104
It's like, what does that mean? But,

950
00:48:27,024 --> 00:48:30,084
-um, where, where other platforms of-
-Mm-hmm

951
00:48:30,084 --> 00:48:31,504
... a similar pedigree,

952
00:48:32,584 --> 00:48:35,003
they, you know, they didn't have cost
controllers, they didn't have this, they

953
00:48:35,004 --> 00:48:38,123
didn't have that. You know, you hear, I
mean, probably not recently, but you've

954
00:48:38,124 --> 00:48:41,084
heard all these horror stories of the
past. It's like, "I was on Hacking News

955
00:48:41,084 --> 00:48:41,594
-and I woke up-
-Yeah

956
00:48:41,594 --> 00:48:44,304
... and I've got a $30,000 bill for my, my
thing."

957
00:48:44,944 --> 00:48:47,544
-Yeah.
-The, the, the concern I think that

958
00:48:48,204 --> 00:48:53,344
we, we heard when Cloud was announced and
when it was launched and all of the stuff

959
00:48:53,344 --> 00:48:58,124
around the Excel funding, that is gonna
lead to, you know, the enshittification

960
00:48:58,124 --> 00:49:05,062
and, and whatever else of Laravel, I don't
think that hasLike I, I didn't

961
00:49:05,062 --> 00:49:05,932
-think it was gonna be an issue.
-Yeah.

962
00:49:05,932 --> 00:49:09,262
But I don't think we've seen it come to
fruition. Everything that they're doing at

963
00:49:09,262 --> 00:49:09,822
the moment,

964
00:49:10,732 --> 00:49:14,372
you know, as you said, they're trying to
get your, your servers to spin down as

965
00:49:14,372 --> 00:49:17,192
often as possible, spin up as quick as
possible,

966
00:49:17,872 --> 00:49:21,532
and, and run for as little as possible.
Like, all of this stuff is cost

967
00:49:21,532 --> 00:49:27,552
optimization, it's cost minimization. If
we can, if we can cache it at the edge,

968
00:49:27,552 --> 00:49:32,012
you know, whether it's the Cloudflare
cache that they run or it's your own stuff

969
00:49:32,012 --> 00:49:35,862
that's on top, like all of these things,
whilst the pricing is

970
00:49:37,092 --> 00:49:41,412
not human-friendly to reason about, like I
understand why it is, because they're

971
00:49:41,412 --> 00:49:43,252
-char- they're on charging-
-Mm-hmm

972
00:49:43,252 --> 00:49:45,792
... what they're billed by their
providers. Makes sense.

973
00:49:46,492 --> 00:49:46,632
But

974
00:49:47,492 --> 00:49:51,672
the fact that those numbers are so tiny,
and that they're doing so much work in

975
00:49:51,672 --> 00:49:56,312
public and, and into the products to make
sure that you are actually consuming as

976
00:49:56,312 --> 00:49:58,252
little of those resources as possible,

977
00:49:59,212 --> 00:50:01,132
um, is, is really good to see,

978
00:50:01,832 --> 00:50:03,112
you know, two and a half years down the
road-

979
00:50:03,112 --> 00:50:04,552
-Yeah
-... from when Cloud was announced, so.

980
00:50:05,532 --> 00:50:08,812
It's nice because there's aligned
incentives there, right? Like, that's not

981
00:50:08,812 --> 00:50:12,092
always the case, where, you know,
sometimes you have misaligned incentives,

982
00:50:12,092 --> 00:50:15,892
and like it's actually to the benefit of
the provider to make the things run for

983
00:50:15,892 --> 00:50:16,782
-longer or whatever.
-Right.

984
00:50:16,782 --> 00:50:19,252
Like, they wanna have more billable
minutes or whatever, right? And for them,

985
00:50:19,252 --> 00:50:23,972
it's like because they own the VPS stuff,
that, well is a V- yeah, because they own,

986
00:50:23,972 --> 00:50:26,312
like, some of the hardware. Own, quote
unquote, right?

987
00:50:26,932 --> 00:50:27,292
-It's-
-Mm

988
00:50:27,292 --> 00:50:31,052
... to their benefit to be able to say,
"No, let's let it hibernate. Like, charge

989
00:50:31,052 --> 00:50:33,472
you less, but then we don't, you know,
they don't have to pay as much to the

990
00:50:33,472 --> 00:50:34,982
-provider either." So anyway, um-
-That's right

991
00:50:34,982 --> 00:50:37,932
... I think it's, uh, yeah, it's
interesting. It's a... And they, they've

992
00:50:37,932 --> 00:50:38,282
-been working-
-It is interesting

993
00:50:38,282 --> 00:50:41,172
... really hard on it, obviously. Doing a
great job. Yep. Yep, yep.

994
00:50:41,172 --> 00:50:45,152
Yeah. They, I mean, they get charged less,
so they charge you less, but it also

995
00:50:45,152 --> 00:50:49,092
means they make less because they're not,
you know. So all of these factors that I'm

996
00:50:49,092 --> 00:50:50,102
-sure that their-
-Yeah

997
00:50:50,102 --> 00:50:55,172
... finance people figure out. But net
result is that the people using the

998
00:50:55,172 --> 00:50:59,282
platforms are getting something that is,
you know, as has always been,

999
00:51:00,352 --> 00:51:03,532
from, from my perspective, you know, at
the heart of everything Taylor does, it's

1000
00:51:03,532 --> 00:51:06,592
to the developer experience. And so far,

1001
00:51:07,232 --> 00:51:07,862
-that has-
-Mm

1002
00:51:07,862 --> 00:51:11,112
-... that has held true. You know?
-Yeah. Yeah. I think it, I think it's

1003
00:51:11,112 --> 00:51:15,992
really interesting. Um, and I, I'm glad to
see them kind of going down that road,

1004
00:51:15,992 --> 00:51:19,632
not just from the edge caching, but, but
the hibernation. I, I think that was

1005
00:51:19,632 --> 00:51:20,712
always an appeal,

1006
00:51:21,792 --> 00:51:25,012
you know, even when they first launched,
and it, it might not have been, like you

1007
00:51:25,012 --> 00:51:29,472
said, exactly what was expected at first,
but I think they're, you know, they're

1008
00:51:29,472 --> 00:51:34,731
filling those gaps as quickly as they can.
Um, so it's cool to kinda see it come

1009
00:51:34,732 --> 00:51:35,472
-together-
-Yeah

1010
00:51:35,472 --> 00:51:35,752
... uh,

1011
00:51:36,492 --> 00:51:38,712
quickly. So anyway.

1012
00:51:39,832 --> 00:51:42,042
-Jason, where can, uh, where can people-
-Oh

1013
00:51:42,042 --> 00:51:43,542
-... find the course?
-All right.

1014
00:51:43,542 --> 00:51:47,472
Uh, if they're looking to purchase it,
where's the best place for them to go, and

1015
00:51:47,472 --> 00:51:49,772
what's the cost? Uh, give me the rundown.

1016
00:51:49,772 --> 00:51:51,742
Yeah. FastLaravel.com. Uh,

1017
00:51:52,852 --> 00:51:58,032
I, I sh- I mean, I think there was an
early access price for a very short amount

1018
00:51:58,032 --> 00:52:01,332
of time. I wanna say it's, I wanna say,
like, it's 199

1019
00:52:02,072 --> 00:52:02,532
right now.

1020
00:52:03,432 --> 00:52:07,752
Um, but kinda to the point we were just
talking about, like if you end up caching

1021
00:52:08,732 --> 00:52:12,912
99% of your site, and everything it uses
is free Cloudflare services, so it's not

1022
00:52:12,912 --> 00:52:15,862
like you buy this course, then you gotta
go buy, like, a $20 a month-

1023
00:52:15,862 --> 00:52:15,862
-Mm-hmm
-...

1024
00:52:16,592 --> 00:52:19,232
Cloud, Cloudflare or even Laravel Cloud
anything.

1025
00:52:19,872 --> 00:52:20,652
-Um-
-Right. Right

1026
00:52:20,652 --> 00:52:22,512
... everything that is in this course

1027
00:52:23,232 --> 00:52:27,672
is designed to show you how to spend less
on server costs, which are basically

1028
00:52:27,672 --> 00:52:29,132
infinite. So, like-

1029
00:52:29,872 --> 00:52:31,632
-Yeah
-... yeah, there's, there's a cost to the

1030
00:52:31,632 --> 00:52:36,372
course, but, uh, I would really believe
that you would, you would make that back,

1031
00:52:36,372 --> 00:52:39,512
uh, over time. [laughs] Uh, not even a
very long amount of time.

1032
00:52:40,192 --> 00:52:40,852
-Um-
-Agreed

1033
00:52:40,852 --> 00:52:42,562
... you know, kinda going back to the
Laravel news thing-

1034
00:52:42,562 --> 00:52:44,132
-Mm
-... like, that was kind of the part of the

1035
00:52:44,132 --> 00:52:48,032
case study and why I wanted to work with
Eric, is 'cause I know he moved to cloud,

1036
00:52:48,032 --> 00:52:51,792
and I know they're working on Hibernate,
and I wanna prove this out. I wanna prove

1037
00:52:51,792 --> 00:52:53,732
-if we can cache him 70%-
-Yeah

1038
00:52:53,732 --> 00:52:54,892
... can we also, like,

1039
00:52:55,632 --> 00:53:00,082
kinda just silly math, like can we reduce
his server cost by 70%? You know what I

1040
00:53:00,082 --> 00:53:00,312
-mean?
-Right. Yep.

1041
00:53:00,312 --> 00:53:00,432
Like,

1042
00:53:01,192 --> 00:53:02,182
-I think this is a real-
-Yeah

1043
00:53:02,182 --> 00:53:02,772
-... thing, right?
-Yeah.

1044
00:53:02,772 --> 00:53:06,182
If you're Jeffrey Way and you're on the
$200 a month box,

1045
00:53:07,052 --> 00:53:12,512
but you, we go and you cache your site,
can we get you down to, you know, the $60

1046
00:53:12,512 --> 00:53:16,512
a month box? I think we probably could.
It's a comfort thing, but I think we

1047
00:53:16,512 --> 00:53:18,762
-could. Um-
-Mm. Yeah. Yeah

1048
00:53:18,762 --> 00:53:20,292
-... so to the point, then, then it-
-Yeah

1049
00:53:20,292 --> 00:53:20,852
... just paid for the course.

1050
00:53:21,472 --> 00:53:21,752
Um,

1051
00:53:22,612 --> 00:53:26,692
so yeah, FastLaravel.com. Otherwise, of
course, laravel-shift.com. I'll be at

1052
00:53:26,692 --> 00:53:28,292
Laracon US. Uh,

1053
00:53:29,432 --> 00:53:33,572
I live stream every Wednesday, mostly
every Wednesday. Uh, you know, the five

1054
00:53:33,572 --> 00:53:36,682
people that are in there, I appreciate
you. And, uh-

1055
00:53:36,682 --> 00:53:38,292
-[laughs]
-... of course, I appreciate you guys. But

1056
00:53:38,292 --> 00:53:38,902
yeah, I think,

1057
00:53:40,162 --> 00:53:43,672
yeah, I think if Shift doesn't work out,
I'll, you know, I'll probably just open up

1058
00:53:43,672 --> 00:53:46,482
-a tree-cutting service and, uh-
-There you go

1059
00:53:46,482 --> 00:53:47,622
... maybe a woodworking shop and-

1060
00:53:48,372 --> 00:53:50,432
-Make some tables. Yep
-... you know, just try to stay active.

1061
00:53:50,432 --> 00:53:51,112
-Yeah.
-Mm-hmm.

1062
00:53:51,112 --> 00:53:51,392
It's...

1063
00:53:53,472 --> 00:53:55,652
-[laughs]
-I've, I've got a pepper tree growing over

1064
00:53:55,652 --> 00:53:57,592
-the fence that I need cut down-
-On the plane

1065
00:53:57,592 --> 00:53:59,232
... if you wanna... Might be a bit hard
to-

1066
00:53:59,232 --> 00:54:00,982
-It'll be the most expensive tree-
-... bring your equipment [laughs]

1067
00:54:00,982 --> 00:54:02,192
... they've ever cut down in your life.

1068
00:54:03,452 --> 00:54:05,832
-Um-
-I don't know how TSA handles chainsaws.

1069
00:54:05,832 --> 00:54:07,712
-Absolutely.
-Checked luggage or whatever, you know. I

1070
00:54:07,712 --> 00:54:10,062
-don't know how that typically works, so.
-Well, I'll ship it. It'll be there in two

1071
00:54:10,062 --> 00:54:11,272
-weeks.
-Yeah, we'll find out, I guess.

1072
00:54:11,272 --> 00:54:11,392
So.

1073
00:54:12,832 --> 00:54:13,922
-But yeah, it, uh-
-Amazing

1074
00:54:13,922 --> 00:54:15,132
-... it's good.
-Amazing.

1075
00:54:15,132 --> 00:54:16,312
-There we go.
-Well-

1076
00:54:16,312 --> 00:54:17,802
Dorinda, what episode are we on, this one?

1077
00:54:18,612 --> 00:54:22,142
-194.
-194. Everybody, thanks so much for hanging

1078
00:54:22,142 --> 00:54:25,471
out with us on episode 194. You can find
show notes for this episode at

1079
00:54:25,472 --> 00:54:30,192
northmeetsouth.audio/194. Hit us up on X
if you have any questions at

1080
00:54:30,192 --> 00:54:35,592
michaelDorinda, at jacobBennett, at
goneDark is JMax handle, uh, there as

1081
00:54:35,592 --> 00:54:38,252
well. Uh, I mean, is there any other
places where the people need to get in

1082
00:54:38,252 --> 00:54:40,732
touch with you? You already mentioned
them, so we'll just, we'll leave it at

1083
00:54:40,732 --> 00:54:41,802
-that.
-You can email me.

1084
00:54:41,802 --> 00:54:42,362
-But, uh, if you-
-I'm old.

1085
00:54:42,362 --> 00:54:42,932
If you liked the-

1086
00:54:43,632 --> 00:54:46,592
-[laughs]
-... email you. Okay. That works, too. Is,

1087
00:54:46,592 --> 00:54:50,172
what is the... I'm trying to remember the
name of the domain now. What is, uh,

1088
00:54:50,172 --> 00:54:51,672
what's the email that they can email you
at?

1089
00:54:52,572 --> 00:54:55,652
Well, you can, you can, you can email, you
know, laravel-shift, right?

1090
00:54:56,352 --> 00:54:58,452
-support@laravel-shift.com.
-I gotcha.

1091
00:54:58,452 --> 00:55:00,072
-It's me. It's always-
-Okay. There we go

1092
00:55:00,072 --> 00:55:00,531
-... it's always me.
-support@laravel-shift.

1093
00:55:00,532 --> 00:55:02,262
It is funny when people send something
there-

1094
00:55:02,262 --> 00:55:03,592
-It's Jason
-... and they're like, "Hey, hey, Shift

1095
00:55:03,592 --> 00:55:06,172
team. Hey. Oh, you're..." And it's, like,
always me.

1096
00:55:06,172 --> 00:55:08,192
-[laughs]
-It's always me, forever.

1097
00:55:08,192 --> 00:55:08,712
Yeah. "Hey, team."

1098
00:55:09,392 --> 00:55:10,382
-Yeah.
-That's funny.

1099
00:55:10,382 --> 00:55:11,852
-It's kind of flattering, right?
-Um,

1100
00:55:12,592 --> 00:55:15,592
yeah. Right. They, like, they think it's a
whole organization behind this one

1101
00:55:15,592 --> 00:55:16,562
-product. It's just-
-Mm-hmm

1102
00:55:16,562 --> 00:55:18,672
... the guy, the one guy, the Laravel
garbage man.

1103
00:55:18,672 --> 00:55:19,032
-It's me.
-Yeah.

1104
00:55:19,032 --> 00:55:22,082
-The garbage man.
-So anyway, Jason, thanks so much f- thanks

1105
00:55:22,082 --> 00:55:24,512
so much for, uh, coming on the show,
though. Looking forward to hanging out

1106
00:55:24,512 --> 00:55:29,172
with you at Laracon. Um, might be grabbing
the, uh, same hotel you're gonna be, so

1107
00:55:29,172 --> 00:55:30,022
-we'll see. We're gonna see-
-Oh, yeah

1108
00:55:30,022 --> 00:55:32,192
-... if we can line that up, but, um-
-I'm at The Moxy, yeah

1109
00:55:32,192 --> 00:55:36,092
... still gotta reserve hotels, so The
Moxy. Yeah, exactly. So look forward to

1110
00:55:36,092 --> 00:55:39,192
-seeing you in Boston.
-All right. Well, thanks very much. And,

1111
00:55:39,192 --> 00:55:41,772
uh, if I don't speak to you beforehand,
I'll see you in Boston.

1112
00:55:41,772 --> 00:55:42,452
We'll see you guys.

1113
00:55:42,452 --> 00:56:09,072
[outro music]