Dan Jacob

Results 41 comments of Dan Jacob

Personally I just use a single JS or CSS bundle anyway using webpack or esbuild - it seems like existing tools (either Django pipeline or JS/node-based tools) already do this...

Yes: makes more sense. It might be something you would want to configure/opt out of however in case people have their own build setup.

Components media currently works same way as forms doesn't it? (Not sure as I don't use components with own JS/CSS).

For a browser frontend I would stick to server HttpOnly cookies that are not accessible to your JS code at all, combined with some form of CSRF protection for POST...

Update: it looks like the best workaround is to send Cache-Control: no-store, max-age=0 in the header. For example, I have a Django middleware like this: ``` class CacheControlMiddleware: def __call__(self,...

My solution was to just set ``` ``` This also fixed an issue with client DOM changes (e.g. modals opened using AlpineJS) from being triggered on cache reload.

As I mentioned, I tried the hx-redirect header. Should the response status be 200?

You would probably need to have the ability to pass in variables as with an `{% include %}` tag. I'm wondering what the benefit is here vs just using plain...

OK, but this makes anything beyond the very simple use case difficult: for example, let's say we have a row of items, and each item has it's own frame. Here's...

I've tried both `git_remote_url: 'ssh://[email protected]:22/~/appname'` and `git_remote_url: 'ssh://[email protected]:22/appname'` with a working Dokku install and both fail with ```Pushing to Dokku Host fatal: not a git repository (or any parent up...