Magento 2 ?? ??? ???? ?? ??? ?? ??? ????, ?? ???? ???? ??? ?? ?? ????? ?? ???? ??? ?????. ? ??? Magento 2 Online Store? ?? ??? ????? ? ????? 7 ?? ???? ?? ?????.
1. ???? ?? ???????? ?????? Varnish? ? ??? ??? ?? ????? ?? ? ?? ?? ???? ???? ???? HTTP ??? ?????. Magento 2? ???? ?????. ??? ??? ??? ????
??? ?? ?? ???? VCL ??? ? ????.
-
? ??? ??? ?? ??? ?? ??? ??? ?? ??? ?? ??? ??????. -
3 ??? ???? JavaScript ??? ?????.
??? ???? JavaScript ??? ???? ? ?? ???? ??? ??? ??? ?? ? ? ????. Magento 2.4? ?? ?? ??? ????? ?? ?? ?????. 4
? ???? JPEG ? PNG?? ??? ??? ????. ? ??? ???? Webp ???? ???? ??? ??? ??? ??? ???? ? ????. ?? ? ??? ???? ?? ? ? ????. ( ?? ?? ?? ??, ??? 80? ????). Magento 2?? ??? ??? ??? ??? ? ?? ??? ????.
5
HTML ??? ??? ??? ??? ??? ??? ? ??????. Magento 2.4 ?? ???? HTML? ?????. ??? ??? :
6
Magento 2.4 ??? ? ???? ???? Elasticsearch ??? ??????. ??? ????? ?? ?? ?? ??? Elasticsearch ??? ???? ? ????.
?? ?? Elasticsearch ?? ?? ?? ????? ?????. vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php
?? ini_set('memory_limit','12000M');
use Magento\Framework\App\Bootstrap;
require __DIR__.'/app/bootstrap.php';
$params = $_SERVER;
$bootstrap = Bootstrap::create(BP,$params);
$obj = $bootstrap->getObjectManager();
$state = $obj->get('Magento\Framework\App\State');
$state->setAreaCode('frontend');
$categories = $obj->create('Magento\Catalog\Model\ResourceModel\Category\Collection');
$categories->addIsActiveFilter()
->joinUrlRewrite();
foreach($categories as $cat){
$st = microtime(true);
$dd = file_get_contents_ssl($cat->getUrl());
$fn = microtime(true);
if(($fn - $st) > 0.9)
echo $cat->getUrl()." : time: ".($fn - $st)."\n";
sleep(3);
}
$open = fopen("1000-popular-pages.csv","r");
while(($data = fgetcsv($open,4000,",")) !== FALSE){
if(filter_var($data[0],FILTER_VALIDATE_URL) !== FALSE && strpos($data[0],".pdf") === FALSE && strpos($data[0],"/blog/") === FALSE){
$st = microtime(true);
$dd = file_get_contents_ssl($data[0]);
$fn = microtime(true);
if(($fn - $st) > 0.9)
echo $data[0]." : time: ".($fn - $st)."\n";
sleep(3);
}
}
fclose($open);
function file_get_contents_ssl($url) {
$ch = curl_init();
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);
curl_setopt($ch, CURLOPT_HEADER, false);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_REFERER, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 3000);
curl_setopt($ch, CURLOPT_TIMEOUT, 10000);
$result = curl_exec($ch);
if($result === FALSE)
$result = curl_error($ch);
curl_close($ch);
return $result;
}
? ??? Magento 2 ? ???? ??? ????? 7 ?? ??? ?????. Varnish? ?? ??? ??? ????, ?? ?? ?? ??, JavaScript? ?????, ?? ??? ??, HTML ??, ?? ? ??? ??? JS ? CSS ?? ? ?? Elasticsearch Query ??. ? ??? ?? ?? ??? ?? ???? ???? ??????.
? ??? 7 ?? ?? ?? Magento 2 ? ???? ? ?? ?? ? ????.? ?? ?????. ??? ??? PHP ??? ????? ?? ?? ??? ?????!

? AI ??

Undress AI Tool
??? ???? ??

Undresser.AI Undress
???? ?? ??? ??? ?? AI ?? ?

AI Clothes Remover
???? ?? ???? ??? AI ?????.

Clothoff.io
AI ? ???

Video Face Swap
??? ??? AI ?? ?? ??? ???? ?? ???? ??? ?? ????!

?? ??

??? ??

???++7.3.1
???? ?? ?? ?? ???

SublimeText3 ??? ??
??? ??, ???? ?? ????.

???? 13.0.1 ???
??? PHP ?? ?? ??

???? CS6
??? ? ?? ??

SublimeText3 Mac ??
? ??? ?? ?? ?????(SublimeText3)

??? ??











??? ??? ?? ? ??? ????? SSL ???? ?? ? ???? ?????????. SSL ??? ?? ??? 2024 ? 56 ? ??? ?????? ?? ??? ???? ???? ?? ??? ???? ???? ????.

?? ?????? ?? ????? ??? ?? ???? ????? ????? ??? ?? ? ? ????. ??? ??? ?? ?? ????? ?? ??? ???? ???? ??? ?????. ? ??

??? ??? ?? ??? ?? ? ???? ??? ???? ?? ? ?? ???? ??? ?? ????? ?? AI? ???? ??? ? ? ????? ?????. ????? ?? ???

??? ?? ?? (AI) ??? ?? ?? ???? ??? ?? ????? ?? ?? ?????? ??? ???? ??? ??? ??? ???????.

??? ??, ?? ??? ?? ??? ????????. ?? ??? ? ??? ??? ?? ??? AI ????????.

?? ?? (AI)? ??? ??? ????????? ??? ??????, ??? ?? ???? ??? ??? ??? ????? ???? ?? ??? ?? ??? ?? ???? ?????. ?? ????? ???? ????

?? ???? AI ?? ??? ???????, ??? ??? ???, Anthropic 's Claude? ?? ?? ??? ???, ?? ????? ?? ??? ?? 50 ? ? ?? ?????? ????? ?? ???? ????.

?? ?? ?? (AI)? ??? "??"?? ?? ?? ??? ? ??? ???? ??? ? ??
