🦋 Welcome to the MAIN() IRC channel of the Raku Programming Language (raku.org). Log available at irclogs.raku.org/raku/live.html . If you're a beginner, you can also check out the #raku-beginner channel! Set by lizmat on 6 September 2022. |
|||
00:16
derpydoo joined
00:26
jaguart joined
00:28
jaguart left
00:29
jaguart joined
00:30
jaguart left
00:33
jaguart joined,
yewscion joined
00:39
yewscion left
00:46
jaguart left
00:47
jpn joined
00:52
jpn left
00:56
jjido left
00:57
guifa left,
jaguart joined
01:01
derpydoo left
01:19
guifa joined
01:20
kst left
01:36
ulipink joined,
ulipink left,
ulipink joined
01:40
ulipink left
01:41
jpn joined
01:42
kst joined
01:44
ulipink joined
01:46
jpn left
01:55
jpn joined
02:00
jpn left
02:12
jpn joined,
hulk joined,
kylese left
02:16
jpn left
|
|||
tbrowder | [Coke] : great reminder | 02:29 | |
02:41
jmcgnh left
02:45
jmcgnh joined
02:56
jpn joined
03:03
jpn left
03:15
hulk left,
kylese joined
03:30
kylese left
03:35
kylese joined
03:40
yewscion joined
03:45
MyNetAz left,
yewscion left
03:57
jpn joined
04:00
MyNetAz joined
04:01
jpn left
04:05
Xliff joined
|
|||
Xliff | Hello | 04:05 | |
Does anyone know if Cro caches, or if there has been a caching module developed for it? | |||
04:15
yewscion joined,
Xliff left
04:20
yewscion left
04:21
guifa left
04:24
gabiruh left
04:32
gabiruh joined
04:37
Aedil joined
04:57
yewscion joined
04:58
jpn joined
05:02
yewscion left,
MyNetAz left
05:03
jpn left
05:17
MyNetAz joined
05:34
derpydoo joined,
sena_kun joined
05:35
derpydoo left
05:42
yewscion joined
05:47
yewscion left
05:59
jpn joined
06:04
jpn left,
silug left
06:07
silug joined
06:10
sena_kun left
06:19
yewscion joined
06:22
derpydoo joined
06:26
yewscion left,
Aedil left
06:48
jpn joined
06:53
jpn left
07:13
human-blip left
07:14
human-blip joined
07:43
jpn joined
07:48
jpn left
07:49
jpn joined
08:08
jpn left
08:15
yewscion joined
08:19
yewscion left
08:47
yewscion joined
08:48
jpn joined
08:49
jjido joined
08:52
yewscion left,
jpn left
09:00
apac joined
09:02
jpn joined
09:14
apac left
09:30
human-blip left
10:01
gabiruh left
10:03
gabiruh joined
10:08
derpydoo left
10:10
jpn left
10:12
Aedil joined,
Sgeo left
11:10
dfarnsworth left
11:28
jjido left
11:41
jpn joined
11:46
jpn left
11:53
oodani left
11:57
jjido joined
11:58
oodani joined
13:02
yewscion joined
13:03
guifa joined
13:07
yewscion left
13:11
Voldenet_ joined
13:12
Voldenet left,
Voldenet_ is now known as Voldenet
|
|||
antononcube | I don't know -- here is what Google's Gemini thinks: | 13:22 | |
cdn.discordapp.com/attachments/633...96b6a& | |||
melezhik. | This http caching . Cro by could send http caching headers . So if question about http caching in that context - then answer is yes. Caching thing in general - more broad topic usually mentioned in high load systems as a mechanism to couple with higher load requests | 13:38 | |
tellable6 | 2025-02-07T10:47:34Z #raku <librasteve> melezhik: thanks ... will take a look | ||
lizmat | it's been a few years since I looked at the code of the IRC logs website | 13:40 | |
but I think it does caching there | |||
for the date page files (if not on today) | |||
13:41
apac joined
|
|||
lizmat | but I think I implemented that by looking at: is there a file with this name and its modified date is after server startup, then slurp the file and give that | 13:41 | |
sadly no support for SendFile (at least at the time I wrote that | 13:42 | ||
) | |||
melezhik. | Repeating my answer as irc log only keep initial answer , not later revisions done in discord … important details are missed This is a http caching . Cro as a web server could send http caching headers to inform browsers about static resources expiration date so they won’t overload web server requests and only request a new version of resource due expiration deadline, meanwhile using their local cache . So if | 13:44 | |
question about http caching in that context - then answer is yes. Caching thing in general - more broad topic usually mentioned in high load systems as a mechanism to couple with higher load requests | |||
13:49
derpydoo joined
13:50
sena_kun joined
14:32
derpydoo left
14:40
ulipink left
14:54
apac left,
ulipink joined,
ulipink left,
ulipink joined,
derpydoo joined
14:58
apac joined,
ulipink left
15:09
jpn joined
15:27
ulipink joined
15:32
ulipink left
15:41
derpydoo left
16:03
jjido left
16:05
abraxxa-home joined
16:08
abraxxa-home left
16:09
abraxxa-home joined
16:14
apac left
16:53
ulipink joined
16:58
ulipink left
17:09
yewscion joined
17:11
ulipink joined
17:14
yewscion left
17:16
ulipink left
17:23
guifa left
17:30
guifa joined
17:33
ulipink joined
17:37
ulipink left
17:49
yewscion joined
17:54
yewscion left
|
|||
librasteve | Xliff: here's what I found out from the docs | 17:56 | |
tellable6 | librasteve, I'll pass your message to Xliff | ||
librasteve | Xliff: (i) cro.raku.org/docs/reference/cro-ht...achability - so Cro::HTTP::Router gives you power over the HTTP cache-control headers (but then the cache is implemented in the browser - or somewhere in a web cache internet (as you probably know) | 17:57 | |
tellable6 | librasteve, I'll pass your message to Xliff | ||
librasteve | Xliff: (ii) cro.raku.org/docs/reference/cro-htt..._responses describes (with an example) of how to roll your own Cro middleware cache | 17:59 | |
tellable6 | librasteve, I'll pass your message to Xliff | ||
librasteve | Xliff: (iii) Cro::WebApp::Templates are held in a repository and are precompiled and cached when the server is started. | 18:00 | |
tellable6 | librasteve, I'll pass your message to Xliff | ||
18:06
jpn left
18:07
jpn joined,
ulipink joined
|
|||
librasteve | Xliff: while this module raku.land/github:scmorrison/Web::Cache was built for Bailador, it would probably be quite easy to cut and shunt this together with the Cro middleware example | 18:07 | |
tellable6 | librasteve, I'll pass your message to Xliff | ||
18:12
ulipink left
18:28
ulipink joined,
ulipink left,
ulipink joined
18:29
Guest37 joined
|
|||
Guest37 | yoyo | 18:29 | |
jdv | oyoy | 18:32 | |
Guest37 | I'm watching the Bruce Gray intro to raku .. haven't used perl in a long time and never was a wizard | 18:38 | |
18:39
yewscion joined
|
|||
Guest37 | i committed to put 3-4 hours into raku today to hopefully get excited about it | 18:42 | |
lizmat | well, if you have questions, Guest37, then you could also try asking here on on #raku-beginner | 18:43 | |
Guest37 | Thank you | 18:44 | |
18:45
ulipink left,
yewscion left
|
|||
lizmat | Guest37: also, if you're coming from Perl, then you might find this interesting: dev.to/lizmat/migrating-perl-to-raku-1c47 | 18:45 | |
Guest37 | My perl was in 2008 and never fully learned it. Coming most recently from Python and C++ | 18:47 | |
Those are ones I know the best | |||
lizmat | then perhaps: docs.raku.org/language/py-nutshell | 18:48 | |
we don't have one coming form C++ or C for that matter :-( | 18:49 | ||
Guest37 | That python one should be very helpful | ||
lizmat | I hope it will... if you have any suggestions to improve that nutshell, please leave a comment / make an issue :) | 18:52 | |
Guest37 | I will for sure | 18:53 | |
lizmat | ++Guest37 | ||
19:13
ulipink joined
19:18
ulipink left
19:22
Guest37 left
19:50
ulipink joined,
ulipink left,
ulipink joined
19:53
jpn left
19:55
ulipink left
19:59
melezhik joined
|
|||
melezhik | . | 19:59 | |
I've added Template6 to sparrow ecosystem - sparrowhub.io/plugin/template6/0.000003 | |||
example sparrowdo example - github.com/melezhik/sparrowdo-temp...late6.raku | 20:00 | ||
20:03
melezhik left
20:19
ulipink joined,
ulipink left,
ulipink joined
20:23
ulipink left
20:54
Sgeo joined,
ulipink joined,
ulipink left,
ulipink joined,
Aedil left
20:56
abraxxa-home left
21:00
ulipink left
21:14
guifa left
21:15
guifa joined
21:30
ulipink joined
21:35
ulipink left
21:45
Sgeo left
21:51
ulipink joined
21:57
ulipink left
22:05
Sgeo joined
22:27
ulipink joined
22:32
ulipink left
22:49
ulipink joined,
ulipink left,
ulipink joined
23:05
jjido joined
23:14
sena_kun left
23:18
sena_kun joined
23:27
lizmat_ joined
23:29
oodani_ joined,
oodani left,
lizmat left
23:32
lizmat_ left,
lizmat joined
23:36
sena_kun left
|