• I’m trying to get Super Cache working on my machine, but it seems all the files bar the homepage are being served by legacy, despite being set to serve by PHP.

    In the /cache/domain/title/ folder, there is no index-https.html that I expect.

    Any ideas on what I can do.

    Working with Nginx+FPM. PHP 7, WP 4.6

Viewing 1 replies (of 1 total)
  • Thread Starter dionsis

    (@dionsis)

    Figured this one out

    It was my nginx configuration ,apparently WP Super Cache doesn’t work well with $args at the end of the index.php. So I removed that and it’s now creating static files. FINALLY!

    try_files $cachefile $uri $uri/ /index.php?q=$uri&$args ;
    became
    try_files $cachefile $uri $uri/ /index.php ;

    Now to track the results in New Relic and see how much load it takes off the server.

Viewing 1 replies (of 1 total)

The topic ‘WP Super Cache not writing files’ is closed to new replies.