mirror of https://github.com/Jackett/Jackett
Cache only used in case of search term
This commit is contained in:
parent
e9ae2d4cd8
commit
29bde68337
|
@ -175,8 +175,8 @@ namespace Jackett.Indexers
|
|||
var searchTerm = query.GetQueryString();
|
||||
var searchUrl = SearchUrl;
|
||||
|
||||
// Check cache first so we don't query the server
|
||||
if(!DevMode)
|
||||
// Check cache first so we don't query the server (if search term used or not in dev mode)
|
||||
if(!DevMode && !string.IsNullOrEmpty(searchTerm))
|
||||
{
|
||||
lock (cache)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue