Hi guys,
today I work on smarter cache updates.
Scenario before:
1) xml-rpc SearchSubtitles with moviehash, moviesize and sublanguageid
2) some results found or no results found, cached for 24 hours be default
3) (Try)UploadSubtitles() with given moviehash, moviesize, and sublanguageid
4) xml-rpc SearchSubtitles with moviehash, moviesize and sublanguageid => come from cache
Fixed now:
1) xml-rpc SearchSubtitles with moviehash, moviesize and sublanguageid
2) some results found or no results found, cached for 24 hours be default
3) (Try)UploadSubtitles() with given moviehash, moviesize, and sublanguageid, cache is expired
4) xml-rpc SearchSubtitles with moviehash, moviesize and sublanguageid => come from database and cached for 24 hours.