rails action cache can help performance a lot
but there is a drawback with action cache, it just can output text/html header content-type, eg: can not output text/xml header content-type for your blog rss feed.
I think there may need a hacker with reverse proxy server like nginx.
the config will like below, from now on nginx just support add_header syntax which means nginx will add user custom header to app server response header without check if the header already exist
location /rss {
set_header content_type text/xml;
proxy_pass http://app_server;
break;
}
the set_header will check the output header parameter if exist replace it with user custom. if not just add to the header
分享到:
相关推荐
A fatal drawback of the widely used Granger causality in neuroscience
The typical cost of using a B-tree index comprises three components—the depth of the index, based on the blevel; the number of index leaf blocks that will be visited, based on leaf_blocks; and the ...
used, a major drawback of IUPAC strings is that they necessarily remove much of the information originally present in the set of sequences. Nucleotide distribution matrices retain most of the ...
support as the main drawback of open source software. It is certainly not the case with R! There are many excellent documents, books and sites that provide free information on R. Moreover, the ...
local binary pattern (LBP), have the drawback of losing global spatial information, while global features preserve little local texture information. This paper proposes an alternative hybrid scheme, ...
But that is not the greatest drawback. The most bad point is that the book just presents formulae after formulae, equations after equations, without giving examples of how to use it, and also no ...
This is project for OpenCV C++. This filter is able to reduce noise of the image while preserving the edges. The drawback of this type of filter is that it takes longer time to process.
The drawback of this mode: You cannot sort the attachments according to the column you choose with /sort command-line option. * Version 2.30 o Added 'Domain' column, which displays the domain of ...
In this paper we examine the question of designing and allocating transmission sequences to users in a mobile ad hoc network that has no spatially boundary. A basic tenet of the transmission sequence ...
The drawback with this approach is the CCellCtrl-derived controls need to stick to the look and behaviour of controls from later versions of MFC. The frames are painted differently for instance, but ...
Driver is able to turn on HCI mode a lot faster than sleepwatcher as it runs from the kext cache instead of after the system fsck I've configured the driver's plist to auto-match the device codes ...
The drawback? SpamAssassin’s lack of published documentation.SpamAssassin by Alan Schwartz, is the only published resource devoted to SpamAssassin and how to integrate it effectively into your ...
The only source of any storage location information is the sysindexes table, which keeps track of the address of the root page for every index, and the first IAM page for the index or table....
Long Short Term Memory networks, usually called “LSTMs” ...understand the need of LSTM which can be explained by the drawback of practical use of Recurrent Neural Network (RNN). So, lets start with RNN
One (minor) drawback of Google Test is it's text based UI, and this project attempts to help. 本系列的文章,均以gtest-1.5.0为例。在Linux平台下,假设源代码在/usr/src/gtest-1.5.0目录;在Win32平台...
Design,Preparation and in vitro Bioactivity of Monopegylated Recombinant Hirudin,侯蓓蓓,李世荣,Hirudin is the most potent inhibitor of thrombin found in nature. As a promising anticoagulant, a ...
Ionization-induced electron injection in laser wakefield accelerators, which was recently proposed to lower the laser intensity threshold for electron trapping into the wake wave, has the drawback of ...
data mules can significantly reduce the energy consumption at sensor nodes, a drawback is an increased data delivery latency. Reducing the latency through optimizing the motion of data mules is ...
location, an elevation grid stores the height of the terrain at that location. This has a major drawback: it is unable to allow terrain with overhangs and caves, and is unable to allow for ...
The voice inside I randomly recorded section are free to change the sound files drawback is that only supports wav format and write files, not the operation of a binary stream, efficiency.