Topic: HTTP Caching

My widget loads server data every time it runs, and I thought the chumby supported caching but it doesn't seem to be working.

My server response headers are:
Content-type: text/xml
Cache-Control: max-age=3600

I'm still getting requests every minute for the same data.  Am I missing something?

Re: HTTP Caching

It should be being cached.  Can you email me a typical URL so I can take a look to see what's happening?

We're pretty sure data is being cached, otherwise our servers would have melted down long ago smile

Note that the total cache size is 2MB, and includes widgets, the data used by them, etc.  Any widget employing a "cachebuster" trick could quickly fill up that cache, as well as widgets that pull large data such as photo widgets.

Re: HTTP Caching

Here's some log data for a particular user:

24.30.124.3 - - [09/Jan/2011:07:12:28 -0700] "GET /fcgi-bin/chumby.fcgi?action=votd&un=someuserid HTTP/1.1" 200 275 "-" "Mozilla/5.0 (compatible; U; Chumby; Linux) Flash Lite 3.1.5" -
24.30.124.3 - - [09/Jan/2011:07:13:13 -0700] "GET /fcgi-bin/chumby.fcgi?action=votd&un=someuserid HTTP/1.1" 200 275 "-" "Mozilla/5.0 (compatible; U; Chumby; Linux) Flash Lite 3.1.5" -
24.30.124.3 - - [09/Jan/2011:07:13:59 -0700] "GET /fcgi-bin/chumby.fcgi?action=votd&un=someuserid HTTP/1.1" 200 275 "-" "Mozilla/5.0 (compatible; U; Chumby; Linux) Flash Lite 3.1.5" -
24.30.124.3 - - [09/Jan/2011:07:14:44 -0700] "GET /fcgi-bin/chumby.fcgi?action=votd&un=someuserid HTTP/1.1" 200 275 "-" "Mozilla/5.0 (compatible; U; Chumby; Linux) Flash Lite 3.1.5" -
24.30.124.3 - - [09/Jan/2011:07:15:29 -0700] "GET /fcgi-bin/chumby.fcgi?action=votd&un=someuserid HTTP/1.1" 200 275 "-" "Mozilla/5.0 (compatible; U; Chumby; Linux) Flash Lite 3.1.5" -
24.30.124.3 - - [09/Jan/2011:07:16:14 -0700] "GET /fcgi-bin/chumby.fcgi?action=votd&un=someuserid HTTP/1.1" 200 275 "-" "Mozilla/5.0 (compatible; U; Chumby; Linux) Flash Lite 3.1.5" -
24.30.124.3 - - [09/Jan/2011:07:16:30 -0700] "GET /fcgi-bin/chumby.fcgi?action=votd&un=someuserid HTTP/1.1" 200 275 "-" "Mozilla/5.0 (compatible; U; Chumby; Linux) Flash Lite 3.1.5" -
24.30.124.3 - - [09/Jan/2011:07:17:15 -0700] "GET /fcgi-bin/chumby.fcgi?action=votd&un=someuserid HTTP/1.1" 200 275 "-" "Mozilla/5.0 (compatible; U; Chumby; Linux) Flash Lite 3.1.5" -

I replaced the username for privacy.

Re: HTTP Caching

Hmmm, that should be working.

We'll take a look.

Re: HTTP Caching

Did you find out anything about this one?

Re: HTTP Caching

No - nothing so far.