# 10. Best Practices

In this chapter, we present some of the best ways to use Apache CouchDB. These usage patterns reflect many years of real-world use. We hope that these will jump-start your next project, or improve the performance of your current system.

- 10.1. Document Design Considerations
  - 10.1.1. Don’t rely on CouchDB’s auto-UUID generation
  - 10.1.2. Alternatives to auto-incrementing sequences
- 10.2. Document submission using HTML Forms
  - 10.2.1. The HTML form
  - 10.2.2. The update function
  - 10.2.3. Example output
- 10.3. JavaScript development tips
- 10.4. Reverse Proxies
  - 10.4.1. Reverse proxying with nginx
  - 10.4.2. Reverse Proxying with Caddy