Opened 4 years ago

Last modified 18 months ago

#3102 new enhancement

there should be a way to "dump" static stuff

Reported by: sa2ajj Owned by:
Priority: major Milestone: 0.9.+
Version: master Keywords: web
Cc: tardyp

Description

It's not wise to serve static content via Buildbot. It'd be better if we could do something like buildbot deploy <dir> [<master-dir>] to get all the static content in the specified <dir> (ala what trac has).

This way frontend web server could be configured to serve it directly.

Change History (4)

comment:1 Changed 4 years ago by sa2ajj

  • Cc tardyp added

Or like what django has.

comment:2 Changed 4 years ago by tardyp

The thing is there are no tons of static stuff. 4 files for the base, then 2 for the other plugins. Thise static stuff is heavily cached on the browser of the few users you have for a CI system.

Do you have any numbers on what performance gain you will get with such optimization?

statistics on the number of hits on the static files VS the API on nine.buildbot.net?

comment:3 Changed 4 years ago by dustin

  • Milestone changed from 0.9.0 to 0.9.+

Let's defer this until later. There are other options, too - cache directives and a proxy, for example.

Note: See TracTickets for help on using tickets.