Augustin Sorel
Augustin Sorel
Explore posts from servers
HHono
Created by Augustin Sorel on 9/4/2024 in #help
server static file + caching
that sounds good I will keep an eye on it. Thanks for the help 🫶
15 replies
HHono
Created by Augustin Sorel on 9/4/2024 in #help
server static file + caching
if you then run the app with bun dev or bun server:dev and open up the dev tool you should see that the css file isn't being cached by the browser.
15 replies
HHono
Created by Augustin Sorel on 9/4/2024 in #help
server static file + caching
My bad I should have explained that, sorry. if you run bun styles:build this should generate the css file in public/styles.css. Then in my /src/index.ts I am serving the folder public statically.
15 replies
HHono
Created by Augustin Sorel on 9/4/2024 in #help
server static file + caching
Thanks for taking your time and looking into it 🙏 here is the github repo: https://github.com/AugustinSorel/ungrading-portfolio
15 replies
HHono
Created by Augustin Sorel on 9/4/2024 in #help
server static file + caching
not really as I am not using cloudflare. I am just running a basic vps
15 replies
HHono
Created by Augustin Sorel on 9/4/2024 in #help
server static file + caching
No description
15 replies
HHono
Created by Augustin Sorel on 9/4/2024 in #help
server static file + caching
Sorry I should have mentioned that in the question, I was talking about the built in browser cache.
15 replies
HHono
Created by Augustin Sorel on 8/10/2024 in #help
Error per route
nice thank you very much this is making more sense. Out of interest do you know why this cb has to be definied before the actual handler ?
7 replies
HHono
Created by Augustin Sorel on 8/10/2024 in #help
Error per route
but wouldn't this be global ? Since it's a middleware
7 replies