I haven't used slick-utils, but if you can't find any option for caching in the documentation, then it's very simple to implement it yourself.
- Create your own TextureLoader class which contains an instance of the slick-utils loader (unless the Slick loader uses static methods, of course) and a java.util.HashMap<String,Texture>.
- Implement a load method that accepts a file name and returns a texture.
- Inside your load method, take the following steps:
- Try to fetch the texture from your cache by calling 'get' on your hash map instance using the file name as a key.
- If the 'get' call returns null, call the Slick texture loader, add the loaded texture to the hash map with the file name as the key, then return it.
- If the 'get' call doesn't return null, then simply return the texture.