Site changes publishing to live site but not showing in Panel

Hi all,

I’m having an issue with a Kirby 3 panel. Updating works as expected in my local environment (MAMP), but once I move the site to the server the panel is essentially frozen at that moment in time. I can log in, begin to change text, add new images /posts / pages, etc, but when I hit save the panel seems to just revert back to the state of install. But when I look at the live site, everything is there.

I’ve tested on multiple browsers and the behavior is the same. If I clean the cache on all browsers the panel updates but then freezes there. I have also checked my PHP version and it seems up to date and mbstring seems enabled -

I’ve deleted the whole install a couple of times and reuploaded it but am getting the same result. Debug mode hasn’t revealed anything and all my permissions seem to be right on the files.

Does anyone have any suggestions about what I should try next?



That seems to be a server side caching issue as described here:

Hi Texnixe, apologies for the late response to your quick response!

I am tinkering with the following addition to the .htaccess file but am still having some issues. I will update with results shortly!

<IfModule mod_expires.c>
          ExpiresActive on

          ExpiresByType image/jpg "access plus 60 days"
          ExpiresByType image/png "access plus 60 days"
          ExpiresByType image/gif "access plus 60 days"
          ExpiresByType image/jpeg "access plus 60 days"

          ExpiresByType text/css "access plus 1 days"
          ExpiresByType text/html "access plus 1 days"

          ExpiresByType image/x-icon "access plus 1 month"

          ExpiresByType application/pdf "access plus 1 month"
          ExpiresByType audio/x-wav "access plus 1 month"
          ExpiresByType audio/mpeg "access plus 1 month"
          ExpiresByType video/mpeg "access plus 1 month"
          ExpiresByType video/mp4 "access plus 1 month"
          ExpiresByType video/quicktime "access plus 1 month"
          ExpiresByType video/x-ms-wmv "access plus 1 month"
          ExpiresByType application/x-shockwave-flash "access 1 month"

          ExpiresByType text/javascript "access plus 1 week"
          ExpiresByType application/x-javascript "access plus 1 week"
          ExpiresByType application/javascript "access plus 1 week"


Hi @texnixe,

Just a final note that I was able to resolve this. After a bit of trial and error I found I got the best results from the following:

<IfModule mod_headers.c>
    Header unset ETag

FileETag None

<IfModule mod_expires.c>

    ExpiresActive on
    ExpiresDefault                                      "access plus 1 month"

  # CSS

    ExpiresByType text/css                              "access plus 1 year"

  # Data interchange

    ExpiresByType application/json                      "access plus 0 seconds"
    ExpiresByType application/ld+json                   "access plus 0 seconds"
    ExpiresByType application/schema+json               "access plus 0 seconds"
    ExpiresByType application/geo+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"

  # HTML

    ExpiresByType text/html                             "access plus 0 seconds"

  # JavaScript

    ExpiresByType application/javascript                "access plus 1 year"
    ExpiresByType application/x-javascript              "access plus 1 year"
    ExpiresByType text/javascript                       "access plus 1 year"

  # Markdown

    ExpiresByType text/markdown                         "access plus 0 seconds"

  # Media files

    ExpiresByType audio/ogg                             "access plus 1 month"
    ExpiresByType image/bmp                             "access plus 1 month"
    ExpiresByType image/gif                             "access plus 1 month"
    ExpiresByType image/jpeg                            "access plus 1 month"
    ExpiresByType image/png                             "access plus 1 month"
    ExpiresByType image/svg+xml                         "access plus 1 month"
    ExpiresByType image/webp                            "access plus 1 month"
    ExpiresByType video/mp4                             "access plus 1 month"
    ExpiresByType video/ogg                             "access plus 1 month"
    ExpiresByType video/webm                            "access plus 1 month"