Manoa
Forum Replies Created
-
Enabling Varnish Cache integration only enables cleaning mechanism. It doesn’t make really sense to enable the Varnish Cache integration to clean cache if there’s nothing to clean.
For now, I tagged all .html pages cached by WP Fastest Cache with an header on my VirtualHost:
<Directory ~ "wp\-content\/cache\/all(\/.*)*\/index\.html$">
Header set X-Varnish-Platform "wpfastestcache"
</Directory>Then, I bypass the default built-in VCL in Varnish:
sub vcl_backend_response {
if (beresp.ttl < 86400s && beresp.http.Content-Type ~ "text/html" && beresp.http.X-Varnish-Platform ~ "wpfastestcache") {
set beresp.ttl = 86400s;
set beresp.grace = 86400s;
return(deliver);
}
}So it is forcing Varnish to cache page for 1 day (86400 sec) if response Content-Type is text/html and if it is tagged with the header X-Varnish-Platform (so, it is not caching anything that is not cached by WP Fastest Cache, making it to follow all exclusion rules implemented in WP Fastest Cache settings).
However, a proper implementation would be very welcome. The cache timeout settings itself could be served as custom header response on cached HTML pages so any server-side caching system can catch and use it.
Yes, I’m using mainly Varnish cache, but I’m asking this question for all server-side page caching like Varnish, also Nginx proxy cache, Cloudflare’s page caching, and any other HTTP caching.
Thank you for your clarification.
Do WP Fastest Cache has any feature to control server-cache expiration time? Like an option to enable, and it adds X-Cdn-Expires header or something like that?
Hello sir,
I would like to thank you for your update. However, this is still not enough.
I’ve seen that you updated it from 15 minutes to 30 minutes. However, 30 minutes is not enough for importing a very large database (mine is likely at millions of contacts to import).
You didn’t provide also way to import more than 500 contacts per AJAX query (at least, this is not directly customizable from the plugin user interface). This is slowing the process of importation, my server is able to handle more than 500 per run (tweaked memory_limit and max_execution_time).
With very simple maths, if each AJAX request would be accomplished in 1s (average, as it depends on server performance and internet connection performance), 30 minutes will allow only 30 minutes x 60 seconds x 500 contacts = 900 000 contacts max. per CSV. We still not computing time loose between requests.
I’m still thinking you should implement a proper way to let know your plugin if a CSV file is used or not by any running import process, and only delete those who are not used anymore.
Forum: Fixing WordPress
In reply to: Url fix issuesGood morning,
Maybe you should change your website URL is WordPress > Settings?
Forum: Fixing WordPress
In reply to: Why .htaccess is rewriting an existing folder?Hi,
I already regenerated my .htaccess from WordPress dashboard and by WP-CLI but it not solves my issue.
Good morning,
Is the file wp-includes/class-wp-date-query.php visible on your FTP?
Is the absolute path /home/ue3z01dkfmzh/public_html correct?
If you have any CLI access, you can setup WP-CLI and check all WordPress core files with:
wp core verify-checksums
This should show any missing files.
Best regards.
Zapier is now working on NotificationX Pro. I followed this documentation which was recently pushed online today: https://notificationx.com/docs/zapier-notification-alert/
But I still want custom API, if possible, for integration with my in-house ERP/CRM/ecommerce.
Good morning,
I developed myself the theme and I’ve created a special page template for Elementor. I’ve already followed instructions on these documents but no result.
But the strange is the problem is random: sometimes it works, sometimes not. Maybe a caching issue?