first I want to thank you for this very nice piece of software!
I've got two questions:
- Is it possible to give some parameter to iipsrv to flush the cache?
I'm going to use iipsrv for user editable images, so it would be really
nice (without ugly file renaming) to say iipsrv to flush the image or
have some switch to respect the image creation/modification timestamp.
Thanks in advance!
You seem to have CSS turned off.
Please don't fill out this field.
I've just updated the svn trunk with image timestamp checking. The cache now compares the image modification time to that of the tiles in it's cache and flushes outdated ones.
You can get hold of the code from svn with the command:
svn co https://iipimage.svn.sourceforge.net/svnroot/iipimage/iipsrv/trunk iipsrv
If anyone has any problems, please let me know!
Glad you like it :-)
Unfortunately, no you cannot flush the cache in this way at the moment, but it is something I will definitely add to the next release, especially as I also need this functionality myself ;-)
The parameters are a subset of those listed in the IIP specifications (http://iipimage.sourceforge.net/protocol.shtml). The main commands are:
CVT to generate a full jpeg image
JTL to get a single tile
* TIL to get a range of tiles
Then, there are modifier parameters that work with the commands, such as
FIF to specify the image path
WID image width for CVT
HEI image height for CVT
* RGN a region of an image
I'll update the website soon to more clearly specify which commands are available.