Questions tagged [cache]

A location or process for storing of transitory or temporary data in order to improve application or system performance.

1588 questions
5
votes
1 answer

Use Cherokee Instead of nginx in Front of Varnish to Get HTTP 1.1 Optimizations?

We have been running nginx -> uWSGI, and now we are evaluating putting Varnish as a caching layer between nginx and uWSGI (similar to http://www.heroku.com/how/architecture). But, nginx only supports HTTP 1.0 on the back so it will have to create…
espeed
  • 159
  • 5
5
votes
2 answers

MySQL 5.5.9 Query Cache not working when schemas have hyphens ("-") in their name

I am running MySQL 5.5.9 x86_64 RPM as downloaded from mysql.com. Running on CentOS 5.5 Xen DomU. I have enabled the Query_cache however MySQL NEVER uses it. All of my tables are InnoDB. Why is the Qcache never hit? UPDATE 2: I have found this is…
thepearson
  • 870
  • 10
  • 18
5
votes
2 answers

Linux buffer cache effect on IO writes?

I'm copying large files (3 x 30G) between 2 filesystems on a Linux server (kernel 2.6.37, 16 cores, 32G RAM) and I'm getting poor performance. I suspect that the usage of the buffer cache is killing the I/O performance. To try and narrow down the…
5
votes
2 answers

Clear arp cache

How to clear arp cache ? How to refresh arp table ?
Kumar
  • 823
  • 3
  • 20
  • 43
5
votes
3 answers

Speeding up Apache and PHP

What are some good modules or systems that for caching that I can use for decreasing my load on Apache on an EC2 server running PHP, and why would you choose them?
tgriesser
  • 2,822
  • 2
  • 17
  • 10
5
votes
2 answers

Optimizing MySQL for small VPS

I'm trying to optimize my MySQL config for a verrry small VPS. The VPS is also running NGINX/PHP-FPM and Magento; all with a limit of 250MB of RAM. This is an output of MySQL Tuner... -------- General Statistics…
Chris McKee
  • 3,489
  • 2
  • 20
  • 16
5
votes
2 answers

Will adding a SSD cache device to my ZFS storage improve performance?

The server has 4GB of RAM and my zpool is made up of 15.5k SAS drives arranged like this: NAME STATE READ WRITE CKSUM tank ONLINE 0 0 0 raidz1-0 ONLINE 0 0 0 c0t2d0 ONLINE…
Sysadminicus
  • 596
  • 4
  • 8
  • 20
5
votes
2 answers

how to use nginx as a caching reverse proxy to replace squid/varnish

the following is our current setup on the apps but we would like to add nginx as a reverse proxy cache much like squid or varnish is it possible to edit this config to enable that caching behavior or do i need to add another nginx in front of this…
pylabs
5
votes
1 answer

ASP.NET cache trimming aware of app pool memory limit?

I’m running a ASP.NET application on Win2003 32bit that tends to allocate a lot of memory. To avoid OutOfMemoryExceptions that start to appear when the W3P process exceeds 1 GB, I have set a maximum virtual memory limit of 850 MB for the this…
realMarkusSchmidt
  • 540
  • 1
  • 7
  • 16
5
votes
4 answers

Nginx & PHP caching: fastcgi_cache, proxy_cache, APC or memcached or combo?

We have webservers running nginx 7.65 along with fastcgi PHP5 and are looking into caching possibilities to speed up content delivery and lower system loads. The servers run different (custom) applications. There are so much options for caching I…
Matt
  • 295
  • 2
  • 10
5
votes
1 answer

Serving application HTTP/5xx error pages via Varnish

I an working on running a few Rails applications through Varnish to provide better caching support which will hopefully be more flexible then the build in page-cache options in rails. One issue I have stumbled upon is that when a HTTP/50x error is…
Matthew Savage
  • 528
  • 1
  • 7
  • 18
5
votes
1 answer

Error headers: ap_headers_output_filter() after putting cache header in htaccess file

Receiving error: [debug] mod_headers.c(663): headers: ap_headers_output_filter() after I included this within the .htaccess file: # 6 DAYS Header set Cache-Control "max-age=518400,…
Brad
  • 235
  • 1
  • 4
  • 8
5
votes
1 answer

How to use targetcli to disable iSCSI write cache

I have exported a single disk as an iSCSI target using targetcli on a Linux host. On a remote machine I have connected to the device, and placed a ZFS volume on it (as a replication target with zrepl). However any time I reboot the iSCSI target…
Malvineous
  • 1,095
  • 11
  • 28
5
votes
0 answers

Client-side caching when using CSP with nonces in nginx - how do you use weak caching validators/etags?

I'm using nginx's expires directive; its etag directive as well as the Last-Modified header (if I understand correctly) are on by default. In order to allow specific inline JavaScripts when using restrictive Content Security Policy (CSP) headers…
4
votes
1 answer

Why is the ssl session cache ( ssl_session_cache) disabled by default in nginx?

In nginx, the ssl_session_cache directive has a default of 'none'. ref However, in the documentation for configuring HTTPS server, it's advised to turn on the ssl session cache, as it explains that SSL handshakes are cpu expensive. ref Further…