My understanding of the CacheContent directive in the config is that it lets
WebKit cache the content and serve it from the cache rather than from the
disk. There's some performance increase there, but not from the client side.
>From the perspective of the browser it's still dynamic content.  (That is,
Apache doesn't know that it hasn't been modified since the last time the
browser got the image.)

We've been using the fairly simple URL rewrites we found on the Webware Wiki
for static content, and they work fine.

Caveat: I'm a fount of misinformation at times.

Cheers!
--
David Hancock | [EMAIL PROTECTED] | 410-266-4384 


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Greg
McClure
Sent: Wednesday, June 09, 2004 5:12 PM
To: [EMAIL PROTECTED]
Subject: [Webware-discuss] Reloading issue


Yo folks,

I've got Webware 0.8.1 running on my FreeBSD box with Cheetah templates, and
things are working fine, *except* ... images keep reloading with each call
to the page, which tells me that things aren't caching.

I've got:

        'CacheServletClasses':          1, # set to 0 for debugging
        'CacheServletInstances':        1, # set to 0 for debugging

And this, too:
        'UnknownFileTypes': {
                'ReuseServlets': 1,

                # Technique choices:
                # serveContent, redirectSansAdapter
                'Technique': 'serveContent',

                # If serving content:
                'CacheContent': 1,  # set to 0 to reduce memory use
                'CheckDate':    1,
        },

I could just configure Apache to handle the static stuff, but I would like
to know what I'm doing wrong since the proper behavior should be to cache,
right?

Autoreload is turned off.

If anyone has any insights they would be most appreciated.

Peace,
Greg



-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss


-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to