tommy
August 11, 2015, 12:02pm
1
XP 5.3.0 does not return any cache headers for images, any reason for this ?
Ex:
http://localhost:8080/portal/master/unox/privat/_/image/216cc098-535c-4728-8254-553623ba1ea5/unox_sykkelglede.png.jpeg?filter=scaleBlock%28800%2C+490%29
#Request
Host: localhost:8080
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:39.0) Gecko/20100101 Firefox/39.0
Accept: image/png,image/*;q=0.8,*/*;q=0.5
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Referer: http://localhost:8080/portal/master/unox/privat
Cookie: _ga=GA1.1.2018777515.1424214583; JSESSIONID=12d89qjpkv36p1qiu9lsiqp1ct
Connection: keep-alive
Cache-Control: max-age=0
#Resonse
Content-Type: image/jpeg
Server: Jetty(9.0.z-SNAPSHOT)
Transfer-Encoding: chunked
tsi
August 11, 2015, 3:30pm
2
Hi Tommy!
This appears to be a bug. We’re looking into it. Hope to include a fix in 5.3.1 (which is just around the corner)
petter
August 13, 2015, 1:00pm
3
Hi Thomas,
Were you able to include this in 5.3.1 that was just released (can’t see it in the change list) ?
rmy
August 13, 2015, 1:12pm
4
Hi. This was postponed to 6.x due to the fact that implementing the image-caching without proper automatic invalidation would case a lot of other issue with images not being updated as expected when changing. But its not forgotten, just postponed a short while to make room for a much better solution.
tsi
October 28, 2015, 3:15pm
5
Hi!
Glad to report that perfect cache is now implemented for images, attachments and assets in 6.2 (ETA < 14 days)
1 Like