There used to be a --cache-buster option to pyjs. On Mon, Aug 24, 2015 at 3:17 AM, wb <[email protected]> wrote:
> I am looking for a solution done by program rather than asking users to > change their browser setting. I think that It is a common problem in > Pyjs. What do you do if your web visitors don't see the updated version > after modification? > > Thanks again. > > 2015년 8월 24일 월요일 오후 5시 23분 23초 UTC+9, Adrien 님의 말: > >> Hi, >> >> with Firefox you can open the web console (ctrl-shift-k) and in its >> settings, check something like "disable cache (when the toolbox is >> opened)". Then a normal ctrl-r or F5 should work as if you just emptied >> the cache. >> >> Adrien >> >> On 24/08/2015 08:23, wb wrote: >> > Hi, >> > >> > I found that webbrowsers didn't reload javascript files even after I >> > modified them. Pushing F5 button or shift-F5 button in the >> webbrowsers >> > seems to reload only static html files, not javascript files. The >> > javascript files are reloaded only when I manually delete browser >> cache, >> > and restart the browser. I am not sure whether it is because my >> > webserver uses frame for redirectioning, or it is a bug in >> webbrowsers. >> > >> > A common way to force to refresh javascript is to add a version number >> > to the file name after a question mark (ex: <src="my_source.js?v=1.1">) >> > or to the directory path (ex: <src="/v_1.1/my_source.js">), and it is >> > called "versioning". But, this technique is not possible without >> > modifying pyjs compiler because the loading part is done in pyjs. >> > >> > Is there anyone who experienced the javascript refresh problem? >> > >> > Thanks in advance. >> >> -- > > --- > You received this message because you are subscribed to the Google Groups > "Pyjs.org Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- --- You received this message because you are subscribed to the Google Groups "Pyjs.org Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
