• Resolved raperez

    (@raperez)


    Hello:

    Thanks for such a marvellous plugin!
    I have a problem with this cache that I don’t know how to solve. Question is that you can see cached pages at:
    /wp-admin/options-general.php?page=wp-cloudflare-super-page-cache-cached-html-pages
    But I always see the same 396 pages. I have manually emptied cache, disable secondary one, but nothing seems to work, same pages are seen.
    Am I missing something?
    Thanks!

Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Contributor iSaumya

    (@isaumya)

    Only when you purge the cache from the plugin, then only those pages will be removed from there. If you manually purge cache from Cloudflare dashboard you will see see those pages inside the plugin as the plugin doesn’t know that you have purged the cache for those pages.

    Try force purging everything and then visit a few pages on an incognito tab. Then when you see the list of pages, go to any of those pages from wp admin page purge cache for that particular page from wp admin only.

    Thread Starter raperez

    (@raperez)

    Hi!
    Thanks for your quick answer. I purge cache from the plugin, not Cloudflare dashboard, but pages remain. I have also tried to clear pages individually with no luck.

    Plugin Contributor iSaumya

    (@isaumya)

    That seems wired. Can you confirm that inside wp-content the wp-cloudflare-super-page-cache folder has proper permission i.e. either 777 or 744?

    Thread Starter raperez

    (@raperez)

    Folder and subolders 755, with owner being web’s user owner.

    Plugin Contributor iSaumya

    (@isaumya)

    Huh! This is so wired . Can you disable and enable page cache inside the plugin settings?

    Thread Starter raperez

    (@raperez)

    Done, but nothing happens. List remains the same.
    Could I remove manually files from FTP (cached_html_pages and fallback_cache)?
    Thanks!!

    Plugin Contributor iSaumya

    (@isaumya)

    ok try that. Also inside the plugin under the others tab set log verbosity to high and then after you purge cache from wp admin wait for a few min and then check the log so you can see what’s happening.

    Thread Starter raperez

    (@raperez)

    Hello again:

    Trying to empty cache from plugin is succesful, but list from /wp-admin/options-general.php?page=wp-cloudflare-super-page-cache-index remains non emptied.

    I have deleted manually files from cached_html_pages. As expected, list from /wp-admin/options-general.php?page=wp-cloudflare-super-page-cache-index is removed.

    As pages are visited they must be introduced in cache again. I can confirm that as using an extension like Live HTTP Headers with a page, I can see that value for cf-cache-status is HIT. However, list /wp-admin/options-general.php?page=wp-cloudflare-super-page-cache-index remains empty, and no new file is sorted in cached_html_pages directory.

    I think that cache is working well, but cached pages are not being updated in the plugin for any reason….

    Will try to analize logs as indicated. Any other clue?
    Thanks!!

    Plugin Contributor iSaumya

    (@isaumya)

    Well, in that case, you need to check if there is something that is stopping the plugin from reading, writing and deleting files from the server. As I have not seen such similar issues on any other client sites.

    Thread Starter raperez

    (@raperez)

    I don’t think so, as fallabck_cache directory is written/deleted perfectly, and it has the same permissions as cached_html_pages. Really strange thing.

    Plugin Contributor iSaumya

    (@isaumya)

    Indeed it is very strange. From what I can see this function runs to delete the tmp files holding the cache HTML pages:

    View post on imgur.com

    View post on imgur.com

    Thread Starter raperez

    (@raperez)

    Mistery solved!
    If you check the option to cache only HTML pages in Cache Tab, it works normally.
    Thanks for your help!

    Plugin Contributor iSaumya

    (@isaumya)

    I thought you have already turned on that option.

    Thread Starter raperez

    (@raperez)

    I have been testing and this option has been activated/desactivated several times. Anyway, as I understand if you check it (empty only HTML pages), it does that, empty HTML but not other resources (JS,CSS).
    If you disable it, all resources al removed from cache.
    But, why doesn’t it remove HTML pages from cache list when it is disable?
    Shouldn’t it be supossed to remove those pages anyway?
    Thanks!

    Plugin Contributor iSaumya

    (@isaumya)

    But, why doesn’t it remove HTML pages from cache list when it is disable?

    – Cause then the feature is not active and it is not doing anything to the page list. It is only used when you enable purge cache for only HTML pages.

    I’m marking this thread as resolved as the matter has been resolved now.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Problem with cache’ is closed to new replies.