Hello!
Thank you very much for the great plugin – very good speed and quality of work. But there is one problem, the solution to which has not yet been found.
The “Only modified pages” option in the plugin settings does not work.
As I understand it, when the page is refreshed, its cache should now be immediately flushed and refreshed, but this does not happen. The page is still shown to site users without any changes I made (until the cache lifetime specified in the settings expires).
At the same time, the load on the server is generally practically zero. The problem occurs both on the hosting and on the local server, where there can be no load at all.
Do not tell me what it might be connected with.
Thank.
]]>If you upgrade the PHP version to PHP 7.2, PHP 7.3 or later, the “Hyper Cache Extended” plugin will show the following warning in your WordPress site:
Warning: Invalid argument supplied for foreach() in /.../wp-content/plugins/hyper-cache-extended/cache.php on line 392
This is because in PHP 7.2+ the foreach
loop no longer supports iterating over null / missing / invalid collections. You need to add a check for null or invalid collection.
How to fix this issue?
The best way is to wait for the plugin author to fix the issue, but this did not happen yet. There is not PHP 7.2+ compatible version of the “Hyper Cache Extended” plugin.
Until an updated plugin is released, use the following fix, directly in the code. Just add a check in the code, using the WP plugin editor:
Change the lines 391-400 in the original code (causing the PHP warning):
$hyper_agent = strtolower($_SERVER['HTTP_USER_AGENT']);
foreach ($hyper_cache['mobile_agents'] as $hyper_a) {
if (strpos($hyper_agent, $hyper_a) !== false) {
if (strpos($hyper_agent, 'iphone') || strpos($hyper_agent, 'ipod')) {
return 'iphone';
} else {
return 'pda';
}
}
}
Use the following fixed code, compatible with PHP 7.2+:
$hyper_agent = strtolower($_SERVER['HTTP_USER_AGENT']);
$mobile_agents = $hyper_cache['mobile_agents'];
if (is_array($mobile_agents) || is_object($mobile_agents)) {
foreach ($mobile_agents as $hyper_a) {
if (strpos($hyper_agent, $hyper_a) !== false) {
if (strpos($hyper_agent, 'iphone') || strpos($hyper_agent, 'ipod')) {
return 'iphone';
} else {
return 'pda';
}
}
}
}
This is a screenshot to fix the Hyper Cache Extended plugin incompatibility with PHP 7.2+ directly in the WordPress plugin editor:
https://prnt.sc/pwrq9k
This is a pull request, holding the fix in the GitHub plugin mirror repository (plugins.svn.www.ads-software.com do not support pull requests): https://github.com/wp-plugins/hyper-cache-extended/pull/1
]]>The plugin works fine – been using it on my websites with no problems.
However, a client’s website, that uses Polylang for 2 languages has problems with this plugin.
Homepage – and homepage only – won’t allow more than one language change. More detail: you can go to the homepage in default language. You can click the alt. language icon to show the alt. language. BUT – if you switch back afterwards, it no longer wants to show home page in the alt. language – always going back to the default language.
All the other pages load with no problems and allow for countless changes of language – no problems.
]]>Hi,
Our in-house host is unfortunately on Windows / IIS / MySQL / PHP (WIMP), load balanced using F5 Big-IP. I originally tried Super Cache to speed things up but found it was not “cluster aware”. Would return different results depending on which server in cluster was it. Since then, my research showed that Memcached/Batcache (or Memcached Redux) or Wincache/W3 Total Cache were the only cluster aware object cache cobminations, at least as far as I could find.
I just read an article highly touting Hyper Cache for Windows / IIS, but couldn’t tell if it is cluster aware. Can you give me some guidance on this, or any related advice? We’re currently experiencing almost 3 seconds in TTFB (time to first byte), and I’d really like to reduce this to about 100-250ms!
Thanks!
]]>Whenever I update my Divi theme, the CSS breaks because Autoptimize’s CSS URL changes. I think it’s because Hyper Cache Extended is not clearing itself. I have to manually clear the HCE cache every time Divi’s theme (or Autoptimize) gets updated, and that is a big problem because Divi gets updated often and I have many sites.
To fix this problem, can you please hook into the upgrader_process_complete action and provide a new settings option to automatically clear the cache when the theme or plugins get updated?
Thanks for the help!
]]>Hello. i use for over a year the Hyper Cache Extended (1.6.2 version) and yesterday, i install SSL on my site.
Althought, the Cache invalidation mode stop working. The updated articles, doesn’t refreshed to get the new content.
any help?
]]>Hi,
I’ve tested the original Hyper Cache-version on single WordPress sites and usually get better results than with the bigger Wp Supercache or W3 Total Cache.
But doesn’t run on multisites.
Thanks!
]]>It doesn’t matter if i select to refresh homepage and archives on post update.
or if i choose not to cache the homepage at all.
The homepage is always cached for 720 minutes like the rest of the posts.
AM i the only one?
Hello.
Can auto create the cache your plugin?
I guess the developer is not serious about his plugin. Pitty.
PHP Notice: Constant HYPER_CACHE_EXTENDED already defined in /home/wp-content/advanced-cache.php on line 27
PHP Notice: Undefined index: clean_interval in /home/wp-content/plugins/hyper-cache-extended/options.php on line 63
PHP Notice: Undefined index: plugin_mobile_pack in /home/wp-content/plugins/hyper-cache-extended/options.php on line 269
PHP Notice: Undefined index: mobile in /home/wp-content/plugins/hyper-cache-extended/options.php on line 278
PHP Warning: Invalid argument supplied for foreach() in /home/wp-content/plugins/hyper-cache-extended/cache.php on line 392
PHP Notice: Undefined index: home in /home/wp-content/plugins/hyper-cache-extended/options.php on line 374
PHP Notice: Undefined index: smarthome in /home/wp-content/plugins/hyper-cache-extended/options.php on line 384
PHP Notice: Undefined index: strip_qs in /home/wp-content/plugins/hyper-cache-extended/options.php on line 411
]]>Hi, In your plugin we get
Notice: Undefined index: feed in /var/www/html/blog/wp-content/plugins/hyper-cache-extended/options.php on line 252
Notice: Undefined index: notranslation in /var/www/html/blog/wp-content/plugins/hyper-cache-extended/options.php on line 356
Notice: Undefined index: lastmodified in /var/www/html/blog/wp-content/plugins/hyper-cache-extended/options.php on line 365
Notice: Undefined index: home in /var/www/html/blog/wp-content/plugins/hyper-cache-extended/options.php on line 374
Notice: Undefined index: strip_qs in /var/www/html/blog/wp-content/plugins/hyper-cache-extended/options.php on line 400
Notice: Undefined index: cache_qs in /var/www/html/blog/wp-content/plugins/hyper-cache-extended/options.php on line 415
]]>if “Redirect caching” is disabled, some paged archives (f.e. url.com/page/2/) no longer cached. how can this be fixed?
]]>What does Max server load average do?
Let’s say I set this to 2, does this means when the load is below 2, then this plugin doesn’t server the cached page? or does this means it will always serve the cached page, but will not recreate the cache when the load if above 2?
Thank you.
]]>Is it possible to exclude caching on certain pages with Hyper Cache Extended?
]]>Hi Developer Hyper Cache Extended,
Can you make json result from json-api plugin is cached with this plugin ?. because i really need this feature . because there is feature from wp supercache or w3tc plugin, i won’t use them because i really love hyper cache.
Thank You.
]]>Hi.
Is HCE working with Nginx? This: https://codex.www.ads-software.com/Nginx create an impression that only SuperCache and TotalCache can do it.
Isnt it?
Thanks.
]]>These were missed in version 1.4.0:
Notice: Undefined index: mobile_agents in /wp-content/plugins/hyper-cache-extended/cache.php on line 383
Notice: Undefined index: mobile_agents in /wp-content/plugins/hyper-cache-extended/cache.php on line 387
Warning: Invalid argument supplied for foreach() in /wp-content/plugins/hyper-cache-extended/cache.php on line 387
Notice: Undefined index: location in /wp-content/plugins/hyper-cache-extended/cache.php on line 172
Notice: Undefined index: status in /wp-content/plugins/hyper-cache-extended/cache.php on line 203
Notice: Undefined index: html in /wp-content/plugins/hyper-cache-extended/cache.php on line 217
It would be nice to have them fixed.
]]>It seems that in one installation of WP and HC Extended, i have hit a 1024 inodes (files) per directory limit in cache directory.
]]>Hi,
I have Hyper Cache Extended installed on my site and it says its working but I do not see anything in the source code to say that the cache is enabled. Should I be seeing anything?
]]>If I set my blog to use a static home page, I noticed Hyper Cache only invalidates the blog page, but not the home page, even when I have it set to invalidate the home, archive and category pages whenever I create a new post. The result is that these new posts don’t show on the home page until cache expires.
please fix this issue.
Thanks
Hello, I noticed that plug don’t invalidate homepage cache when new content is pubblished. There are no option to enable this feature in this plugin.
i have published new post and it is not appearing on home page.
The only option for homepage is: DO NOT cache the home page so it is always fresh.
Hello, Sometimes my website show Mobile version of cached page. On mobile i have deactivated some widget and also use different Social Share button. So sometime when i load my site on Desktop it load page with Social button and Widget used only for Mobile.
I am using just 1 Responsive template. How can i solve it?
Thanks
I have a problem with plugin. in last two days, the plugin have make this PHP Fatal error:
Call to undefined function is_404() in /home/autoblog/public_html/wp-content/plugins/hyper-cache-extended/cache.php on line 262
any help??
]]>Hello. I`m using WP with external php script, that puts posts directly into DB, using giving ID (posts parsed from another site, and id of this post represent unique id of the post, so i can see if i already parsed that post). How can i manually delete cache file for the home, archives, categories after creating each new record in database?
Ive try to use wp_update_post with giving id, but this function not updating, it create
s new database record with new id.
Currently i`ve simply delete all hypercache cache files after puting new post in database, but it weir path, and i want to delete cache of only changed pages = home, archive, categories.
I see some errors after going to WP 4.
Just enable debug and see them.
Does that mean that it doesn’t work with WP 4 ?
thanks
]]>Will not save setting when I set Configuration > Cached pages timeout to 0 minutes (Minutes a cached page is valid and served to users. A zero value means a cached page is valid forever.)
As soon as I update after setting it to 0, it defaults back to 1440. Any ideas on how to set this property so that it stays? Somewhere in a SQL table perhaps?
My pages are almost never updated, so there is no need for them to be cleaned out. I will do that manually if I ever need.
Thanks!
]]>Is there a way to NOT serve the cache files when using mobile? I am using Jetpack mobile and it does not work even if i check the option to check for mobile agent list.
]]>hey, is an article from one author a “pending review” and another author published the article, the visitors gets a 404 :/
]]>I want to exclude specific urls, e.g. /gallery/* so that all gallery pages are excluded
]]>Hi, I’ve just installed the plugin but can’t see any difference on my webpage, is there a way to know the plugin is actually working? Thanks!
]]>