YunoHost-Apps / friendica_ynh

Friendica package for YunoHost
http://friendi.ca/
Other
11 stars 12 forks source link

caching medias and static files #124

Closed OniriCorpe closed 5 months ago

OniriCorpe commented 5 months ago

Problem

Solution

PR Status

Automatic tests

Automatic tests can be triggered on https://ci-apps-dev.yunohost.org/ after creating the PR, by commenting "!testme", "!gogogadgetoci" or "By the power of systemd, I invoke The Great App CI to test this Pull Request!". (N.B. : for this to work you need to be a member of the Yunohost-Apps organization)

yunohost-bot commented 5 months ago

:sunflower: Test Badge

OniriCorpe commented 5 months ago

after tests, the files are already cached by friendica itself:

< last-modified: Sun, 11 Feb 2024 22:04:14 GMT
< etag: "b4f9b3c8c950bd5543fc0b65a6767ac5"
< expires: Mon, 10 Feb 2025 22:04:14 GMT
< cache-control: max-age=31536000
< content-security-policy: upgrade-insecure-requests
< x-content-type-options: nosniff
< x-xss-protection: 1; mode=block
< x-download-options: noopen
< x-permitted-cross-domain-policies: none
< x-frame-options: SAMEORIGIN
< permissions-policy: interest-cohort=()
< strict-transport-security: max-age=63072000; includeSubDomains; preload