On Sun, Jan 19, 2020 at 4:34 PM Roy Smith <[email protected]> wrote:
>
> Is there a way to set the cache-control header for files served by 
> tools-static.wmflabs.org?

Not easily no, there is no per-directory control of tools-static. We
do have some customizations in the nginx config. These can be seen at
<https://phabricator.wikimedia.org/source/operations-puppet/browse/production/modules/profile/templates/toolforge/static-server.conf.erb>.

If you have a specific need, you may create a Phabricator task
describing it. This is not a process that will scale well to all of
the tools with access to publish on tools-static, so if there is a lot
of demand for customizations we may need to find another way to
provide them.


Bryan
-- 
Bryan Davis              Technical Engagement      Wikimedia Foundation
Principal Software Engineer                               Boise, ID USA
[[m:User:BDavis_(WMF)]]                                      irc: bd808

_______________________________________________
Wikimedia Cloud Services mailing list
[email protected] (formerly [email protected])
https://lists.wikimedia.org/mailman/listinfo/cloud

Reply via email to