maximilianh / cellBrowser

main repo: https://github.com/ucscGenomeBrowser/cellBrowser/ - Python pipeline and Javascript scatter plot library for single-cell datasets, http://cellbrowser.rtfd.org
https://github.com/ucscGenomeBrowser/cellBrowser/
GNU General Public License v3.0
104 stars 41 forks source link

cache problem of google chrome browser or server httpd setting? #255

Open yesonse opened 1 year ago

yesonse commented 1 year ago

I got a problem that bothered me for a long time.

I run well with a ucsc cell browser on a ubuntu server and keep adding new datasets into it. But each time when I finished adding a new dataset and want to check it in my laptop, the new dataset did not show up instantly, so can not be opened with my google chrome browser in my mac laptop, only those old datasets showed. The new dataset would show up the second day, but not instantly after I finished building it, reloading the webpage did not work too.

Is it a some cache issue with my laptop google chrome browser or an issue of my ubuntu server http setting? my ubuntu httpd server setting is the default one of ubuntu system without anything changed.

I also wander if this happened to others.

Thanks

Robin

maximilianh commented 1 year ago

Hi Robin,

it's possible that this is still happening, I've tried a few things to avoid it but it's possible that they didn't work.

Is your dataset part of a collection or is it a "top-level" dataset?

Did you try to click shift+reload? That's what I do when I add new datasets in Chrome.

The main index.html page tries to avoid getting cached with a meta data. Then all the datasets have their own md5 in the URL... so in principle, they should be reloaded if a new one is added...

On Mon, Oct 24, 2022 at 11:19 PM yesonse @.***> wrote:

I got a problem that bothered me for a long time.

I run well with a ucsc cell browser on a ubuntu server and keep adding new datasets into it. But each time when I finished adding a new dataset and want to check it in my laptop, the new dataset did not show up instantly can not be opened with my google chrome browser in my mac laptop, only those old datasets showed. The new dataset could show up the second day, but not instantly after I finished building it.

Is it a some cache issue with my laptop google chrome browser or an issue of my ubuntu server http setting? my ubuntu httpd server setting is the default one of ubuntu system without anything changed.

I also wander if this happened to others.

Thanks

Robin

— Reply to this email directly, view it on GitHub https://github.com/maximilianh/cellBrowser/issues/255, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACL4TIFUYNBB5FQ4JLCHR3WE34OVANCNFSM6AAAAAARNLVN5I . You are receiving this because you are subscribed to this thread.Message ID: @.***>

yesonse commented 1 year ago

Thanks, shift + reload seemed works! They are part of collection, not the "top-level" datasets.

maximilianh commented 1 year ago

Great. Do you use the Chrome Debugger/Inspector? If yes, can you check next time in the network tab if the "MD5" part of the collection's dataset.json file URL changes when you add a dataset to this collection? The problem must be somewhere around how this MD5 is updated. It sounds as if it's not updated.

On Mon, Oct 24, 2022 at 11:43 PM yesonse @.***> wrote:

Thanks, shift + reload seemed works! They are part of collection, not the "top-level" datasets.

— Reply to this email directly, view it on GitHub https://github.com/maximilianh/cellBrowser/issues/255#issuecomment-1289655802, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACL4TIKXYO3HUZECHGSFVTWE37JLANCNFSM6AAAAAARNLVN5I . You are receiving this because you commented.Message ID: @.***>