Venkat Raj
Forum Replies Created
-
@fkoomek That is because upon plugin deactivation the cache are purged and started to preload again. We’ll look into this.
@hadis89
1. Since this is privileged task, only logged in users can run preload.
2. This is long running task for huge sites. So, it creates sub tasks for each URL and schedule it to run via cron job (WP Cron). At max_execution_time it is possible that it loaded ~25 pages and stops (but creates cron job to run later, to avoid max. load on server at one stretch)
3.process_tasks_queue
method will run onwpo_page_cache_preload_continue
hook@vladimirvuch Yes, server will have 2 photos of the same photo. Because not all browsers are supporting WebP format and we need original for fallback.
We are working on on the fly WebP conversion feature which can convert JPG/PNG images whenever they are requested to WebP format (if not already present)@ttrrrmax2 Those files are used to detect
.htaccess
capability of your server. That said, we are working on an alternative way to do this without using those files.@thrdlickova I see that you website is working correctly. Are you able to resolve the issue and marked this thread so?
@japonicus Add this line
define('WPO_USE_WEBP_CONVERSION', false);
in yourwp-config.php
file@fkoomek Both menu run a
purge
method which contains the hook, I mentioned. Your script worked for me for both places, except that it had a white space at the end ofwpo_cache_flush
@dmvisuals As per the debug log, it says an
object
is given instead ofarray
toarray_key_exists
functions. The given$headers
is the return value ofget_stylesheet_headers
function.
In3.2.13
it is directly returned . As you can see here.
https://plugins.trac.www.ads-software.com/browser/wp-optimize/tags/3.2.13/wp-optimize.php#L1648
However, in3.2.14
the return value was made sure an array which you can see here.
https://plugins.trac.www.ads-software.com/browser/wp-optimize/tags/3.2.14/wp-optimize.php#L1648
So, I’m not sure how the issue persist. May be the update is incomplete?Hi @fkoomek
You can use this hookwpo_cache_flush
to do that.@edviser Thanks for the details. I’ll try to reproduce the issue and update you.
@dmvisuals As per your debug log, it says you are using
3.2.13
Aktuelles Plugin: WP-Optimize - Clean, Compress, Cache (Version 3.2.13)
@andreas-2013 Please add following line in your
wp-config.php
filedefine('WP_OPTIMIZE_SET_TIME_LIMIT', 300);
This will result in 5 minute preload chunks
@jidwictut9 Found the issue in your
.htaccess
file and replied in email@vladimirvuch I have tried to reproduce the issue with no luck.
I have tested with setting
serve cached pages to logged in users
both turned ON/OFF.
https://prnt.sc/8KzWPfJV9jVw
I used Elementor Pro and Hello Elementor theme@jidwictut9 Could you please share you
.htaccess
file? You can send it to [email protected]
I’ll test and let you know what causes the issue