phildini / logtacts

Better contact management.
https://www.contactotter.com
MIT License
61 stars 19 forks source link

Static assets should auto-compile and update. #76

Closed phildini closed 8 years ago

phildini commented 8 years ago

Not sure how to make this happen safely, but we should be referencing new versions of assets when they're pushed to clear the cache.

paulproteus commented 8 years ago

My usual preference on these things is to refer to assets by a name that indicates the build, or alternatively, indicates their content. There are a variety of open source Django packages that enable this.

phildini commented 8 years ago

@paulproteus Can you name some? Finding examples that you like would be really helpful, and I agree about including build or commit info.

PJJ http://philipjohnjames.com

On Wed, Apr 27, 2016 at 6:01 PM, Asheesh Laroia notifications@github.com wrote:

My usual preference on these things is to refer to assets by a name that indicates the build, or alternatively, indicates their content. There are a variety of open source Django packages that enable this.

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/phildini/logtacts/issues/76#issuecomment-215277376

phildini commented 8 years ago

I ended up making this work by using whitenoise and django's built-in static handling. Good enough for now.