Skip to main content

Search

Items tagged with: GoActivityPub


Another small win today.

#Oni, the single user federated instance based on #GoActivityPub, serves HTML and #ActivityPub content from the same URLs based on what the clients request.

Firefox was caching the responses without taking into consideration the Content-Type, and was serving the JSON instead of HTML if refreshing a page. Only today I was reminded of the Vary header and fixed the problem. Yay! 😁

I'm a little bit ashamed of myself that I've forgotten about it.