datamade / how-to

📚 Doing all sorts of things, the DataMade way
MIT License
86 stars 12 forks source link

Expound on caching strategies/considerations for Django and JavaScript/React #96

Closed hancush closed 3 years ago

hancush commented 4 years ago

Documentation request

I'm just about settled on a caching strategy for the payroll site, and there were a lot of considerations for identifying the right approach:

I'd like to write a short blurb on these considerations and summarize some best practices when any/all of them come up in our Django/JavaScript hybrid projects.

Relevant PR: https://github.com/datamade/bga-payroll/pull/466

hancush commented 3 years ago

Worth noting that I ripped our compressor stack out of payroll because it was too slow for production. Would not use it as a model.

hancush commented 3 years ago

This is actually not something I feel comfortable with, and will likely be superseded by #149. Closing.