PHP 8.2.19
unlink(views//cache/metabox_57f2183c36e2ba2b0fbe50031b9dd015): No such file or directory
if($this->has($id)) {
return $this->storage->delete($id);
}
return false;
}
$listCache = scandir($this->_cache_path);
foreach ($listCache as $value) {
if($value == 'index.html' ) continue;
if($value == '.htaccess' ) continue;
if(!empty($id) && Str::is($id.'*', $value) !== false) {
unlink( $this->_cache_path.$value);
}
}
return true;
}
public function flush(): bool
{
$listFile = $this->storage->files();
$listDir = $this->storage->directories();
foreach ($listFile as $file) {
if( $file == 'index.html' ) continue;
Request
https://dangkhoamart.com/attomat-ngat-mach-dien-bbw3125sky-125a
GET
curl "https://dangkhoamart.com/attomat-ngat-mach-dien-bbw3125sky-125a" \
-X GET \
-H 'accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7' \
-H 'accept-encoding: gzip, deflate, br, zstd' \
-H 'host: dangkhoamart.com' \
-H 'pragma: no-cache' \
-H 'user-agent: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)' \
-H 'cache-control: no-cache' \
-H 'sec-ch-ua: "HeadlessChrome";v="129", "Not=A?Brand";v="8", "Chromium";v="129"' \
-H 'sec-ch-ua-mobile: ?0' \
-H 'sec-ch-ua-platform: "Windows"' \
-H 'upgrade-insecure-requests: 1' \
-H 'sec-fetch-site: none' \
-H 'sec-fetch-mode: navigate' \
-H 'sec-fetch-user: ?1' \
-H 'sec-fetch-dest: document' \
-H 'priority: u=0, i' \
-H 'x-https: 1';
Browser
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Headers
- accept
text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
- accept-encoding
gzip, deflate, br, zstd
- host
dangkhoamart.com
- pragma
no-cache
- user-agent
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
- cache-control
no-cache
- sec-ch-ua
"HeadlessChrome";v="129", "Not=A?Brand";v="8", "Chromium";v="129"
- sec-ch-ua-mobile
?0
- sec-ch-ua-platform
"Windows"
- upgrade-insecure-requests
1
- sec-fetch-site
none
- sec-fetch-mode
navigate
- sec-fetch-user
?1
- sec-fetch-dest
document
- priority
u=0, i
- x-https
1