Jackett/src/Jackett.Common/Content
Diego Heras 69125add3e
core: redo search cache from scratch. resolves #10382 (#10447)
In simple words, when you make a request in Jackett, the results are saved in memory (cache). The next request will return results form the cache improving response time and making fewer requests to the sites.
* We assume all indexers/sites are stateless, the same request return the same response. If you change the search term, categories or something in the query Jackett has to make a live request to the indexer.
* There are some situations when we don't want to use the cache:
** When we are testing the indexers => if query.IsTest results are not cached
** When the user updates the configuration of one indexer => We call CleanIndexerCache to remove cached results before testing the configuration
** When there is some error/exception in the indexer => The results are not cached so we can retry in the next request
* We want to limit the memory usage, so we try to remove elements from cache ASAP:
** Each indexer can have a maximum number of results in memory. If the limit is exceeded we remove old results
** Cached results expire after some time
* Users can configure the cache or even disable it
2020-12-11 23:14:21 +01:00
..
bootstrap Feature/autofac tidyup (#2096) 2017-11-08 15:45:21 +01:00
css Feature/autofac tidyup (#2096) 2017-11-08 15:45:21 +01:00
fonts Feature/autofac tidyup (#2096) 2017-11-08 15:45:21 +01:00
images Feature/autofac tidyup (#2096) 2017-11-08 15:45:21 +01:00
libs Core: Fix line endings to match style guide(#7476) 2020-03-03 10:28:26 -06:00
animate.css Feature/autofac tidyup (#2096) 2017-11-08 15:45:21 +01:00
apple-touch-icon-57x57.png Feature/autofac tidyup (#2096) 2017-11-08 15:45:21 +01:00
apple-touch-icon-72x72.png Feature/autofac tidyup (#2096) 2017-11-08 15:45:21 +01:00
apple-touch-icon-76x76.png Feature/autofac tidyup (#2096) 2017-11-08 15:45:21 +01:00
apple-touch-icon-114x114.png Feature/autofac tidyup (#2096) 2017-11-08 15:45:21 +01:00
apple-touch-icon-120x120.png Feature/autofac tidyup (#2096) 2017-11-08 15:45:21 +01:00
apple-touch-icon-144x144.png Feature/autofac tidyup (#2096) 2017-11-08 15:45:21 +01:00
apple-touch-icon-152x152.png Feature/autofac tidyup (#2096) 2017-11-08 15:45:21 +01:00
apple-touch-icon-180x180.png Feature/autofac tidyup (#2096) 2017-11-08 15:45:21 +01:00
apple-touch-icon.png Feature/autofac tidyup (#2096) 2017-11-08 15:45:21 +01:00
binding_dark.png Feature/autofac tidyup (#2096) 2017-11-08 15:45:21 +01:00
common.js Core: Fix line endings to match style guide(#7476) 2020-03-03 10:28:26 -06:00
custom.css core: redo search cache from scratch. resolves #10382 (#10447) 2020-12-11 23:14:21 +01:00
custom.js core: redo search cache from scratch. resolves #10382 (#10447) 2020-12-11 23:14:21 +01:00
custom_mobile.css core: redo search cache from scratch. resolves #10382 (#10447) 2020-12-11 23:14:21 +01:00
favicon.ico webui: Optimize favicon.ico with leanify (#7334) 2020-02-27 07:30:21 +13:00
index.html core: redo search cache from scratch. resolves #10382 (#10447) 2020-12-11 23:14:21 +01:00
jacket_medium.png Feature/autofac tidyup (#2096) 2017-11-08 15:45:21 +01:00
login.html Core: Fix line endings to match style guide(#7476) 2020-03-03 10:28:26 -06:00