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

Motivation for storing data in both data and download folders #4

Open
joewiz opened this issue Oct 25, 2014 · 1 comment
Open

Motivation for storing data in both data and download folders #4

joewiz opened this issue Oct 25, 2014 · 1 comment

Comments

@joewiz
Copy link

joewiz commented Oct 25, 2014

Why does the build.xml file create zipped versions of each file, then zip both the originals and the zips into the .xar and keep both in the db? This seems to duplicate data. But perhaps there's a good reason?

@joewiz joewiz changed the title Just curious Motivation for storing data in both data and download folders Oct 25, 2014
@jensopetersen
Copy link
Contributor

This is done simply to ease the load on the server. The once compressed files are indexed and the twice compressed files are stored separately to be downloaded. Of course, the "live" files could be zipped on the fly, but since they are not edited on the server (yet), there is no reason to do so.

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