Probably by setting a query parameter with the git sha or similar like

/js/app.js?version=ad453f...

This avoids the caching, at least in cloudflare and similar cache services
as well browser I think.

/Linus

ons 6 feb. 2019 kl. 21:45 skrev Nick Mudge <mud...@gmail.com>:

> When I deploy my clojurescript application to production my users do not
> get the newest javascript "/js/app.js" file that is generated from
> clojurescript/reframe.  This file is cached in my users browsers.
>
> What is the best way to fix this problem?
>
> --
> Note that posts from new members are moderated - please be patient with
> your first post.
> ---
> You received this message because you are subscribed to the Google Groups
> "ClojureScript" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojurescript+unsubscr...@googlegroups.com.
> To post to this group, send email to clojurescript@googlegroups.com.
> Visit this group at https://groups.google.com/group/clojurescript.
>

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at https://groups.google.com/group/clojurescript.

Reply via email to