I found out, that it was caused by wrong regex which checked if isRemote.
I hope that it would help to someone who will struggle why caman does not work or is slow on his server.
I didn't test if the regex will handle all possible variations of URL addresses, as I needed to solve it immediately. So solution would be to send pull request with some dumbproof regex.
http://example-site.com/image_filters/294?camanProxyUrl=http://example-site.com/uploads/image.jpg
I found out, that it was caused by wrong regex which checked if isRemote. I hope that it would help to someone who will struggle why caman does not work or is slow on his server.
I didn't test if the regex will handle all possible variations of URL addresses, as I needed to solve it immediately. So solution would be to send pull request with some dumbproof regex.