First guess would be your mod_expires configuration in Apache. Apache can, and will, override the headers that the app sends. http://httpd.apache.org/docs/2.2/mod/mod_expires.html
Chuck On 2015-01-23, 5:21 PM, "OC" wrote: Hello there, in my image URL direct action, I set up caching headers in my WOResponse so that the client caches the image. When I have a look through curl, I _am_ getting those headers all right: === 54 /tmp> curl -sD - -o /dev/null 'http://aukce1.fskprojektova.cz/cgi-bin/WebObjects/REBOISx.woa/wa/banner?size=103747&mkpk=1000002&lang=CZ' -A 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/537.71 (KHTML, like Gecko) Version/6.1 Safari/537.71' HTTP/1.1 200 Apple Date: Sat, 24 Jan 2015 01:16:07 GMT Server: Apache/2.2.24 (Unix) mod_ssl/2.2.24 OpenSSL/0.9.8y cache-control: private, max-age=36000 expires: 2015-01-24 03:16:07 Etc/GMT content-length: 103747 MS-Author-Via: DAV Content-Type: image/png 55 /tmp> === It does not seem to work in browser though -- Safari shows me the response headers for the very same URL in a different (and wrong) way: <cid:8AE63218-C754-4CD7-A287-9C06F4EA9200>PastedGraphic-7.tiff Has anybody the slightest idea what might be the culprit? Note: the problem does not seem to be local to my computer/browser -- another user reported the same (wrong, as in the screenshot) headers in his Chrome. Thanks a lot, OC
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com