Register Register Member Login Member Login Member Login Forgot Password ??
PHP , ASP , ASP.NET, VB.NET, C#, Java , jQuery , Android , iOS , Windows Phone
 

Registered : 109,027

HOME > บทความจากสมาชิก > IIS Windows Server 2008 / 2012 - Content-Encoding : gzip : Performance



 
Clound SSD Virtual Server

IIS Windows Server 2008 / 2012 - Content-Encoding : gzip : Performance

IIS Windows Server 2008 / 2012 - Content-Encoding : gzip : Performance เทคนิค Advanced การส่ง Header แบบเข้ารหัส Content-Encoding : gzip บน IIS ที่ทำงานบน Windows Server 2008 / 2012 ช่วยเพิ่ม Performance ของเว็บไซต์ เพิ่มความเร็ว และลด Bandwidth และวิธีนี้ใช้ได้ทั้ง IIS ที่รัน Application พวก .Net หรือจะใช้ IIS ทำงานร่วมกับ PHP ก็ใช้วิธีนี้เช่นเดียวกัน

ทำไมต้องใช้ Content-Encoding : gzip อ่านเพิ่มเติมได้ในบทความนี้


ถ้าใช้ IIS เป็น Web Server สามารถปรับแต่งที่ IIS ได้เลย โดยที่ไม่ต้องไปทำการปรับแต่งค่าอื่น ๆ ในโปรแกรม / Web.Config / php.ini

IIS  Windows Content-Encoding

ภายใต้ Server Manager -> Web Server ของ IIS เลือก Add Roles Services

IIS Windows Content-Encoding

ภายใต้ Performance เลือก Dynamic Content Compression

IIS Windows Content-Encoding

ติดตั้งเรียบร้อย

IIS Windows Content-Encoding

ให้ไปที่ IIS เลือก Web Site ของเรา หรือจะทที่ Default Web Site -> Compression

IIS Windows Content-Encoding

เลือก Enable dynamic content compression และ Enable static content compression จากนั้นเลือก Apply และให้ Restart ตัว IIS ซะ 1 รอบ

IIS Windows Content-Encoding

ตัวอย่างรนี้ผมใช้ IIS บน Windows เพื่อรัน PHP ซึ่งจะเห็นว่ามีการส่ง Header แบบ Content-Encoding : gzip แล้ว








ปรับแต่งเพิ่มเติม
Go to : URL Compression <urlCompression>

บทความที่เกี่ยวข้องที่ควรอ่าน
Go to : Content-Encoding : gzip เพิ่ม Performance โหลดเร็ว ลด Bandwidth ของเว็บ
Go to : HTTP Headers for Chrome เอาใจนัก Web Developer ไว้ดู HTTP Header ของเว็บ
Go to : การทำแคช Cache ไฟล์ CSS , JavaScript , Image และ Cache หน้า Webpage ช่วยเพิ่มความเร็วและลด Bandwidth


   
Share
Bookmark.   

  By : TC Admin
  Article : บทความเป็นการเขียนโดยสมาชิก หากมีปัญหาเรื่องลิขสิทธิ์ กรุณาแจ้งให้ทาง webmaster ทราบด้วยครับ
  Score Rating :
  Create Date : 2013-06-27
  Download : No files
Sponsored Links
ThaiCreate.Com Forum


Comunity Forum Free Web Script
Jobs Freelance Free Uploads
Free Web Hosting Free Tools

สอน PHP ผ่าน Youtube ฟรี
สอน Android การเขียนโปรแกรม Android
สอน Windows Phone การเขียนโปรแกรม Windows Phone 7 และ 8
สอน iOS การเขียนโปรแกรม iPhone, iPad
สอน Java การเขียนโปรแกรม ภาษา Java
สอน Java GUI การเขียนโปรแกรม ภาษา Java GUI
สอน JSP การเขียนโปรแกรม ภาษา Java
สอน jQuery การเขียนโปรแกรม ภาษา jQuery
สอน .Net การเขียนโปรแกรม ภาษา .Net
Free Tutorial
สอน Google Maps Api
สอน Windows Service
สอน Entity Framework
สอน Android
สอน Java เขียน Java
Java GUI Swing
สอน JSP (Web App)
iOS (iPhone,iPad)
Windows Phone
Windows Azure
Windows Store
Laravel Framework
Yii PHP Framework
สอน jQuery
สอน jQuery กับ Ajax
สอน PHP OOP (Vdo)
Ajax Tutorials
SQL Tutorials
สอน SQL (Part 2)
JavaScript Tutorial
Javascript Tips
VBScript Tutorial
VBScript Validation
Microsoft Access
MySQL Tutorials
-- Stored Procedure
MariaDB Database
SQL Server Tutorial
SQL Server 2005
SQL Server 2008
SQL Server 2012
-- Stored Procedure
Oracle Database
-- Stored Procedure
SVN (Subversion)
แนวทางการทำ SEO
ปรับแต่งเว็บให้โหลดเร็ว


Hit Link
   







Load balance : Server 04
ThaiCreate.Com Logo
© www.ThaiCreate.Com. 2003-2024 All Rights Reserved.
ไทยครีเอทบริการ จัดทำดูแลแก้ไข Web Application ทุกรูปแบบ (PHP, .Net Application, VB.Net, C#)
[Conditions Privacy Statement] ติดต่อโฆษณา 081-987-6107 อัตราราคา คลิกที่นี่