OWASP / Nest

Explore OWASP and be a part of it
https://nest.owasp.dev
MIT License
10 stars 11 forks source link

Implement indexed entities cache #6

Closed arkid15r closed 1 month ago

arkid15r commented 1 month ago

As Algolia has a cap of 10K free search requests per month it would make sense to avoid querying index backend for the same search queries more than once.

The implementation should utilize Django cache https://docs.djangoproject.com/en/5.1/topics/cache/

The caching system should work for all entities (we currently have projects and issues).

The default TTL should be 86400 as we update the index on a daily basis. The update process must invalidate all cached entities.

onass1 commented 1 month ago

/assign

arkid15r commented 1 month ago

Implemented in #23