我如何gzip压缩我的网页文件(How do I gzip my web files)

   IT问题网   2019-03-18 00:00:00

问 题

由于prescribed由雅虎gzip'ng文件,将使你的网站加载速度更快。问题?我不知道如何:p

解决方案

http://www.webcodingtech.com/php/gzip-com$p$pssion.php

或者,如果你有apache时,尽量 http:// www .askapache.com / htaccess的/阿帕奇速-com pression.html

一些托管服务可以在控制面板中的选项。这并不总是可能的,虽然如此,如果你有困难,回来后用你的平台的更多细节。

标签:如何压缩紧缩网页文件



分享:

  • 微信
  • QQ好友
  • QQ空间
  • 新浪微博


热门推荐

Kohana3:不同的.htaccess的RewriteBase和Kohana的BASE_URL用于开发和生产环境(Kohana3: Different .htaccess rewritebase and kohana base_url for dev and production environment)

problem in my bootstrap.php i have the follow ...

什么是htaccess的选项-Indexes呢?(What is the htaccess Options -Indexes for)

problem i looked at the explanation in the apache.org sit ...

的.htaccess R = 301 VS R = 302(.htaccess r=301 vs r=302)

problem i am creating rules in my .htaccess for mobile, o ...

如何添加一个路径到PHP的include_path在.htaccess(How to append a path to PHP's include_path in .htaccess)

problem currently on my site i'm using statements like: ...

404重定向htaccess的错误后重写URL(Rewrite URL after redirecting 404 error htaccess)

problem so i know this may seem a little stra ...

在.htaccess条件SETENV?(Conditional SetEnv in .htaccess)

problem is it possible to set a setenv variable in an .ht ...

HTTPS强制重定向不工作在Word preSS(HTTPS Force Redirect not working in Wordpress)

problem my wordpress directory is at www.mysi ...

htaccess的,为了允许,拒绝,所有否认:迷茫?(.htaccess, order allow, deny, deny from all: confused)

problem in my .htaccess, i have the following: lt;limit ...

子域导致codeigniter控制器?(Subdomains leading to Codeigniter Controllers)

problem this seems like a common request, but i haven't b ...

htaccess的域名具体code块(Domain name specific code blocks in htaccess)

problem we have local servers, central dev, staging and p ...

要重定向所有参观者除了我(Want to redirect all visitors except for me)

problem basically i'm about to start work on ...

权限被拒绝:/var/www/abc/.htaccess pcfg_openfile:无法检查htaccess文件,确保其可读性?(Permission denied: /var/www/abc/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable)

problem hi all i'm using php for my website and ubuntu li ...

.htaccess文件不被读取("选项-Indexes"在.htaccess文件无法正常工作)(.htaccess file not being read ("Options -Indexes" in .htaccess file not working))

problem i created an .htaccess file with only the followi ...

放在哪里.htaccess文件?(Where to put .htaccess file)

problem i have some settings which i want to use in .htac ...

如何承载pssed在Apache的静态内容pre-COM $ P $?(How to host static content pre-compressed in apache)

problem i host a javascript game which basically consists ...

为什么LAMP托管避免CGI的Python?(Why avoid CGI for Python with LAMP hosting)

problem i have been using php for years. lately i've come ...

的.htaccess / .htpasswd则绕过,如果在某一个IP地址(.htaccess / .htpasswd bypass if at a certain IP address)

problem is it possible to have an .htaccess/. ...

404重定向到类似的网址(redirect 404 to similar urls)

problem i have a website with stories in it. i can have m ...

重定向到不同的URL与.htacess或PHP(redirect to different URL with .htacess or PHP)

problem i have a form at index.php that takes in user inp ...

pretty的URL与htaccess的?(pretty url with .htaccess)

problem i just created a new wordpress page template that ...