• Resolved wpSolution

    (@wpsolution)


    1) After changing the settings, need to clear the cache
    2) atec-cache-apcu-page-cache.php:14 – PHP Fatal error: Uncaught Error: Call to undefined function esc_htm()
    3) Sometimes the Posts Page (Blog) returns a white screen, clearing the cache helps
    4) Caching on the Blog (posts list) follows the title of the first post. But it should be cached at the URL address!

    • This topic was modified 6 months, 2 weeks ago by wpSolution.
    • This topic was modified 6 months, 2 weeks ago by wpSolution.
Viewing 9 replies - 16 through 24 (of 24 total)
  • Plugin Author docjojo

    (@docjojo)

    very strange. but you are sure page ID exists?

    can you change from permlink to ?id and then use id 89 to access the page and see what is returned?

    Thread Starter wpSolution

    (@wpsolution)

    You need to understand that need to process the post_type to determine the template. Each template outputs different data types. In this case, this is tag_ID=89, not the post ID.

    Plugin Author docjojo

    (@docjojo)

    hm, difficult to find an efficient way to get type/title of a template page.

    Thread Starter wpSolution

    (@wpsolution)

    I think you should use get_queried_object() in atec-cache-apcu-page-cache.php to get the info about the request

    Thread Starter wpSolution

    (@wpsolution)

    Hi! How are you? I tried a little, so for understanding:

    1) atec-cache-apcu-page-cache.php add after line 61

    $arr['_obj_'] = get_queried_object();

    2) atec-cache-apcu-pcache.php add after line 45

    echo '<tr><td colspan="5"><pre>';
    print_r($entry['value']['_obj_']);
    echo '</pre></td></tr>';

    now you can understand what data you have…

    • This reply was modified 6 months, 2 weeks ago by wpSolution.
    Plugin Author docjojo

    (@docjojo)

    using get_queried_object() would request the whole object, where i already have the $buffer,that would decrease performance, and it is not necessary only to get the title for the pcache group page.

    so i use is_single and is_page to cache only these post types. this should also prevent woocom issues?

    Thread Starter wpSolution

    (@wpsolution)

    Version 1.2.8 at first glance works well with a standard site. If your decision is to cache only posts and pages without archives, etc., then this works. But I expected more features 🙂

    Plugin Author docjojo

    (@docjojo)

    what do you mean “more features” ? more post types to be cached?

    Plugin Author docjojo

    (@docjojo)

    Hi, the new version now caches posts, pages, categories and single product pages.

Viewing 9 replies - 16 through 24 (of 24 total)
  • You must be logged in to reply to this topic.