-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Lyallex,

On 6/10/2009 9:41 AM, Lyallex wrote:
> Fetching images from the database every time results in a clunky page
> load so I want to cache the images to disk
> the first time an item is accessed my cache manager checks the disk
> cache to see if images for that item are available.
> If not it loads them onto the disk.

I'm interested: what db are you using, what is your network topology,
and what kind of performance increase are you observing?

Also, what code are you using to serve the bytes of the locally-cached
files? DefaultServlet?

> I can't use symbolic links to place the imagecache outside the
> application space because I develop on Windows and deploy to Linux
> (historical, nothing I can do about it)

This shouldn't matter: you should be able to write files anywhere you
please. You don't have to be restricted to the deployment directory.
What about writing to C:\imagecache or ~/imagecache?

Also, on Windows, you might check out mklink.exe

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkowJeYACgkQ9CaO5/Lv0PASNwCfXxHdleZYBlVDr8ClI+seB/14
+qYAoKundWQ0c+HeYYD1J0xEVSGwhMX0
=9PcM
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to