Browse files

Some static file thoughts

  • Loading branch information...
1 parent 57a89cb commit a59e0b5ecd98814b4666598b03040929027db25e @Almad Almad committed Aug 29, 2010
Showing with 24 additions and 1 deletion.
  1. +23 −0 docs/source/files.rst
  2. +1 −1 docs/source/index.rst
@@ -0,0 +1,23 @@
+File and media handling
+Static files
+Static files are those distributed with builds. They have very long cache time; they are, however, purged with every build.
+There are plans for shared, never-to-expire CDN (like, say, javascript libraries that are always in for library-version-min.js).
+Media files
+Media files are those that are uploaded by user: pictures, avatars and friends. They should be shared across all servers and they should play nicely with reusable apps. Thus, they use default MEDIA_URL and MEDIA_ROOT settings.
+We currently do not have cookie-less domain, so we'll just use cdn will probably be used for shared statics.
+As we share database, we shall hope for non-interfering uploads in shared MEDIA_ROOT, defined in rpgcommon. God is with us.
+There is WIP project called "treasury": each user has quota for uploading files. Those can be then linked/shared/embedded into articles. It's up to user how he will handle it (I'd put 5MB per user by default, allow embedding via oembed to use flickr or similar; paying users will of course has more. Using rsync to revy will help us put it out of our expensive scsi disks...or shall we use S3 from the start?).
@@ -3,7 +3,7 @@
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
-Welcome to RPGPlanet (meta)'s documentation!
+RPGPlanet (meta)

0 comments on commit a59e0b5

Please sign in to comment.