阅读背景:

angularjs,服务器上的图像更改后的图像刷新。 (缓存问题)

来源:互联网 

I've written a directive that allows the user to upload photos then displays them. the user can then click on one of those displayed images and crop it using Jcrop. After the user is done cropping the image, the information is sent to the server, is parsed, then the image is cropped and put back in the db. this new cropped image has the same reference as it did before; the original image is overwritten. This is all done on a spring server. I need to figure out how to get the image to refresh and display the new cropped image. The main issue is that the image and the request (I think) are both cached. I'm fairly new to angular and don't know a lot about the caching factory process.I've written a directive that allows the user t




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: