saraff-9EB1047A4BEB4cef8506B29BA325BD5A / Saraff.Twain.NET

Saraff.Twain.NET is the skillful scanning component which allows you to control work of flatbed scanner, web and digital camera and any other TWAIN device from .NET environment. You can use this library in your programs written in any programming languages compatible with .NET technology.
GNU General Public License v3.0
102 stars 35 forks source link

GetSources caching #68

Closed Ponkie closed 4 years ago

Ponkie commented 4 years ago

Hi Saraff,

I'm wondering if you've encountered this issue where GetSources is caching on the web browser, which results to not getting any scanners to return.

Let me know! Thanks!

I modified the method to receive a string parameter with timestamp, thinking it would make the method unique and will not cache, it still does the same.

I also tried modifying the REST method to POST because I've read that GET method is the reason why it is caching, but still getting the same result.

This issue happens to Microsoft Edge only, if I use Chrome or Firefox, my changes reflect there, it becomes POST method and does not cache, but going back to Edge it becomes GET. Already cleared the cache and browsing history as well.

image

saraff-9EB1047A4BEB4cef8506B29BA325BD5A commented 4 years ago

Hello, @Ponkie The question is not quite at the address. The project focuses on TWAIN, not web development. I can only say that the list of sources, as a rule, does not change, so the issue should not be critical.