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?
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.
hm, difficult to find an efficient way to get type/title of a template page.
I think you should use get_queried_object() in atec-cache-apcu-page-cache.php to get the info about the request
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.
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?
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 🙂
what do you mean “more features” ? more post types to be cached?
Hi, the new version now caches posts, pages, categories and single product pages.