Okay
  Public Ticket #199943
site caching dont work correct with sailent
Closed

Comments

  • michael started the conversation

    hi,

    i use Cachify to cache my website.

    i use caching on hdd an edit my apache vhost config in this way.

    <IfModule mod_rewrite.c>

    # ENGINE ON

    RewriteEngine On

    # GZIP FILE

    <IfModule mod_mime.c>

    RewriteCond %{REQUEST_URI} /$

    RewriteCond %{REQUEST_URI} !^/wp-admin/.*

    RewriteCond %{REQUEST_METHOD} !=POST

    RewriteCond %{QUERY_STRING} =""

    RewriteCond %{HTTP_COOKIE} !(wp-postpass|wordpress_logged_in|comment_author)_

    RewriteCond %{HTTP:Accept-Encoding} gzip

    RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/cachify/%{HTTP_HOST}%{REQUEST_URI}index.html.gz -f

    RewriteRule ^(.*) /wp-content/cache/cachify/%{HTTP_HOST}%{REQUEST_URI}index.html.gz [L]

    AddType text/html .gz

    AddEncoding gzip .gz

    </IfModule>

    # HTML FILE

    RewriteCond %{REQUEST_URI} /$

    RewriteCond %{REQUEST_URI} !^/wp-admin/.*

    RewriteCond %{REQUEST_METHOD} !=POST

    RewriteCond %{QUERY_STRING} =""

    RewriteCond %{HTTP_COOKIE} !(wp-postpass|wordpress_logged_in|comment_author)_

    RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/cachify/%{HTTP_HOST}%{REQUEST_URI}index.html -f

    RewriteRule ^(.*) /wp-content/cache/cachify/%{HTTP_HOST}%{REQUEST_URI}index.html [L]

    </IfModule>

    this will work correctly on all sites without any sailent extras. for example my text pages like the impressum are loaded correctly with caching.

    but all other sides only load the header and footer correct. all content between is simple white.

    how can i configure caching for sailent?

  • michael replied

    solved :)

    i switch to "W3 Total Cache". Caching works as now fine here.