Venkat Raj
Forum Replies Created
-
@rawan2021 Are you using any additional plugins for WooCommerce product variations?
@newbie63 Both plugins provide page caching feature. So, if you enable both plugins it will provide
unexpected resultsIn addition to page caching, WP-Optimize also offer database optimization, image optimization and other feature. Choose whatever works best for you.@webprom You’ll see a
uploads/wpofolder and some files in it. If your server restricts access (for security reasons) to those files, then the self test will fail and WP-Optimize empties the.htaccessfile. i.e. If redirection test is failed, then there is no use to have.htaccessrules in place. So, it was emptied.
That said, we are working on alternative way to find the possibilities of serving webp images instead of relying on accessuploadsfolder.@l575 First delete the existing
robots.txtfile and try again.By defult, WP-Optimize doesn’t create a
robots.txtfile. When an SEO plugin (or other plugins) create arobots.txtfile, the provided code will prevent WP-Optimize from adding those line torobots.txtfile@aaron843 You can’t supply a numeric value to
add_filtercall. It should beadd_filter('wpo_page_cache_preload_continue_interval', function($interval) { return 1200; }); add_filter('wpo_page_cache_preload_memory_threshold', function($threshold) { $new_threshold = 1234; // you desired number return $new_threshold; });@webprom Presence of
wp-optimize-lossy_compressionoption is based onCompression optionsyou have selected and doesn’t have any relationship with WebP serving.In
WebP conversionsection you can clickShow advanced optionssection andReset WebP serving methodHowever, if the self test for htaccess capability fails, you will still seewp-optimize-rewrite_status false
The result depends on many things such as enabled modules. If you have restricted access touploadsfolder, it may also effect the test result.@marberz Glad to hear that. Thanks for letting us know
@fkoomek I was able to reproduce the issue, and added to our to do list. The fix will be available in the future release
When visiting a page with
wpo-cache-status: cachedheader, do you see an HTML comment similar to the screenshot when viewing source code?
https://prnt.sc/sKOGycDci-3QHi @rawan2021 The number of requests depends on number of plugins you are using and type of your site. WP-Optimize can minify those assets and merge them in to groups.
Could you please go through our documentation and let me know if you have any specific issue? Thanks
https://getwpo.com/faqs/category/minification/Hi @marberz It looks like there is an uncaught error happened on your site. Could you please share your php error log entries using https://pastebin.com/ ? So, I can help. Thanks
@newbie63 WP-Optimize provides page caching meaning that when a user requests a page, the generated HTML response is cached. When another user requests the same page, the cached HTML response is served instead of newly generating an HTML response. You can go to
Dashboard => WP-Optimize => Cacheand turn on caching.
What site health checkup says is to use an object cache. In simple terms, Object cache caches the result of database queries. When the same query needs to be done again, it serves result from cache rather than fresh database query. This is something your hosting provider can provide. Based on the type of object cache (Redis, Memcached) they provide you need to use respective plugin
https://wordpress.org/plugins/redis-cache/
https://wordpress.org/plugins/memcached/@forcesail I was partially able to reproduce the issue.
i.e. When using
wp_localize_scriptit is added in a separatescripttag and is not resulting in a error. However, if usingwp_add_inline_scriptWP-Optimize adds separate try/catch block which is a bug and results in the error you mentioned. Thanks for reporting.
I’ve added this to our to do list. A fix will be available in the next release.@magnavision I believe
> 67,4 MB with a max capacity of 250 MBthis is DB size? I can’t see the php error log you have posted?
Does any of your table needs repair?
Please try increasing memory limit@hungpham WP-Optimize sends
Cache-Control: no-cacheheader when serving cached pages. According to NGINX docs, it won’t cache responses that has valuesprivate,no-cacheorno-storeforcache-controlheader.
I think it is the reason you getMISSYou could ignore the header usingproxy_ignore_headersdirective.