jdbc.properties#hibernate settings hibernate.show_sql=truehibernate.format_sql=truehibernate.cache.use_query_cache=truehibernate.cache.provider_class=...
分类:
编程语言 时间:
2014-07-07 12:43:02
阅读次数:
184
通常人们所说的Cache就是指缓存SRAM。 SRAM叫静态内存,“静态”指的是当我们将一笔数据写入SRAM后,除非重新写入新数据或关闭电源,否则写入的数据保持不变。 由于CPU的速度比内存和硬盘的速度要快得多,所以在存取数据时会使CPU等待,影响计算机的速度。SRAM的存取速度比其它内存和硬盘都要...
分类:
其他好文 时间:
2014-07-07 08:13:41
阅读次数:
308
1. [代码]tmpl.js // Simple JavaScript Templating// John Resig - http://ejohn.org/ - MIT Licensed(function() {var cache = {};this.tmpl = function tmpl(s....
分类:
编程语言 时间:
2014-07-06 23:21:22
阅读次数:
278
Yii 的 views/layouts 是用来放置 layouts 的目录,在默认的情况下会有 main.php 和 column1.php 和 column2.php。main.php 内容定义了, 以及 page header 和 footer 等。 column1.php 和 column2....
分类:
其他好文 时间:
2014-07-05 20:09:24
阅读次数:
197
一、首先在main.php配置缓存组件 在components里面添加cache项。代码如下: // application components 'components'=>array( 'user'=>array( // enable cookie-...
分类:
其他好文 时间:
2014-07-05 18:57:10
阅读次数:
178
函数page_get_cache代码:function page_get_cache($status_only = FALSE) { static $status = FALSE; global $user, $base_root; if ($status_only) { return ...
分类:
其他好文 时间:
2014-07-03 20:04:26
阅读次数:
210
1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 #include "packet_header.h" 10 #include 11...
分类:
其他好文 时间:
2014-07-03 19:02:17
阅读次数:
484
/****************************************************************************
****************************************************************************
***
*** This header was automatically...
分类:
移动开发 时间:
2014-07-03 16:11:57
阅读次数:
213
1. get是从服务器上获取数据,post是向服务器传送数据。2. get是把参数数据队列加到提交表单的ACTION属性所指的URL中,值和表单内各个字段一一对应,在URL中可以看到。post是通过HTTP post机制,将表单内各个字段与其内容放置在HTML HEADER内一起传送到ACTI...
分类:
其他好文 时间:
2014-07-02 18:59:44
阅读次数:
262
Google Hacking指利用google搜索引擎搜索信息来入侵的技术和行为intitle 把网页的URL的某个字符作为搜索条件intext 把网页中的正文内容中的某个字符作为搜索条件inurl 用户搜索网页上包含的URLfiletype 指定类型的文件cache 搜索关于某些内容的缓存还有一些...
分类:
其他好文 时间:
2014-07-02 17:36:52
阅读次数:
321