szone
Yes, the configuration of the first step only needs to be configured once.
How to enable fastcgi cache for WordPress with aapanel
JAY
I think this configuration can be added with an open button or other methods.
We will join the development plan
what if i have a non wordpress site how to cache my site..
can you helpme on this to add cache on non wordpress site.
how do you cache mobile and desktop versions separately?
- Edited
Jose Brother!
When I do all above configurations along with commenting the include php, worpdress site went to defualt setting of php. I increased the size but nothing happen. Please tell me without ssl site where to put code (what is meant by server field). I put above 4 rows in my nginx.conf, does it safe? In step 6 we create cache location is incorrect? Why my site bypass show instead of hit
- Edited
aaPanel_Jose
When i paste the set $skip_cache 0 ;....... code php went to defualt? When i remove the code, site homepage went change and it start the downloading. The downloaded file contains:
<?php
/**
- Front to the WordPress application. This file doesn't do anything, but loads
- wp-blog-header.php which does and tells WordPress to load the theme.
* - @package WordPress
*/
/**
- Tells WordPress to load the WordPress theme and output it.
* - @var bool
*/
define( 'WP_USE_THEMES', true );
/** Loads the WordPress Environment and Template */
require DIR . '/wp-blog-header.php';
My environment is:
Nginx 1.17
Php 7.4
kamranhanif496
This may be the structure of the php language that was destroyed when you deleted the code, please try to restore the original version
aaPanel_Jose
When I do all above configurations along with commenting the include php, worpdress site went to defualt setting of php. I increased the size but nothing happen. Please tell me without ssl site where to put code (what is meant by server field). I put above 4 rows in my nginx.conf, does it safe? In step 6 we create cache location is incorrect? Why my site bypass show instead of hit
aaPanel_Jose
When I do all above configurations along with commenting the include php, worpdress site went to defualt setting of php. I increased the size but nothing happen. Please tell me without ssl site where to put code (what is meant by server field). I put above 4 rows in my nginx.conf, does it safe? In step 6 we create cache location is incorrect? Why my site bypass show instead of hit
- The first 4 lines of files added by nginx are fastcgi cache configuration, they are safe
- Please do not add these configurations to nginx.conf, add them to the website's configuration file
- Even if there is no SSL, there will be # SSL-END comments in the website configuration
Hello friends. After did all the configuration I got 502 Bad Gateway error at my website with WP. How to solve this?
- Edited
wasferraz
Please check your PHP version is 73?
Here is an example based on php73
- Edited
How's this compared to WP Rocket for Nginx + https://github.com/SatelliteWP/rocket-nginx
- Edited
aaPanel_Jose thanks for your reply. I was using PHP 7.4. Now its working fine!
@aaPanel_Jose i face this issue with other sites : nginx: [emerg] "fastcgi_cache_key" directive is duplicate
- Edited
rebel908413
Have you set up caching for multiple sites?
let me arrange a time to check this