wordpress-nginx
wordpress-nginx copied to clipboard
WordPress specific Nginx configuration templates and best practices!
Inside location you have put: expired modified 30m; add_header "Cache-Control" "must-revalidate"; Wouldn't the following be better? add_header Cache-Control "**max-age=1800**, must-revalidate";
Sometimes, you have to drop a comment just because you are gobsmacked that someone did such an incredible job. Absolutely amazing. Thank you! I know you do $50/hour, but you...
This is about this file. Many thanks for sharing this! -- https://github.com/pothi/wordpress-nginx/blob/master/globals/wp-super-cache.conf I can figure out from it what the 418 and 419 mean. We do it with the 'skip_cache'...
Ref: https://wordpress.org/support/topic/nginx-robots-txt-not-loading-on-subsites/
For those prefer to use NGINX's native FastCGI cache instead of php based plugins. Feel free to modify and add to globals directory. ``` fastcgi_cache_path /var/run/nginx-cache levels=1:2 keys_zone=WORDPRESS:100m inactive=60m; fastcgi_cache_key...
You have conflicting settings in the configuration to support WPFC. Wrong use of Vary header may lead to cache issues especially if CDN is in play. Please read this post...
As I know we have to exclude the WooCommerce cookies on wp-rocket to avoid cart/checkout being cache . However, when I excluded them, I got 403 all the time. if...