1.减少HTTP请求次数合并图片、CSS、JS,改进首次访问用户等待时间。2.使用CDN就近缓存==>智能路由==>负载均衡==>WSA全站动态加速3.避免空的src和href当link标签的href属性为空、script标签的src属性为空的时候,浏览器渲染的时候会把当前页面的URL作为它们的属性...
分类:
其他好文 时间:
2014-06-04 22:45:48
阅读次数:
230
缓存机制大家一定注意,磨了我好多时间。在shop++系统中,如果在没有通过shop++程序的情况下,而直接来修改系统中的shopxx.xml配置文件,那么修改内容并不会直接生效,要想使其生效,需要进入后台-->内容-->缓存管理-->清空缓存才会生效。缓存注意要点:shop++中修改ftl文件没效果...
分类:
其他好文 时间:
2014-06-04 22:33:07
阅读次数:
339
1,选取
打开图片->点击选取工具->ctrl+c->ctrl+n->ctrl+v2,去除图片背景
打开你要去除背景的图片->在图层面板中->双击图层把图层改为0层->用魔棒点击背景->然后点击delete键->最后将图片存储为png格式
如果存为jpg他会默认添加背景3,改变图片上文字的颜色 打....
分类:
其他好文 时间:
2014-06-04 22:31:45
阅读次数:
405
Validate if a given string is numeric.Some
examples:"0"=>true" 0.1 "=>true"abc"=>false"1
a"=>false"2e10"=>trueNote:It is intended for the problem stat...
分类:
其他好文 时间:
2014-06-04 20:54:02
阅读次数:
326
Given a list, rotate the list to the right
bykplaces, wherekis non-negative.For
example:Given1->2->3->4->5->NULLandk=2,return4->5->1->2->3->NULL./***D...
分类:
其他好文 时间:
2014-06-04 20:44:57
阅读次数:
227
简单深搜,可以完全暴力,不会超时的。#include#include#includeusing
namespace std;#define MAX(a,b) (a>b?a:b) char maze[10][10];int n, maxn;void
DFS(int step,int count);in...
分类:
Web程序 时间:
2014-06-04 20:43:04
阅读次数:
270
1,restime统计响应时间#!/bin/bash#统计日志响应时间用if [ $# -lt 1
]; then echo "at least have one param; " echo "ex: restime a.log b.log *.log"
exit 1fi. lgq...
分类:
其他好文 时间:
2014-06-04 20:23:43
阅读次数:
291
Given a sorted linked list, delete all nodes
that have duplicate numbers, leaving onlydistinctnumbers from the original
list.For example,Given1->2->3-...
分类:
其他好文 时间:
2014-06-04 20:19:49
阅读次数:
282
操作方法:1.新建工程;File——>new——>Java
Project——>TestServlet(工程名称)——>Finish.2.加载servlet-api.jar类包;TestServlet(右键)——>Build
Path——>Configure Build Path——>Library...
分类:
其他好文 时间:
2014-05-29 15:24:02
阅读次数:
254
1、打开fiddler,>>Tools>>Fiddler
Options,打开如图所示的HTTPS配置项:点击Export Rppt Certifica to Desktop
:桌面上多了一个证书:下面就是将证书导入:点击开始-运行,输入:mmc,打开如下图所示页面,点击红框菜单最后点击完成,确定!...
分类:
其他好文 时间:
2014-05-29 15:07:42
阅读次数:
406