• Resolved NUCUTA

    (@cuta)


    I am wondering, because I see it creates cache files, but I don’t see the link how they are served to the usr.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Emre Vona

    (@emrevona)

    The cache is served via PHP in nginx webservers.

    Thread Starter NUCUTA

    (@cuta)

    can you make it work with default file in site-available?

    Plugin Author Emre Vona

    (@emrevona)

    do you wanna serve it via server instead of php?

    Thread Starter NUCUTA

    (@cuta)

    yeah that’s what I want. I am wondering how to convert this to nginx.

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{HTTP_USER_AGENT} !(facebookexternalhit|WhatsApp|Mediatoolkitbot)
    RewriteCond %{REQUEST_METHOD} !POST
    RewriteCond %{HTTPS} !=on
    RewriteCond %{REQUEST_URI} !(\/){2}$
    RewriteCond %{REQUEST_URI} \/$
    RewriteCond %{QUERY_STRING} !.+
    RewriteCond %{HTTP:Cookie} !(comment_author_|wordpress_logged_in|wp_woocommerce_session)
    RewriteCond %{HTTP:Profile} !^[a-z0-9\"]+ [NC]
    RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/all/$1/index.html -f [or]
    RewriteCond /home/cutatooc/public_html/wp-content/cache/all/$1/index.html -f
    RewriteRule ^(.*) "/wp-content/cache/all/$1/index.html" [L]
    </IfModule>
    • This reply was modified 7 years, 10 months ago by NUCUTA.
    Plugin Author Emre Vona

    (@emrevona)

    sorry. I did not try it on nginx.

    Thread Starter NUCUTA

    (@cuta)

    I made a tutorial for this. this is for those who have been struggling to make wp fastest cache to work with nginx.
    https://nucuta.com/wp-fastest-cache-configuration-for-nginx/

    Plugin Author Emre Vona

    (@emrevona)

    thank you so much. I think that many people search and find this tutorial via google.

    • This reply was modified 7 years, 10 months ago by Emre Vona.
    Thread Starter NUCUTA

    (@cuta)

    Sorry I made a slight mistake, and noticed that the contents were not cached. so I fixed that bug and republished the tutorial.Now caching works perfectly.

    • This reply was modified 7 years, 10 months ago by NUCUTA.
    Plugin Author Emre Vona

    (@emrevona)

    ok ??

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Does this work with pure nginx setup?’ is closed to new replies.