V
V
Vasily Petrov2017-11-21 17:47:44
caching
Vasily Petrov, 2017-11-21 17:47:44

WP Super Cache not working on nginx?

Plugin doesn't work...
Pages don't match! The timestamp is different or was not found!
What can be done:
Load the main page in a browser without authorization. Check the timestamp at the end of the HTML source code. Reload the page. Caching works if the timestamp matches.
Enable logging on the debug page. This will help you track down the issue.
You need to check page 1 and page 2 above for errors. Your server configuration may not allow the website to access itself.

Logs

14:33:05 5436 /wp-admin/admin-ajax.php wp_cache_get_cookies_values: /^wp-postpass_*БУКВЫ_И_ЦИФРЫ*|^comment_author_*БУКВЫ_И_ЦИФРЫ*|^wordpress_logged_in_*БУКВЫ_И_ЦИФРЫ*/ Cookie detected: wordpress_logged_in_*БУКВЫ_И_ЦИФРЫ*
14:33:05 5436 /wp-admin/admin-ajax.php wp_cache_get_cookies_values: return: *БУКВЫ_И_ЦИФРЫ*
14:33:05 5436 /wp-admin/admin-ajax.php wp_cache_check_mobile: site.ru*БУКВЫ_И_ЦИФРЫ*
14:33:05 5436 /wp-admin/admin-ajax.php In WP Cache Phase 2
14:33:05 5436 /wp-admin/admin-ajax.php Setting up WordPress actions
14:33:05 5436 /wp-admin/admin-ajax.php Not caching wp-admin requests.
14:33:50 3197 /wp-admin/admin-ajax.php wp_cache_get_cookies_values: /^wp-postpass_*БУКВЫ_И_ЦИФРЫ*|^comment_author_*БУКВЫ_И_ЦИФРЫ*|^wordpress_logged_in_*БУКВЫ_И_ЦИФРЫ*/ Cookie detected: wordpress_logged_in_*БУКВЫ_И_ЦИФРЫ*
14:33:50 3197 /wp-admin/admin-ajax.php wp_cache_get_cookies_values: return: *БУКВЫ_И_ЦИФРЫ*
14:33:50 3197 /wp-admin/admin-ajax.php wp_cache_check_mobile: site.ru*БУКВЫ_И_ЦИФРЫ*
14:33:50 3197 /wp-admin/admin-ajax.php In WP Cache Phase 2
14:33:50 3197 /wp-admin/admin-ajax.php Setting up WordPress actions
14:33:50 3197 /wp-admin/admin-ajax.php Not caching wp-admin requests.
14:34:10 3199 /wp-admin/admin-ajax.php wp_cache_get_cookies_values: /^wp-postpass_*БУКВЫ_И_ЦИФРЫ*|^comment_author_*БУКВЫ_И_ЦИФРЫ*|^wordpress_logged_in_*БУКВЫ_И_ЦИФРЫ*/ Cookie detected: wordpress_logged_in_*БУКВЫ_И_ЦИФРЫ*
14:34:10 3199 /wp-admin/admin-ajax.php wp_cache_get_cookies_values: return: *БУКВЫ_И_ЦИФРЫ*
14:34:10 3199 /wp-admin/admin-ajax.php wp_cache_check_mobile: site.ru80*БУКВЫ_И_ЦИФРЫ*
14:34:10 3199 /wp-admin/admin-ajax.php In WP Cache Phase 2
14:34:10 3199 /wp-admin/admin-ajax.php Setting up WordPress actions
14:34:10 3199 /wp-admin/admin-ajax.php Not caching wp-admin requests.
14:34:16 5436 /wp-admin/options-general.php?page=wpsupercache&tab=easy Not serving wp-admin requests.
14:34:16 5436 /wp-admin/options-general.php?page=wpsupercache&tab=easy wp_cache_get_cookies_values: /^wp-postpass_*БУКВЫ_И_ЦИФРЫ*|^comment_author_*БУКВЫ_И_ЦИФРЫ*|^wordpress_logged_in_*БУКВЫ_И_ЦИФРЫ*/ Cookie detected: wordpress_logged_in_*БУКВЫ_И_ЦИФРЫ*
14:34:16 5436 /wp-admin/options-general.php?page=wpsupercache&tab=easy wp_cache_get_cookies_values: return: *БУКВЫ_И_ЦИФРЫ*
14:34:16 5436 /wp-admin/options-general.php?page=wpsupercache&tab=easy wp_cache_check_mobile: site.ru80/wp-admin/options-general.php?page=wpsupercache&tab=easygzip*БУКВЫ_И_ЦИФРЫ*
14:34:16 5436 /wp-admin/options-general.php?page=wpsupercache&tab=easy In WP Cache Phase 2
14:34:16 5436 /wp-admin/options-general.php?page=wpsupercache&tab=easy Setting up WordPress actions
14:34:16 5436 /wp-admin/options-general.php?page=wpsupercache&tab=easy Not caching wp-admin requests.
14:34:16 5436 /wp-admin/options-general.php?page=wpsupercache&tab=easy maybe_stop_gc: GC flag not found. GC will go ahead..
14:34:20 3198 /wp-admin/options-general.php?page=wpsupercache&tab=easy wp_cache_get_cookies_values: /^wp-postpass_*БУКВЫ_И_ЦИФРЫ*|^comment_author_*БУКВЫ_И_ЦИФРЫ*|^wordpress_logged_in_*БУКВЫ_И_ЦИФРЫ*/ Cookie detected: wordpress_logged_in_*БУКВЫ_И_ЦИФРЫ*
14:34:20 3198 /wp-admin/options-general.php?page=wpsupercache&tab=easy wp_cache_get_cookies_values: return: *БУКВЫ_И_ЦИФРЫ*
14:34:20 3198 /wp-admin/options-general.php?page=wpsupercache&tab=easy wp_cache_check_mobile: site.ru80*БУКВЫ_И_ЦИФРЫ*
14:34:20 3198 /wp-admin/options-general.php?page=wpsupercache&tab=easy In WP Cache Phase 2
14:34:20 3198 /wp-admin/options-general.php?page=wpsupercache&tab=easy Setting up WordPress actions
14:34:20 3198 /wp-admin/options-general.php?page=wpsupercache&tab=easy Not caching wp-admin requests.
14:34:20 3198 /wp-admin/options-general.php?page=wpsupercache&tab=easy maybe_stop_gc: GC flag not found. GC will go ahead..

Tell me, please, what to do? The third day I can not configure caching. Everything used to work fine with apache.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
WP Panda, 2017-11-21
@wppanda5

Set up Ngnix properly and WP Super Cache is not the best solution.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question