aaPanel_Jose But I put these into Nginx main config file.
fastcgi_cache_key "$scheme$request_method$host$request_uri";
fastcgi_cache_path /dev/shm/fastcgi-cache levels=1:2 keys_zone=WORDPRESS:100m inactive=60m;
fastcgi_cache_use_stale error timeout invalid_header http_500;
fastcgi_ignore_headers Cache-Control Expires Set-Cookie;

Now work for me

    @aaPanel_Jose @szone
    I'm kinda lost with step 5, I skipped this and my site works fine.

    I'm just curious how to locate this step 5? Is it a wp plugin or nginx settings?
    Also how do I make the purging button?

    Btw, i'm using this with Litespeed Cache plugin for wordpress. would that be okay?

    Thanks!

      20 days later
      • [deleted]

      I have made according to the documentation steps:

      ERROR:
      nginx: [emerg] "fastcgi_cache" zone "WORDPRESS" is unknown in /www/server/nginx/conf/nginx.conf:88
      nginx: configuration file /www/server/nginx/conf/nginx.conf test failed

      After adding the entry bellow #SSL END the microcaching.

      I would like to see something like Engintron has made for cpanel, simple/ fast and reliable.

      • [deleted]

      • Edited

      Another good thing to look into for WP:

      https://github.com/Automattic/nginx-http-concat

      5 days later

      Every time I post a new post, my website goes offline?
      anyway I fix it after only unchecking everything else except "when a post is published".

      25 days later

      should Cloudflare be disabled? or any settings should be done in Cloudflare please?

      6 days later

      @aaPanel_Jose - Hi Jose - I am really struggling with enabling caching on my ngnix lemp stack.
      Every time i apply these setting it simply crashes my server - do we have any simple documentation for that - I am also willing to pay for support 🙂

      PHP Version - 7.3
      Ngnix 1.17
      AA Panel - 6.7.7

        JAY Thanks a lot for your prompt response - Do we have ha ve any documentation to configure OLS or LS Cache ? I really appreciate your help. 🙂

        akshay123

        PHP Version - 7.3
        Ngnix 1.17
        AA Panel - 6.7.7

        above aapanel version looks very old panel update panel to latest version 6.8.4

        5 days later

        It worked for me as you described in your screenshots but when trying to purge cache, I don't see that files on /dev/shm/fastcgi-cache are deleted and I have to delete them manually, any way to fix this please?

          11 days later
          a month later
          • [deleted]

          dbot yes it works, you have to replace from 73 to 74 in above examples.

          Connect with us: 📨 Telegram 💬 Discord Email: support@aapanel.com