Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"force_load" optio HttpFetcher.open_url()-metodissa ei tee mitään #16

Open
jlehtoma opened this issue Oct 10, 2012 · 0 comments
Open
Assignees

Comments

@jlehtoma
Copy link
Contributor

Lisää keskustelua aiheesta täällä:

jlehtoma@97024f3#commitcomment-1973338

@juyrjola kirjoitti:

Hmm, there is a "force_load" option in HttpFetcher.open_url(), but now it seems it's not used for anything... You could add an option "--cache" to run-importers.py that you could use to
specify the cache directory. If that's not set, then cache would not be enabled.`
[...]
Ideally, we would do a HTTP HEAD and check the Modified timestamp (or however it's called) and only fetch the new file if the local copy is older. For now, a --disable-cache would do the
trick. Making it a refresh would need some modifications in the cache code for replacing the stored copy. IIRC, the "force_load" option was supposed to do exactly that

@ghost ghost assigned juyrjola Oct 10, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants