Martin Kilarski
Forum Replies Created
-
Hi,
I have:
SiteGround Optimizer – Version 7.0.3
WordPress – Version 5.9Updating a plugin did work for us.
We have found out that it was actually WP Rocket that was causing the cache not to be cleared.
The following code fixed the problem:
<?php namespace My_Site\Plugins\WP_Rocket; /** * Automate clearing cache for overview pages */ function automate_clearing_overview_pages_cache( $post_id, $post, $update ) { $post_type = $post->post_type; // when post is updated if ( 'post' === $post_type ) { if (function_exists('rocket_clean_post')) { $result = rocket_clean_post(19380); // Newsroom page } return; } return; } add_action( 'save_post', __NAMESPACE__ . '\automate_clearing_overview_pages_cache', 10,3 );
Thank you for your awesome and fast support! You rock!
Hey Steven,
Thank you for the speedy reply.
Too bad, but I understand.
Thanks again, you are awesome!
Forum: Plugins
In reply to: [WPAdmin AWS CDN] Email signature images don’t workHi @luckychingi,
The issue seems to be resolved.
Thanks for the awesome support!
Kind regards,
MartinForum: Plugins
In reply to: [WPAdmin AWS CDN] Email signature images don’t workHi @luckychingi
Thank you for your quick response and for looking into it.
We have made the requested change, and so far everything is working fine.
Why do you think this might have caused the issue?
We will keep an eye on the images over the next few days to make sure all is good.
Have an awesome weekend!
Forum: Plugins
In reply to: [WPAdmin AWS CDN] Email signature images don’t workHi @luckychingi
Unfortunately, the images are breaking on a daily bases, requiring us to clear the cache on the server every day.
The hosting provider says that the server works correctly because once you rename these files or view them via the www domain they load correctly. They say that it must be one of the plugins causing it. And we only added Amazon AWS CDN plugin recently.
We have prevented the files from being cached via .htaccess and verified it with curl request.
# Prevent email images from being cached <FilesMatch "^(o9logo-email|aim10x-banner|social-impact-banner)\S{0,5}\.(gif|jpg)$"> <IfModule mod_expires.c> ExpiresActive Off </IfModule> <IfModule mod_headers.c> FileETag None Header unset ETag Header unset Pragma Header unset Cache-Control Header unset Last-Modified Header set Pragma "no-cache" Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate" Header set Expires "Thu, 1 Jan 1970 00:00:00 GMT" </IfModule> </FilesMatch>
However, the images still start to break after a few hours, which makes me think that something else is causing the issue not the caching.
Any suggestions on how we can solve this issue will be appreciated.
Forum: Plugins
In reply to: [WPAdmin AWS CDN] Email signature images don’t workHi @luckychingi,
We had an issue with the following images that are used in email signatures of 1k+ employees:
– https://o9solutions.com/uploads/esignature/o9logo-email.gif
– https://o9solutions.com/uploads/esignature/aim10x-banner-emea.gifThese images were uploaded directly to the root folder via SFTP instead of WordPress Medial Library.
We have deactivated the CDN and the plugin, but the issue persisted. We had to clear the cache on the server to make the images appear in the email signature.
When we accessed the images via the www domain, they loaded normally, but not when we requested them via a non-www domain which are used in the email signatures.
– https://www.o9solutions.com/uploads/esignature/o9logo-email.gif
– https://www.o9solutions.com/uploads/esignature/aim10x-banner-emea.gifWe would like to solve this issue and re-active your plugin and the CDN.
Could you let me know what might be causing this issue?
Do you already have plans to implement it in the nearest future? It would make a huge difference for our clients’ website on which we use your plugin. Thanks.
That’s awesome. I hope you will be able to add this feature in the next few plugin updates. The visitors and the whole Web will appreciate it ??
That sounds awesome. The community and users will be grateful for this feature. I am looking forward to hearing updates about it in the near future.
Forum: Plugins
In reply to: [EWWW Image Optimizer] Generating images in AVIF formatDone ?? I am sure all the users and website visitors will appreciate it a lot.
We are looking forward to hearing more about the updates on AVIF support in the plugin in the near future.
Thank you. I am sure all the users and website visitors will appreciate it a lot.
We are looking forward to hearing more about the updates on AVIF support in the plugin in the near future.
Thank you. I am sure all the users and website visitors will appreciate it a lot.
We are looking forward to hearing more about the updates on AVIF support in the plugin in the near future.
Awesome news, any idea when Shortpixel plugin will be able to generate AVIF images on the user’s server?
Forum: Plugins
In reply to: [WP Store Locator] Always list the featured storesThanks Tijmen. It solved my problem. Much appreciated.
- This reply was modified 5 years, 4 months ago by Martin Kilarski.
Forum: Plugins
In reply to: [WP Store Locator] Always list the featured storesI have tried using wpsl_store_data to add featured listings, but it didn’t work for me. Would you mind adding a section to the page about creating a featured store that shows how to do it? I am sure more people would find it also helpful.