افزایش سرعت ووکامرس با حذف AJAX
# BEGIN Disable cart fragments RewriteEngine On # Uncomment rule bellow and update with your site url if you want to disable only for homepage #RewriteCond %{HTTP_REFERER} ^https://yoursite.com/$ [NC] RewriteCond %{QUERY_STRING} ^wc-ajax=get_refreshed_fragments$ RewriteRule ^(.*)$ /404.php [NC,L] # END Disable cart fragments