[Labs-l] Tools static: Boost your webservice & avoid tracking

Hedonil hedonil at action.ms
Sat Aug 30 23:41:26 UTC 2014


If you (as tool maintainer) haven't already: Consider using 
- http://tools.wmflabs.org/static/
for your website's static resources like jquery, bootstrap etc.

- It now runs with 10 lighty-processes in parallel (static only)
and provides all optimal settings for
- necessary requests per https(s) connection
- proper cache-control directives
- CORS settings (if applicable)

Advantages:
- fast
- unloads your webservice from static resource handling (if hosted by
yourself)
- avoids accessing external sources ( and thus potential tracking)
- if an enduser uses several Tool Labs tools, these resources are
already cached


- Hedonil

CORS / Cache-control headers:
Access-Control-Allow-Methods:POST, GET, HEAD, OPTIONS
Access-Control-Allow-Origin:*
Cache-Control:public, max-age=86400, s-maxage=86400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.wikimedia.org/pipermail/labs-l/attachments/20140831/5d12b815/attachment.html>


More information about the Labs-l mailing list