[HOT] allow more aggressive caching for tasks.hotosm.org

Florian Lohoff f at zz.de
Sat Oct 25 18:39:15 UTC 2014

i have been looking at my squid logs lately and discovered that for
example the HOT task manager trys very hard to make static content
uncacheable - for example this (line from my squid cache):

1414261472.792   6464 TCP_MISS/200 95271 GET http://tasks.hotosm.org/static/js/lib/jquery-1.7.2.min.js? - DIRECT/ application/javascript

The "?" at the end of the URL causes this static content to be uncachable.

There are lots more examples which causes the web page to be much
slower than it needs to be. There are alternative ways to control
cachability of content on client side.

PLEASE - Use expire headers, timestamps or paths for
controlling caches.

I am living with a 384kbit/s connection and stuff like this makes
life a lot slower - also for people in desaster areas who most likely
fight for every kbit/s they can squeeze out of some flaky GSM link.

Florian Lohoff                                                 f at zz.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <http://lists.openstreetmap.org/pipermail/hot/attachments/20141025/400cbddd/attachment.sig>

More information about the HOT mailing list