第一种:
使用aop指定切面aspect,
id="LogAdvice" class="com.thinkmore.framework.monitor.log.LogAdviceInterceptor"> name="cache"> local="ehCache" /> proxy-target-class="true"> id="txPointcut" exp...
分类:
其他好文 时间:
2014-10-21 12:25:44
阅读次数:
148
org.springframework.cache.annotation.CacheEvict
分类:
系统相关 时间:
2014-10-21 12:08:09
阅读次数:
184
来自http://www.keepmyway.com/index.php/91.html关键字:cache-control, expire, if-none-match, if-modified-since, etag, last-modified请求处理过程:当一个用户发起一个静态资源请求的时候,...
分类:
Web程序 时间:
2014-10-20 13:08:05
阅读次数:
278
最近再ITEYE上看到关于讨论JAVA缓存技术的帖子比较多,自己不懂,所以上网大 概搜了下,找到一篇,暂作保存,后面如果有用到可以参考。此为转贴,帖子来处:http://cogipard.info/articles /cache-static-files-with-jnotify-and-ehcac...
分类:
编程语言 时间:
2014-10-20 11:41:51
阅读次数:
279
若在提交.gitignore之前,不小心提交了无用的文件入repo,可以用以下命令在repo中去除这些文件git rm -r --cached git add .git commit -m '.gitignore is now working'源地址:http://stackoverflow.com...
分类:
系统相关 时间:
2014-10-20 11:39:33
阅读次数:
204
============问题描述============ 哪位大神帮我看看下面的代码,为什么传入Url最后得到的drawable是空呢?
//网络图片先下载到本地cache目录保存,以imagUrl的图片文件名保存。如果有同名文件在cache目录就从本地加载 publicstaticDrawable...
分类:
移动开发 时间:
2014-10-19 22:49:54
阅读次数:
220
前段时间,安装完Magento插件以后,就会出现空白或者404问题,在某些运营中的magento网站,安装新插件后后台配置空白解决。1 将sysytem->toos->Compilation如果Compiled是Enabled,将其改成disable2、将system->Cache Storage ...
分类:
其他好文 时间:
2014-10-19 21:17:00
阅读次数:
169
唠叨几句:nginx的缓存功能有:proxy_cache/fastcgi_cacheproxy_cache的作用是缓存后端服务器的内容,可能是任何内容,包括静态的和动态。fastcgi_cache的作用是缓存fastcgi生成的内容,很多情况是php生成的动态的内容。proxy_cache缓存减少了nginx与后端通信的次数,节省了传输..
分类:
系统相关 时间:
2014-10-19 09:06:40
阅读次数:
372
package com.zhang.shine.cache;import java.lang.reflect.Method;import org.aspectj.lang.ProceedingJoinPoint;import org.aspectj.lang.annotation.Around;im...
分类:
其他好文 时间:
2014-10-19 01:13:37
阅读次数:
256
Consistent Hashing?算法早在?1997?年就在论文?Consistent hashing and random trees?中被提出,目前在cache?系统中应用越来越广泛; 1?基本场景 比如你有?N?个?cache?服务器(后面简称?cache?),那...
分类:
编程语言 时间:
2014-10-18 15:37:26
阅读次数:
272