From e2544a2a223b8ab2fb9efe00036b755b6e2cd7e7 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Sun, 2 Dec 2018 07:44:59 +1030 Subject: [PATCH] Prevent caching of JSON:API responses See https://discuss.flarum.org/d/17793-a-force-refresh-fixes-everything-temporarily --- public/.htaccess | 1 + 1 file changed, 1 insertion(+) diff --git a/public/.htaccess b/public/.htaccess index 373746f..4ebf007 100644 --- a/public/.htaccess +++ b/public/.htaccess @@ -40,6 +40,7 @@ Options -MultiViews ExpiresByType application/ld+json "access plus 0 seconds" ExpiresByType application/schema+json "access plus 0 seconds" ExpiresByType application/vnd.geo+json "access plus 0 seconds" + ExpiresByType application/vnd.api+json "access plus 0 seconds" ExpiresByType application/xml "access plus 0 seconds" ExpiresByType text/calendar "access plus 0 seconds" ExpiresByType text/xml "access plus 0 seconds"