Hi, in my Pylons app i write a script to autogenerate thumbnail, from image geting by url.
To generate thumbnail i use PIL(python)
W wont to prevent image cache by browser.
I can't use after src ?[random_number] because the site, where i past this image must be static.
I try to send headers
response.headers['Cache-Control'] = 'no-store,no-cache, must-revalidate,post-check=0, pre-check=0,max-age=0'
But still don't work, the browser cache this image,
Can anyone help me to resolved this problem?
Thanks in advance.