When I upload an image in drupal 8 the imagestyles are not shown for the first time My settings are, 

allow_insecure_derivatives: true
suppress_itok_output: false


Editing the itok token for the image src works at the browser level.

Does anyone know what causes the issue and a fix for it?

Notes : 


When I hit CTRL+SHIFT+R in the browser the imagestyle images reappear. So the issues seems to be image is not present for the first time and browser is caching it.
The actual image can be accessed even for the first time without any issues. The issue is only with the image style images.
When I look at the actual image in the files folder, I see that there is an additional image with _0 attached to it. So looks like when the image is uploaded for the first time, it is assuming there is a duplicate and creating a new image. But still not sure why it would cause this issue.
We had similar issue in our project might be same please check this link.

https://www.drupal.org/node/2195311