Title: Dimitar Petrov's Replies | WordPress.org

---

# Dimitar Petrov

  [  ](https://wordpress.org/support/users/demiro/)

 *   [Profile](https://wordpress.org/support/users/demiro/)
 *   [Topics Started](https://wordpress.org/support/users/demiro/topics/)
 *   [Replies Created](https://wordpress.org/support/users/demiro/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/demiro/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/demiro/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/demiro/engagements/)
 *   [Favorites](https://wordpress.org/support/users/demiro/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 131 total)

1 [2](https://wordpress.org/support/users/demiro/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/demiro/replies/page/3/?output_format=md)…
[7](https://wordpress.org/support/users/demiro/replies/page/7/?output_format=md)
[8](https://wordpress.org/support/users/demiro/replies/page/8/?output_format=md)
[9](https://wordpress.org/support/users/demiro/replies/page/9/?output_format=md)
[→](https://wordpress.org/support/users/demiro/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Speed Optimizer - The All-In-One Performance-Boosting Plugin] Protocol-relative URLs can’t be excluded using a filter](https://wordpress.org/support/topic/protocol-relative-urls-cant-be-excluded-using-a-filter/)
 *  Plugin Support [Dimitar Petrov](https://wordpress.org/support/users/demiro/)
 * (@demiro)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/protocol-relative-urls-cant-be-excluded-using-a-filter/#post-17011346)
 * Hello [@daanvandenbergh](https://wordpress.org/support/users/daanvandenbergh/),
 * Thank you for the feedback, we highly appreciate it!
 * The URL defined as a source of the script should be either full URL or relative
   path, relative to the current location of the invoking script. Our code does 
   not support protocol-relative sources as you noticed after checking the Js_Combinator
   class.
 * We follow the best practises outlined by the official WordPress documentation
   and just in case, we have double-checked the documentation in order to assure
   that the Full URL is recommended there. You can also check the document [here](https://developer.wordpress.org/reference/functions/wp_register_script/).
 * Best Regards,
   Dimitar Petrov
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Speed Optimizer - The All-In-One Performance-Boosting Plugin] Incorrect functions & images are only missing for non-registered users](https://wordpress.org/support/topic/incorrect-functions-images-are-only-missing-for-non-registered-users/)
 *  Plugin Support [Dimitar Petrov](https://wordpress.org/support/users/demiro/)
 * (@demiro)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/incorrect-functions-images-are-only-missing-for-non-registered-users/#post-17011337)
 * The issue could also be possible to be caused by the CSS-related optimizations
   of our plugin. You can disable them temporarily in order to test. If the issue
   still persists with both CSS and JS optimization features disabled, please open
   a ticket on our end and include a link to this forum thread so we can investigate
   the case further.
 * Regards,
   Dimitar
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Speed Optimizer - The All-In-One Performance-Boosting Plugin] Incorrect functions & images are only missing for non-registered users](https://wordpress.org/support/topic/incorrect-functions-images-are-only-missing-for-non-registered-users/)
 *  Plugin Support [Dimitar Petrov](https://wordpress.org/support/users/demiro/)
 * (@demiro)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/incorrect-functions-images-are-only-missing-for-non-registered-users/#post-17008085)
 * Hello [@mickysoft](https://wordpress.org/support/users/mickysoft/),
 * The issue appears to be caused by the optimization layer of our plugin related
   to the JavaScript files. I would recommend reactivating the plugin and disabling
   the FrontEnd optimizations named _Minify JavaScript Files_ and _Combine JavaScript
   Files_. If the issue is resolved that way, you can exclude the problematic scripts
   by defining their _handlers_ into _filters_ placed into the theme’s functions.
   php file. Then, you can reactivate the mentioned features and the issue should
   be resolved. You can pass this information to your developer and for more information
   on how to create the required filters, the following procedure could be used:
   
   [https://wordpress.org/support/topic/how-to-use-sg-optimizers-filters-procedure/](https://wordpress.org/support/topic/how-to-use-sg-optimizers-filters-procedure/)
 * The complete set of possible filters can be found in the plugin’s Readme file
   or directly in the info page [here](https://wordpress.org/plugins/sg-cachepress/).
 * The filters related to those features are:
   sgo_js_minify_excludesgo_javascript_combine_excludesgo_javascript_combine_excluded_external_pathsIf
   the issue is not resolved that way, you can open a new ticket on our end and 
   we will be glad to investigate the issue further.
 * Regards,
   Dimitar
 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[Speed Optimizer - The All-In-One Performance-Boosting Plugin] Avoid this plugin!](https://wordpress.org/support/topic/avoid-this-plugin-31/)
 *  Plugin Support [Dimitar Petrov](https://wordpress.org/support/users/demiro/)
 * (@demiro)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/avoid-this-plugin-31/#post-16966928)
 * Hello [@shopnouveauriche](https://wordpress.org/support/users/shopnouveauriche/),
 * We are sorry to hear that you are disappointed by our plugin.
 * The Inodes usage could be increased due to the File Based cache, if a script 
   generates dynamic values which results in different HTML versions of a page. 
   If you would like the issue to be further investigated, please post a ticket 
   on our end and we will be glad to do so. Just include a link to this review in
   the ticket and a confirmation that we can enable our plugin for performing the
   required tests.
 * Best Regards,
   Dimitar
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Speed Optimizer - The All-In-One Performance-Boosting Plugin] Images not loading](https://wordpress.org/support/topic/images-not-loading-160/)
 *  Plugin Support [Dimitar Petrov](https://wordpress.org/support/users/demiro/)
 * (@demiro)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/images-not-loading-160/#post-16941465)
 * Hello [@bredamcguigan](https://wordpress.org/support/users/bredamcguigan/),
 * The issue is not expected and our plugin is fully compatible with Elementor. 
   Just in case, I have performed a few tests on my applications and I was unable
   to replicate the issue.
 * I would recommend re-enabling our plugin, and starting to disable the Combine
   and Minify features for CSS and JavaScript. Also, you can disable the other features
   in order to confirm if specific feature is not conflicting with another plugin
   or your theme.
 * If your website is hosted on out servers, we will be glad to investigate the 
   issue further. For the purpose, you should open a new ticket and mention this
   forum thread as a reference.
 * Best Regads,
   Dimitar Petrov
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Speed Optimizer - The All-In-One Performance-Boosting Plugin] Cron job warning](https://wordpress.org/support/topic/cron-job-warning/)
 *  Plugin Support [Dimitar Petrov](https://wordpress.org/support/users/demiro/)
 * (@demiro)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/cron-job-warning/#post-16930286)
 * Hello [@sean-h](https://wordpress.org/support/users/sean-h/),
 * The returned warning is not expected. I have performed several tests on test 
   installations and there was no such warning message. Please note that this is
   not a fatal PHP error and if you have confirmed that the Cron is executed correctly,
   you can safely disregard the message.
 * The issue could be generated by another plugin’s script execution triggered by
   the Cron. You can disable all plugins and test again. Also, you can check the
   wp-config.php file for any unused directives.
 * If you are triggering the wp-cron execution via curl/wget or even by directly
   executing the file with PHP-CLI, I would highly recommend you to consider using
   WP-CLI. The required command you can find in the article below.
   [https://eu.siteground.com/tutorials/wordpress/real-cron-job/](https://eu.siteground.com/tutorials/wordpress/real-cron-job/)
 * Once you test the execution, you can define the Cron with the output redirect
   to /dev/null in order to avoid the automatic notification mails sent by the Cron
   service as the WP-CLI always returns output.
 * Best Regards,
   Dimitar
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Speed Optimizer - The All-In-One Performance-Boosting Plugin] sgo_javascript_combine_excluded_inline_content](https://wordpress.org/support/topic/sgo_javascript_combine_excluded_inline_content/)
 *  Plugin Support [Dimitar Petrov](https://wordpress.org/support/users/demiro/)
 * (@demiro)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/sgo_javascript_combine_excluded_inline_content/#post-16910442)
 * I’m afraid that we cannot find the ticket using the information provided in this
   forum. Would you please update the ticket with the link to this forum thread 
   and request the issue to be revised? We will be glad to investigate the case 
   further.
 * Regards,
   Dimitar
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Speed Optimizer - The All-In-One Performance-Boosting Plugin] sgo_javascript_combine_excluded_inline_content](https://wordpress.org/support/topic/sgo_javascript_combine_excluded_inline_content/)
 *  Plugin Support [Dimitar Petrov](https://wordpress.org/support/users/demiro/)
 * (@demiro)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/sgo_javascript_combine_excluded_inline_content/#post-16910256)
 * Hello [@swinggraphics](https://wordpress.org/support/users/swinggraphics/),
 * I am unable to find any issues with the created filter. As I can see this inline
   script should be added by the Complianz plugin, however I was unable to replicate
   the issue. I set up the plugin, but I was unable to generate the required inline
   script.
 * Would you please provide us with instructions on how we can enable the script
   so we can replicate the issue and investigate the case further? Also, if the 
   site in question is hosted on SiteGround servers, please open a ticket on our
   end, as that way we will be able to fully replicate and investigate the issue
   quickly.
 * Thank you for your cooperation.
 * Regards,
   Dimitar
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Speed Optimizer - The All-In-One Performance-Boosting Plugin] Enhancement Request | Speed Testing | Please Specify Lighthouse Version](https://wordpress.org/support/topic/enhancement-request-speed-testing-please-specify-lighthouse-version/)
 *  Plugin Support [Dimitar Petrov](https://wordpress.org/support/users/demiro/)
 * (@demiro)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/enhancement-request-speed-testing-please-specify-lighthouse-version/#post-16880389)
 * I have checked the internal task that was opened in regards to this case. There
   is still no update by our developers. Once more information is available, we 
   will update this thread. However, we cannot provide an ETA.
 * Regards,
   Dimitar
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Speed Optimizer - The All-In-One Performance-Boosting Plugin] I want to know how to disable image optimization](https://wordpress.org/support/topic/i-want-to-know-how-to-disable-image-optimization/)
 *  Plugin Support [Dimitar Petrov](https://wordpress.org/support/users/demiro/)
 * (@demiro)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/i-want-to-know-how-to-disable-image-optimization/#post-16880288)
 * You can safely disregard the error if you would like to use lmagify plugin for
   the image optimization. However, if you would like to use our plugin for that,
   you should completely remove/uninstall the lmagify plugin. Even if the other 
   plugin is disabled, its files and database records are still present and our 
   plugin detects them, thus disables the specific features in question.
 * Regards,
   Dimitar
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Speed Optimizer - The All-In-One Performance-Boosting Plugin] I want to know how to disable image optimization](https://wordpress.org/support/topic/i-want-to-know-how-to-disable-image-optimization/)
 *  Plugin Support [Dimitar Petrov](https://wordpress.org/support/users/demiro/)
 * (@demiro)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/i-want-to-know-how-to-disable-image-optimization/#post-16880259)
 * Would you please provide us with more information regarding how you trigger the
   error? Is the error displayed on every button inside the SiteGround Optimizer’s
   dashboard, or only by clicking a specific one?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Speed Optimizer - The All-In-One Performance-Boosting Plugin] I want to know how to disable image optimization](https://wordpress.org/support/topic/i-want-to-know-how-to-disable-image-optimization/)
 *  Plugin Support [Dimitar Petrov](https://wordpress.org/support/users/demiro/)
 * (@demiro)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/i-want-to-know-how-to-disable-image-optimization/#post-16880059)
 * Thank you for the update.
 * I have checked the provided screenshots and everything is correctly set up.
 * As I understand, the issue is that deactivating-reactivating the plugin results
   in automatic enabling of the image optimization setting. This is not expected.
   I have tested on several test applications and confirmed that once the feature
   in question is deactivated, it was not reactivated upon re-enabling the plugin.
 * If you are referring to the initial plugin installation, then the Media optimization
   feature is not expected to be enabled as well. In order to assure that there 
   is no such bug, I made some new WordPress installations, then installed the SiteGround
   Optimizer and confirmed that the features are not pre-enabled.
 * However, if the results are not the same on your end and your website is hosted
   on SiteGround servers, please open a ticket on our end and we will be glad to
   investigate the issue further. Otherwise, you can check if another plugin is 
   not causing the issue by disabling all plugins and testing that way.
 * Regards,
   Dimitar
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Speed Optimizer - The All-In-One Performance-Boosting Plugin] Images not showing when plugin is activated](https://wordpress.org/support/topic/images-not-showing-when-plugin-is-activated/)
 *  Plugin Support [Dimitar Petrov](https://wordpress.org/support/users/demiro/)
 * (@demiro)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/images-not-showing-when-plugin-is-activated/#post-16878276)
 * Hello [@kent3230](https://wordpress.org/support/users/kent3230/),
 * The issue could be caused by the JS and CSS Minification and Combination features
   of our plugin. Please deactivate the mentioned features one by one and test after
   every deactivation. If the issue is caused by such feature you can exclude the
   problematic JavaScript/CSS file from the plugin’s dashboard. Note that some of
   the files are not listed in the Exclude drop-down menus. In such cases, you should
   exclude them by adding a filter in the theme’s functions.php file. The code-samples
   of the required filters you can find in our official documentation:
   [https://wordpress.org/plugins/sg-cachepress/](https://wordpress.org/plugins/sg-cachepress/)
 * You can open a ticket from your SiteGround User Area so we can investigate the
   case further.
 * Best Regards,
   Dimitar
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Speed Optimizer - The All-In-One Performance-Boosting Plugin] Exclude .JS files from being cached](https://wordpress.org/support/topic/exclude-js-files-from-being-cached/)
 *  Plugin Support [Dimitar Petrov](https://wordpress.org/support/users/demiro/)
 * (@demiro)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/exclude-js-files-from-being-cached/#post-16878242)
 * Thank you for the clarifications.
 * The static content(JS/CSS/Images) is not actually cached by our plugin. If you
   have enabled the File-Based caching layer, then the pages’ HTML output will be
   saved on the server’s disk and loaded quickly upon request, but the JS files 
   will not be added to the cache.
 * On our servers, we have specific Direct Delivery system for static content and
   the server always assigns _last-modified_ header in order to assure that the 
   browser will not load the data from its cache if the file is modified after the
   last access.
 * Please check if your theme or another plugin does not have a static content cache
   features. Then, if the issue still persists, please open a new ticket from your
   SiteGround User Area so we can replicate and investigate the case further.
 * Best Regards,
   Dimitar
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Speed Optimizer - The All-In-One Performance-Boosting Plugin] GDPR Cookie Compliance Plugin (CCPA ready) cache problem](https://wordpress.org/support/topic/gdpr-cookie-compliance-plugin-ccpa-ready-cache-problem/)
 *  Plugin Support [Dimitar Petrov](https://wordpress.org/support/users/demiro/)
 * (@demiro)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/gdpr-cookie-compliance-plugin-ccpa-ready-cache-problem/#post-16878115)
 * Hello,
 * I have installed the mentioned plugin on my end and once I click the Accept button,
   the page does not refresh and no errors are encountered.
 * You can exclude the cookies from the caching mechanism using the following filter,
   which should be added to the theme’s functions.php file:
 *     ```wp-block-code
       add_filter( 'sgo_bypass_cookies', 'add_sgo_bypass_cookies');
       function add_sgo_bypass_cookies( $bypass_cookies ) {
           // Add the cookies, that you need to bypass the cache.
           $bypass_cookies[] = 'cookie_name';
           $bypass_cookies[] = 'cookie_name_2';
   
           return $bypass_cookies;
       }
       ```
   
 * Please test that way and if the issue still persists, you can open a ticket on
   our end from your SiteGround User Area so we can investigate the case further.
   If you website is not hosted by us, you can contact a developer who can review
   the case further as the reported page refresh is not expected to be done by our
   plugin and could be caused by different extension or plugins conflict.
 * Regards,
   Dimitar

Viewing 15 replies - 1 through 15 (of 131 total)

1 [2](https://wordpress.org/support/users/demiro/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/demiro/replies/page/3/?output_format=md)…
[7](https://wordpress.org/support/users/demiro/replies/page/7/?output_format=md)
[8](https://wordpress.org/support/users/demiro/replies/page/8/?output_format=md)
[9](https://wordpress.org/support/users/demiro/replies/page/9/?output_format=md)
[→](https://wordpress.org/support/users/demiro/replies/page/2/?output_format=md)