首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > JavaScript > 将多个CSS或JavaScript文件到一个文件,缓存文件和服务相结合。

将多个CSS或JavaScript文件到一个文件,缓存文件和服务相结合。

资 源 简 介

Using one file, instead of having clients download several CSS and JavaScript files, phpFlair allows you to serve them one CSS and one JavaScript file. This allows your Web page to load and respond more quickly. GZip encoding further reduces the time for your Web page to load and reduces bandwidth used by your site. Client-side cache headers allow clients to download your CSS and JavaScript once, instead of every page load, unless you make changes to your CSS or JavaScript file(s), in which case the phpFlair cache is automatically updated. The combined CSS or JavaScript file created by phpFlair contains your code unmodified, just combined and GZipped. Example usage of phpFlair Replace several script calls with some phpflair ```

文 件 列 表

phpflair.php
VIP VIP
0.165273s