The repository is opensuse-theme-chameleon. git pull daily is enough. I just added semantic versions and published it to npm. Actually it is already in CDN https://unpkg.com/ <https://unpkg.com/#/> which automatically serve all node packages with version prefix. It is an alternative with a little advantage: URLs are prefixed with version number. So if I made some mistake in commits of chameleon theme, it won't break all sites, because they use a fixed, stable version. I hope we can also get a version prefixed directory. Like: https://static.opensuse.org/chameleon/v1.0.3/dist/css/chameleon.css <https://static.opensuse.org/chameleon/v1.0.3/dist/css/chameleon.css> I can write a script for this. -- Guo Yunhe / @guoyunhe / guoyunhe.me 2018年10月15日 下午8:52 by opensuse@cboltz.de:
Hello,
Am Sonntag, 14. Oktober 2018, 23:10:40 CEST schrieb Guo Yunhe:
The Chameleon skin has been applied to software.opensuse.org and wikis for a while. These sites are using Open Sans fonts and users who didn't install it may have to download fonts every time they visit an openSUSE site.
So I think if we host fonts in a single server, static.opensuse.org , users can load page faster. We can even configure cache so that font cache can be valid for a month because they rarely change.
I didn't find any way to contact the admins of static.opensuse.org . Need your help!
You found the right way - static.o.o is managed by the heroes ;-)
I like the idea of moving the fonts to static.o.o.
Maybe you should also consider to move most of the CSS and JS (except the wiki-specific parts) to static.o.o - that would probably be better and faster than piping 280 kB of CSS and 400 kB of JS through Mediawiki's load.php ;-) [1]
Now the question is how we best handle that on the technical side. IIRC static.o.o is build from 4 or 5 git repos, so adding the existing Chameleon repo [2] as another subdirectory is probably the easiest way.
I assume you want to have a cronjob that does "git pull" regularly? Also, do you prefer a specific path on static.o.o, or can we choose whatever fits?
Regards,
Christian Boltz
[1] I noticed increasing load on the wiki server since we use the Chameleon skin. That's not really surprising because the Bento skin used lots of files from static.o.o. My _guess_ is that piping a large amount of CSS and JS through load.php contributes to the load. However, I don't have solid numbers to confirm or deny this - we'll see what happens when we move the CSS and JS to static.o.o. (Note that Leap 15 was released the same day - I hope this also contributes to the load ;-)
[2] that's > https://github.com/openSUSE/opensuse-theme-chameleon <https://github.com/openSUSE/opensuse-theme-chameleon/>> - right?
-- Is a stable version of kmail planned? [Anders Lund in > https://bugs.kde.org/show_bug.cgi?id=259949#c364] <https://bugs.kde.org/show_bug.cgi?id=259949#c364]>
-- To unsubscribe, e-mail: > heroes+unsubscribe@opensuse.org <mailto:heroes+unsubscribe@opensuse.org> To contact the owner, e-mail: > heroes+owner@opensuse.org <mailto:heroes+owner@opensuse.org>
-- To unsubscribe, e-mail: heroes+unsubscribe@opensuse.org To contact the owner, e-mail: heroes+owner@opensuse.org