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

Asset caching #15

Open
eins78 opened this issue Aug 23, 2013 · 2 comments
Open

Asset caching #15

eins78 opened this issue Aug 23, 2013 · 2 comments
Milestone

Comments

@eins78
Copy link
Member

eins78 commented Aug 23, 2013

mill doctor should check if there are any online dependencies

  • images
  • css
  • css-fonts

log-term we could also cache source files (requested by @L337hium), ie. go through the BIBTEX file.

protocols:

  • http(s)
  • ftp
  • torrent/magnet link
  • ssh/scp
  • git
@eins78
Copy link
Member Author

eins78 commented Aug 23, 2013

fallback urls:

url: "http://example.com/foo"

url: [ "http://example.com/foo", "http://thepiratebay.org/torrent/foo" ]

@eins78
Copy link
Member Author

eins78 commented Aug 23, 2013

cache folder with hashes

./.cache/$URI/$YYYY-MM-DD.$hh.mm_.$hash_of_content/the_content.avi

example:

./.cache/http%3A%2F%2Fexample.com%2Ffoo/2013-01-01_13.37_12345fefe/the_content.avi

problems to solve: invalid characters in paths (-> JSON file with mapping or URL-encode it)

@eins78 eins78 added this to the 1.0.0 milestone Feb 19, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant