chore(deps): change custom `LRUCache` to `cachetools.LRUCache` by Mantisus · Pull Request #988 · apify/crawlee-python

@Mantisus

@Mantisus self-assigned this

Feb 16, 2025

vdusek

@Mantisus

@Mantisus

@Mantisus

@vdusek vdusek changed the title chore(deps)!: change custom LRUCache to cachetools.LRUCache chore(deps): change custom LRUCache to cachetools.LRUCache

Feb 17, 2025

@Mantisus

@Mantisus

Mantisus added a commit to Mantisus/crawlee-python that referenced this pull request

Feb 19, 2025
…#988)

### Description

- change custom `LRUCache` to `cachetools.LRUCache`. In my opinion,
`functools.lru_cache's` logic isn't well-suited for this use case.
Therefore, if we want to modify our caching approach, using `cachetools`
appears to be a better option.

### Issues

- Closes: apify#86