Can't preview the results

Posted in: Newspaper
Post count: 52

Hi, when I edit the site and preview it I’m not seeing always all the changes I’ve done.

I don’t have any error in Newspaper>System status, everything is OK (I had problems with this but just changed my hosting service and started from zero right now a new site).

I tried to delete the cache and even tried in a new window browser using private mode and sometimes I can see the last changes and sometimes not.

Any idea about this problem?

Thanks

Post count: 52

I think the problem is related with cache.

I have this error when I test the cache using cache tester:

One or more page requests failed:

Page 1: 401 (Unauthorized)
Page 2: 401 (Unauthorized)
The pages do not match! Timestamps differ or were not found!

Things you can do:

1. Load your homepage in a logged out browser, check the timestamp at the end of the html source. Load the page again and compare the timestamp. Caching is working if the timestamps match.
2. Enable logging on the Debug page here. That should help you track down the problem.
You should check Page 1 and Page 2 above for errors.
3. Your local server configuration may not allow your website to access itself.

I don’t know how to proceed. How can I check the timestamp at the end of the html source? What does it mean? I see a number next to the time at the logging file .txt and when I refresh the site I see the same number, but I’m not sure if this number is the timestamp or not.

Thanks for your help.

  • This reply was modified 9 years by utzgurx.
  • This reply was modified 9 years by utzgurx.
Post count: 52

Well, I think I understood this.

First part is with a new browser window logged out and second one is in a browser logged in. As I understand the timestamps don’t match, then this is the problem. But, how can I fix it? I paste all the info. Thanks!

00:58:46 20715 /wp-admin/options-general.php?page=wpsupercache&tab=debug wp_cache_get_cookies_values: /^wp-postpass|^comment_author_|^wordpress_logged_in_/ Cookie detected: wordpress_logged_in_f901ad840078df5aa62360822da6c660

00:58:46 20715 /wp-admin/options-general.php?page=wpsupercache&tab=debug wp_cache_get_cookies_values: return: e8acadb138b13e7c234f123c4b3317a3

00:58:46 20715 /wp-admin/options-general.php?page=wpsupercache&tab=debug Non empty GET request. Caching disabled on settings page. {“page”:”wpsupercache”,”tab”:”debug”}

00:58:46 20715 /wp-admin/options-general.php?page=wpsupercache&tab=debug wp_cache_get_cookies_values: cached: e8acadb138b13e7c234f123c4b3317a3

00:58:46 20715 /wp-admin/options-general.php?page=wpsupercache&tab=debug In WP Cache Phase 2

00:58:46 20715 /wp-admin/options-general.php?page=wpsupercache&tab=debug Setting up WordPress actions

00:58:46 20715 /wp-admin/options-general.php?page=wpsupercache&tab=debug Not caching wp-admin requests.

00:58:47 20715 /wp-admin/options-general.php?page=wpsupercache&tab=debug maybe_stop_gc: GC flag not found. GC will go ahead..

00:58:48 21023 /wp-admin/admin-ajax.php wp_cache_get_cookies_values: /^wp-postpass|^comment_author_|^wordpress_logged_in_f901ad840078df5aa62360822da6c660/ Cookie detected: wordpress_logged_in_f901ad840078df5aa62360822da6c660

00:58:48 21023 /wp-admin/admin-ajax.php wp_cache_get_cookies_values: return: e8acadb138b13e7c234f123c4b3317a3

00:58:48 21023 /wp-admin/admin-ajax.php In WP Cache Phase 2

00:58:48 21023 /wp-admin/admin-ajax.php Setting up WordPress actions

00:58:48 21023 /wp-admin/admin-ajax.php Not caching wp-admin requests.

00:59:04 21023 / wp_cache_get_cookies_values: /^wp-postpass|^comment_author_|^wordpress_logged_in_/ Cookie detected: wordpress_logged_in_f901ad840078df5aa62360822da6c660

00:59:04 21023 / wp_cache_get_cookies_values: return: e8acadb138b13e7c234f123c4b3317a3

00:59:04 21023 / wp-cache file exists: /usr/home/mallorcaglam.com/web/wp-content/cache/wp-cache-ecb9caa9a3252ad1d7e13364221fe8f9.php

00:59:04 21023 / Serving wp-cache static file

00:59:04 21023 / exit request

Post count: 52

As additional info hoping it helps you to know more about the problem:

When I make any change using Theme Panel editor AND I go to WP Super Cache Settings and delete the cache (clicking the specific button) and I load the site (even in the same browser in a new tab) it works fine and I see the changes.

Post count: 20688

Hi,

That is usually the case when using a caching plugin. All this is better explained here
https://wordpress.org/plugins/wp-super-cache/
Please use this guide to configure the cache plugin with the recommended settings
https://forum.tagdiv.com/cache-plugin-install-and-configure/

Thanks

Post count: 52

My first step when installed this plugin in my site was configure it as the link you pasted me.

But the problem persisted, that’s why I contacted you.

What can I do? Thanks

Post count: 20688

Hi,

If you have configured the cache properly, each time a new post is published or a page is updated, the cache will be automatically refreshed, according to the documentation. Also make sure this setting is checked
https://www.screencast.com/t/btlTqI8gqv and then make a test and change a setting in the theme panel (like a color or font for example), and refresh the page.

Thanks

Viewing 7 posts - 1 through 7 (of 7 total)
The forum ‘Newspaper’ is closed to new topics and replies.