• [deleted]

hgieg they must be in site config.

    [deleted] Very tnks for the answer.

    Yes, this lines in site config work very well in a single site. But if a try to add this lines to a second site, i got this:

    @rebel908413 said that works for him, for multiple sites, edit the nginx.conf.

    I am missing something? How can i activated fastcgi for multiple sites?

    If you guys enable the REDIS, you will probably not be needing FastCGI caching. Just install the PHP extension of REDIS and install the NGINX Helper plugin, and there choose REDIS caching instead of fastcgi. The performance will get much better.

      8 days later

      szone
      is redis cache supported for WooCommerce sites? I am using wp rocket and it feels great, but im searching for faster load speeds. Site is pretty good loading at 600ms with cache right now.

      • [deleted]

      szone this is tottaly wrong affirmation, nginx side cache, works fine with redis, even opcache, becasue they all do their own caching for different ressources.

        • [deleted]

        @hgieg you will have to read what the error says, and take action, if its says something is a duplicate and shows you the files, meaning you need to remove the duplicated line from your site vhost.

        11 days later

        [deleted] Well it could work side by side, but my WooCommerce website's performance got much better with REDIS. And I no longer need FastCGI caching, for now.

        19 days later

        Hi, I found some issues on my website using this fastcgi cache.

        First I get duplicate response header on my https://example.com/page1, see image.
        If I refresh 2x, that will duplicate 3 times, I dont know what happend.

        Issues number two I getting issues Parse error: syntax error, unexpected 'define' (T_STRING) in /www/wwwroot/example.com/public_html/wp-config.php on line 7

        I dont know what happend, another page work just one page give me that error.

        a month later

        hi, fastcgi cache has been working fine on my wordpress site, but i have a problem that the cache purge is not working, i can only delete it manually, how can nginx helper be able to purge cache automatically ?

        2 months later

        After removing the fastcgi cache configuration, I can't access the homepage. When accessing it, the browser automatically downloaded the index.php. How can I solve this problem? @aaPanel_Jose

        I am using PHP Script.

        I set up a website for storing and sharing files, how do I activate the caching of my website since it is not wordpress? Or should I just use CDN?

        2 months later
        a month later

        aaPanel_Jose Add the following to the server field
        If you have ssl turned on, add it below #SSL-END

        This step fails to work.

        How do I go about it? (I have hidden my domain)

          deewinc

          deewinc This step fails to work.

          How do I go about it? (I have hidden my domain)

          Solved: I'm supposed to write my server IP on this like of that code. I wish you could edit your comment and mention it.

          allow "change_to_your_server_ip";

          14 days later

          aaPanel_Jose
          When I copy the config file from here to my server , I got this error :

          I add my ip address in allow "change_to_your_server_ip"; and in /www/server/panel/vhost/nginx/mysite.com.conf:68

          second question : I'm running php 8 , is need to change 73 to 8 ?
          in this line :
          fastcgi_pass unix:/tmp/php-cgi-73.sock;

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