# `TzWorld.Backend.DetsWithIndexCache`
[🔗](https://github.com/kipcole9/tz_world/blob/v2.5.0/lib/tz_world/backend/dets_with_index_cache.ex#L1)

> This module is deprecated. Use TzWorld.Backend.SpatialIndex instead. This backend will be removed in the next release..

Resolves a timezone from a coordinate using a DETS file of timezone
shapes together with an in-memory index of their bounding boxes.

> #### Deprecated {: .warning}
>
> This backend is deprecated and will be removed in the next release.
> Use `TzWorld.Backend.SpatialIndex` instead.
>
> `SpatialIndex` reads the `.tzw1` data file directly, so it does not
> need the separate DETS cache this backend maintains -- a file an
> order of magnitude larger than the data itself. It also answers
> lookups from `:persistent_term` rather than through a GenServer
> mailbox, so it is faster and has no single-process bottleneck.

# `child_spec`

Returns a specification to start this module under a supervisor.

See `Supervisor`.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
