GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Embed Notice

HTML Code

Corresponding Notice

  1. Embed this notice
    Monospace Mentor (monospace@floss.social)'s status on Thursday, 11-Jul-2024 15:29:42 JSTMonospace MentorMonospace Mentor
    in reply to
    • Matthias Pfefferle

    @pfefferle Das ist einfach zu lösen, denn man muss einem (standardkonformen) Cache nur mitteilen, dass dieselbe URL verschiedene Inhalte ausliefert, je nachdem, welches Format angefordert wird. Dafür ist der `Vary`-Header zuständig, weshalb meine Lösung in der `.htaccess` so aussieht:

    <IfModule mod_headers.c>
    Header merge Vary "Accept"
    </IfModule>

    That's it!

    In conversation11 months ago from floss.socialpermalink
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.

Embed this notice