This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
location ~* ^/wp-content/.+\.(png|jpg)$ { | |
add_header Vary Accept; | |
try_files $uri$webp_suffix $uri =404; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
map $http_accept $webp_suffix { | |
default ""; | |
"~*webp" ".webp"; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="https://toidungchan.com/wp-content/uploads/ga-lite.min.js" async></script> <script> var galite = galite || {}; galite.UA = 'XXX'; // Đoạn code cho Google Analytics </script> |