Skip to content

Instantly share code, notes, and snippets.

View domain.conf
location ~* ^/wp-content/.+\.(png|jpg)$ {
add_header Vary Accept;
try_files $uri$webp_suffix $uri =404;
cuongpjh / nginx.conf
Created Mar 27, 2018
Config Nginx cho WebP
View nginx.conf
map $http_accept $webp_suffix {
default "";
"~*webp" ".webp";
cuongpjh / analytics.txt
Last active Mar 27, 2018
Tối ưu Analytics cho Google Page Speed
View analytics.txt
<script src="" async></script> <script> var galite = galite || {}; galite.UA = 'XXX'; // Đoạn code cho Google Analytics </script>
You can’t perform that action at this time.