Typical Odoo installation guide suggests to configure Nginx to cache paths like this:
/web/static
But what about paths like this:
/web/image
/website/static
/web_sale/static
I would guess that they should also be cached. But what I'm wondering on is this this:
/web/content
This is the path to `js` and `css` from `assets_common`, `assets_frontend` etc.
Does caching them can lead to some problems? I don't really see why it would be the case.
This is my Nginx config:
location ~* /[0-9a-zA-Z_]*/(static|image|content)/ {
proxy_cache_valid 200 90m;
proxy_buffering on;
expires 864000;
proxy_pass http://odoo;
}
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- ลูกค้าสัมพันธ์
- e-Commerce
- ระบบบัญชี
- สินค้าคงคลัง
- PoS
- Project
- MRP
คำถามนี้ถูกตั้งค่าสถานะ
5792
มุมมอง
สนุกกับการพูดคุยนี้ใช่ไหม? เข้าร่วมเลย!
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อRelated Posts | ตอบกลับ | มุมมอง | กิจกรรม | |
---|---|---|---|---|
Add New Operation Type in Warehouse
แก้ไขแล้ว
|
|
2
ธ.ค. 24
|
3763 | |
|
1
พ.ย. 24
|
2498 | ||
|
1
พ.ค. 24
|
2416 | ||
|
3
พ.ย. 23
|
1153 | ||
|
2
เม.ย. 23
|
16881 |
I've tested it, but it seems it gives some negative impact on gtmetrix.com score.