[Seaside] [ENH] WAForm to prevent degradation of rendered images

Brent Pinkney brent.pinkney at aircom.co.za
Sun May 29 23:18:10 CEST 2005


> This would be very useful, but - what degree of caching does it do?

> Does it cache the PNG data in the image?

Its #asMimeDocument method is very similar to Form's - except it can  
twiddle the ImageReadWrite subclass to instanciate as it is aware of the  
mime content type.

It does NOT read from the file after it has been instanciated - you will  
know more about whether that constitutes caching :)

> And does it allow the browser to cache the image on the client side
> (by having equal WAForm objects be #= to each other so that they get the  
> same URL)?

It didn't but the attached version does. Tested in Opera and Firefox.

Regards

Brent
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mimeTypesFor-brp.1.cs.gz
Type: application/x-gzip
Size: 675 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/seaside/attachments/20050529/a8a81b35/mimeTypesFor-brp.1.cs.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: waForm-brp.2.cs.gz
Type: application/x-gzip
Size: 1145 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/seaside/attachments/20050529/a8a81b35/waForm-brp.2.cs.bin


More information about the Seaside mailing list