My Cache problem


#1

The vid shows me logged in with everything loaded, then i change domain and return and things pop up super fast.Then i log out and log in forcing a 3 min loading time


#2

Did you see the message I sent you. I tested a file on 3 different hosts s3, github, Dropbox. It is dropbox causing your slowness.


#3

@chris but if it was cached it wouldn’t be loading from dropbox


#4

@Judas @OmegaHeron not if dropbox has cache meta tags that tell us to grab it, or check it, every time. Based on the testing I did, if you load these three files you will clearly see the difference.

amazon: https://s3.amazonaws.com/hifi-public/cozza13/judas/amazon.fbx
github: http://cozza13.github.io/assets/judas/github.fbx
dropbox: https://dl.dropboxusercontent.com/u/9428233/dropbox.fbx


#5

Fair enough and makes perfect sense. Seems dropbox can be dropped from good idea list then.

I had an idea for a distributed asset locator/server system but didn’t pursue it as I couldn’t find any info on some basics it would need as in how one could ident a user for things like accounting/quota usage and so on.


#6

Well on @chris advice i moved all my models to github. this woulda been a total pain to do but fortunately @thoys put together a cool script that re wrote all the model urls automatically , thanks man
its all loading really fast script below

https://gist.github.com/thoys/9b4645fa7dcb83492a78


#7

I have other cache problem that’s a showstopper for me.

Scripts get cached, so i cannot work on scripted entity. because it’s always after updating loading the old script. just tried it be teleporting out and back in. It’s still loading the cache version instead of pulling a new fresh one from disk. And like my other post , there’s also no reload button in entity properties to force a reload from url.