بهبود سرعت: حذف کامل وابستگیهای خارجی
- همه ۹ عکس سایت بهصورت محلی (frontend/public/images) — بدون postimg/housedesign - حذف فونتهای خارجی (Google Fonts + fontcdn) — فونت سیستمی سریع - favicon واقعی + کش nginx برای webp/ico
This commit is contained in:
+1
-1
@@ -20,7 +20,7 @@ server {
|
||||
}
|
||||
|
||||
# کش استاتیک
|
||||
location ~* \.(js|css|png|jpg|jpeg|gif|svg|woff2?)$ {
|
||||
location ~* \.(js|css|png|jpg|jpeg|gif|svg|webp|ico|woff2?)$ {
|
||||
expires 30d;
|
||||
add_header Cache-Control "public, immutable";
|
||||
try_files $uri =404;
|
||||
|
||||
Reference in New Issue
Block a user