1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-02-25 15:42:48 +00:00

Cache only used in case of search term

This commit is contained in:
JigSawFr 2015-12-29 11:30:55 +01:00
parent e9ae2d4cd8
commit 29bde68337

View file

@ -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)
{