Hi all,
I've wrote two patch for issue #7629.
pagure frontend: caching emojione sprites for 1 week
roles/pagure/frontend/templates/0_pagure.conf | 12 ++++++++++++ 1 file changed, 12 insertions(+)
diff --git a/roles/pagure/frontend/templates/0_pagure.conf b/roles/pagure/frontend/templates/0_pagure.conf index 50c2d6e9b..87009fce0 100644 --- a/roles/pagure/frontend/templates/0_pagure.conf +++ b/roles/pagure/frontend/templates/0_pagure.conf @@ -78,6 +78,12 @@ WSGIDaemonProcess paguredocs user=git group=git maximum-requests=1000 display-na
Alias /static /usr/lib/python2.7/site-packages/pagure/static/
+ <Location "/static/vendor/emojione/emojione.sprites.png"> + ExpiresActive On + ExpiresDefault "access plus 1 week" + Header append Cache-Control "public" + </Location> + SetEnv GIT_PROJECT_ROOT /srv/git/repositories
<Location /> @@ -145,6 +151,12 @@ WSGIDaemonProcess paguredocs user=git group=git maximum-requests=1000 display-na
Alias /static /usr/lib/python2.7/site-packages/pagure/static/
+ <Location "/static/vendor/emojione/emojione.sprites.png"> + ExpiresActive On + ExpiresDefault "access plus 1 week" + Header append Cache-Control "public" + </Location> + <Location /> WSGIProcessGroup paguredocs <IfModule mod_authz_core.c>
+1
On Fri, 29 Mar 2019 at 20:25, Kevin Fenzi kevin@scrye.com wrote:
+1 here.
I can apply and push it out if we get another +1.
kevin
infrastructure mailing list -- infrastructure@lists.fedoraproject.org To unsubscribe send an email to infrastructure-leave@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/infrastructure@lists.fedorapro...
infrastructure@lists.fedoraproject.org