Strange behavior of edit bar after moving a site (appears and disappears)

Permalink
Hi all,

I moved a site from one server to another. Everything seems to work fine, but only the edit bar shows strange behavior. When I login to the website as an admin, the edit bar on the homepage does not appear. After a refresh the edit bar appears. The edit bar is shown on all the other pages, but sometimes it disappears and appears again after a refresh.

I read a few threads about this, but I wasn't able to find a solution. It feels to me it has to do with caching, but I am not sure and don't know where to look. I tried changing the cache settings, but still no success. I hope someone of you can help me out.

The concrete5 version is 5.7.5.3. The site can be found here:http://www.bouwbedrijfvanee.nl/...

Kind regards,
Henco

 
hencovanee replied on at Permalink Reply
I think I fixed this. In this topic:http://www.concrete5.org/community/forums/customizing_c5/website-lo... I was adviced to paste the following code in my .htaccess file:

<IfModule mod_expires.c>
 ExpiresActive on
 ExpiresDefault  "access plus 1 month"
ExpiresByType image/x-icon   "access plus 1 week"
ExpiresByType image/gif    "access plus 1 month"
ExpiresByType image/png    "access plus 1 month"
ExpiresByType image/jpeg    "access plus 1 month"
ExpiresByType application/pdf    "access plus 1 month"
ExpiresByType application/x-javascript    "access plus 1 month"
ExpiresByType text/plain    "access plus 1 month"
ExpiresByType text/css   "access plus 1 month"
</IfModule>
<FilesMatch "\.(js|css|html|htm|php|xml)$">
SetOutputFilter DEFLATE
</FilesMatch>


After removing this, the edit bar starts to behave as usual.

Kind regards,
Henco