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

learn more… | top users | synonyms (1)

1
vote
1answer
1k views

Nginx does not cache json

I have the following nginx configuration user nginx; worker_processes 10; pid /var/run/nginx.pid; events { worker_connections 1000; } http { sendfile on; tcp_nopush on; tcp_nodelay ...
-3
votes
0answers
13 views

linux centos cache memory increasing drastically [on hold]

We are using centos on server side. But unfortunately we are getting issue like cache memory increasing drastically. Please let me know how to overcome it. Thanks in advance.
1
vote
0answers
19 views
+50

controlling access while caching video content on-site on client's network

we have many hours of video training courses that we want to deliver on-site to clients with encryption or something to control access Currently , we offer via website (eg like udacity), but some ...
0
votes
1answer
119 views

Cache control / max age not working for my site

In order to speed up my site Telium I implemented all of the .htaccess recommendations from this site. However, when I browse to my web site with the developer tools open (in Chrome), I see that all ...
0
votes
0answers
17 views

How to disable cache of Apache Front of my Tomcat?

I put it at the end of httpd.conf and nothing changed: #Initialize mod_rewrite RewriteEngine On <FilesMatch "\.(html|htm|js|css)$"> FileETag None <ifModule mod_headers.c> Header unset ...
-1
votes
1answer
20 views

Optimizing a small VPS for best Joomla performance

I'm trying to optimize for the best possible speed. My set-up is: -VPS with SSD, 1GB RAM and dual core -LAMP with apache 2.2, php 5.6 and mysql 5.5 on centos 6.7 -Opcache and memcached installed ...
1
vote
2answers
2k views

how to delete single nginx cache file?

when access http://example.com/ its blank but working good with http://example.com/index.php i need to delete nginx cache file for http://example.com/ how to do it? Here my nginx cache conf. ...
5
votes
2answers
164 views

nginx use proxy cache if backend is down

I need to nginx proxy use cache if backend server down: this is my configuration. but seems be nginx use cache without check backend server. http { # ... proxy_set_header Host $host; ...
1
vote
2answers
42 views

nginx not caching wordpress site

I have a website set up to use nginx caching. Here are the details: fastcgi_cache_path /etc/nginx/cache levels=1:2 keys_zone=MYAPP:100m inactive=60m; fastcgi_cache_key ...
0
votes
1answer
20 views

IOmeter: Avoid caching and Raw Devices

When testing IOmeter I know always need to be avoid hitting the cache if the logical drive with the OS is testing, some I have some question about it: Do I need to avoid the memory on the controller ...
0
votes
0answers
34 views

Hardware raid, LVM and KVM cache policy

I have a question about right cache policy for KVM using LVM and hardware raid-controller. So from the bottom: 1. We have LSI RAID controller 9260, 512Mb cache and BBU. Later we also will have ...
0
votes
3answers
2k views

Varnish doesn't seems to be doing anything

I would highly appreciate an input on whats going wrong here: Running Magento on Ubuntu 14.04 x64 + Nginx + Mysql + Php5-FPM Please double check my steps so maybe you could help me point what's ...
1
vote
2answers
42 views

Nginx cache invalidation only works if invoked from the same domain

I am using FRiCKLE's ngx_cache_purge module to invalidate proxy caches. I ran into a problem of not being able to purge caches when accessing the invalidation url with a different HOST part of url ...
3
votes
2answers
7k views

How do I alter the Last-Modified header on NGNIX?

My server returns the following headers: Cache-Control:no-cache Connection:keep-alive Date:Thu, 07 Jul 2011 10:41:57 GMT Expires:Thu, 01 Jan 1970 00:00:01 GMT Last-Modified:Thu, 07 Jul 2011 08:06:32 ...
0
votes
0answers
11 views

Varnish configuration advise

I am having a few issues with my VPS. Something happened on it which my hosts are unsure of and so I am having to go through an ordeal to try and reconfigure a few things. One of those things are ...
4
votes
1answer
4k views

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 <FilesMatch ...
1
vote
1answer
42 views

Is there a way to limit the “buffer” memory use in Linux?

I'd like to limit a Linux server's assignment of RAM into the disk cache buffer and instead leave it idle. (CentOS 5 if it matters). I know it's ideal to be using every drop of physical RAM available ...
9
votes
5answers
5k views

Squid or Other HTTP Caches with SSD Cache Store?

I'm contemplating setting up a squid (or possibly varnish) cache on a system with SSD drives. The obvious benefit is that these systems have great READ speeds and I expect my hit ratios to be fairly ...
0
votes
0answers
10 views

nginx proxy_cache store callback - store cache keys in mysql

I have multiple servers with nginx installed on them. We would like to cache large static content (> 1gb) on our nginx servers which is fetched from a remote storage server. We are trying to set up a ...
0
votes
0answers
3 views

Windows caches 403 machine-wide? [migrated]

In all honesty, I have no idea how to formulate this question, it's the weirdest thing I've ever encountered. When developing a website on an external VPS and I encounter on my desktop a 403 or 404 ...
0
votes
1answer
20 views

404 header error instead of the correct 200

I have just updated a (dynamic) website by sftp/ssh and all the new pages have been considered as 404 error not found. Actually, all the pages, including the old pages which was overwritten. Also, ...
3
votes
1answer
191 views

Reduce writes from a specific application?

I'm logging the output of a command with command | tee file This causes tee to actually write to the disk every second or so. I'd like to reduce the frequency of the writes, by caching the output ...
4
votes
1answer
1k views

Nginx, memcached and cakephp: memcached module always misses cache

I've got a simple nginx configuration; server{ servername localhost; root /var/www/webroot; location / { set_md5 $memcached_key $uri; index index.php index.html; try_files $uri ...
0
votes
0answers
11 views

CloudFlare not caching vBulletin php page serving image content

I have signed up with CloudFlare and while it seems to work for some pages I cannot get a rule to work correctly with php pages serving images. The page in question is: ...
0
votes
1answer
2k views

Cache Control Headers with IIS 7.5

I'm trying to wrap my head around client side (web browser) caching and how it works in relation to IIS 7.5 cache control headers. In particular: If we want to force clients to reload cached ...
-1
votes
1answer
19 views

Why is my nginx reverse-proxy not caching anything?

I'm following this sample configuration from the Nginx docx. Reverse-proxying works fine except that it isn't caching results. Here is my nginx.conf: user http http; worker_processes 1; events { ...
0
votes
0answers
7 views

IIS Image Cache Directives Cause 500.19 Error

I wanted to add cache header to browser on IIS. I found this: http://stackoverflow.com/questions/10653549/iis-7-5-and-images-not-being-cached <staticContent> <clientCache ...
1
vote
0answers
19 views

Squid reverse proxy not able to cache

Not able to cache anything with squid reverse proxy, running in centOS6.5 squid.conf http_port 81 accel defaultsite=example.com:8080 no-vhost cache_peer example.com.ip.address parent 8080 0 ...
-1
votes
1answer
25 views

Disable caching in IIS 7.5? [closed]

I'm using IIS 7.5 (full version) on Windows 7 to run PHP \ ASP websites as a development machine and I can't find any way to stop it from caching the static pages of my sites (particularly, the CSS ...
0
votes
1answer
1k views

Squid forward cache to HAProxy load balancer

I have a farm of Squid proxies set up behind an HAProxy load balancer. I would like to cache data that is returned from the Squid proxies, the architecture I am considering would look something like ...
0
votes
1answer
1k views

Mod_cache is not logging or caching

Apache 2.2 on RedHat 6.3. I have a virtual host that is setup like so: <VirtualHost xxx.xxx.xxx.xxx:80> ServerAdmin some@email.com DocumentRoot /home/xxxxx/Sites/xxxxxxx.com/htdocs ServerName ...
2
votes
2answers
6k views

Nginx not caching data

I have a REST API behind an nginx proxy. Proxying works fine, however I am unable to cache any responses. Any help would be much appreciated: Nginx config: worker_processes 10; error_log ...
1
vote
0answers
20 views

ESX 6 arp fails in back 2 back link

we are having a strange problem with back 2 back connection between an ESX 6 and CentOS 7 machine. Hoping to find a solution on stackoverflow The story is below: - we are using a CentOS 7 directly ...
1
vote
1answer
2k views

VCL - configuration for Magento and Varnish 3.0.2

I would like to kindly ask if there's someone who can help me configure Varnish for Magento to reach far more hits. My current ratio from varnishstat is: cache_hit=271 cache_miss=926 I'm kindly ...
0
votes
2answers
507 views

SSD caching using bcache or dm-cache on kernel 2.6.32-042stab104.1

I'm looking to use bcache or dm-cache with the latest OpenVZ kernel (2.6.32-042stab104.1) on CentOS 6. Unfortunately, dm-cache and bcache are part of kernel 3.10, but I know the OpenVZ kernel has a ...
3
votes
2answers
84 views

LVM Raid 1 + SSD Caching

I have three disks: /dev/sda slow hdd /dev/sdb slow hdd /dev/sdc fast ssd /dev/vg0 volume group consisting /dev/sd{a,b,c} Each logical volume (lv) should be raid1 mirrored and ssd cached. With ...
0
votes
1answer
1k views

Nginx ignore query string for caching certain files

I know my setup is a bit crazy, but whatever.... I set up Nginx on Openshift to cache map tiles (for a map viewer, you can guess the purpose, :-) ) that are served from my home network, which has ...
0
votes
0answers
26 views

Disable nginx fastcgi_cache when disk is full

When there is no disk space, nginx is still able to work correctly. It can serve static files, and it can pass the request to a fastcgi server (such as PHP), and it can serve the dynamic response to ...
1
vote
1answer
1k views

Varnish stops listening on port 80 after few hours

I have configured varnish to listen on port 80 and nginx to listen on 8080. After around 24 hours of uptime, my site has been down for 22 hours. I checked in and found varnish isn't listening on port ...
0
votes
0answers
14 views

NFS vs AFS cache validation

NFS clients revalidate cache blocks on access by evaluating T-Tc < t. If this fails it sends a getattr call to the NFS server asking for the last Tmodified stamp of the relevant file. AFS ...
3
votes
1answer
40 views

ubuntu 14.04 Apache 2.4.7 mpm_event Files and FilesMatch not working

We recently switched our Apache 2.4.7 mode from mpm_pre-fork to mpm_event. Since then we haven't been able to get our Files directive to work. <Files "*.php"> Header set Cache-Control ...
3
votes
1answer
1k views

Group Policy to disable Thumbs.db caching Server 2012 and Windows 7 clients

We are trying to push out GPO to Windows 7 clients to disable Thumbs.db caching. The setting Turn off the caching of thumbnails in hidden thumbs.db files is found here: User Configuration > ...
1
vote
2answers
41 views

DNS caching policy on too many records

We all know that when I ask for some hostname I connect to my DNS server, which checks if it has its corresponding record in cache, and if not it recurs, if necessary, up to the authoritative DNS for ...
1
vote
0answers
19 views

nginx proxy cache configuration for user authentication web application

I have a web application in node + express + passport + mongo database + ejs and single application is configured to handle all the sub-domains. I'm using nginx as proxy server, I need to and must use ...
0
votes
1answer
11 views

Log access to cached content by 3rd party

The question is pretty much the same as this one: How to log a request to apache access log if it's cached by Varnish but instead of varnish let's say I am using CloudFlare. Is there any way to ...
5
votes
1answer
3k views

What is the difference between a cache, a primed cache and an empty cache?

Can someone explain the following concepts to me as the relate to measuring the data transfer of data from my web site. Whats the difference between a cache, a primed cache and an empty cache? Can ...
0
votes
0answers
26 views

Cache domain GET requests using Squid

I'm trying to cache requests to remote package repository, so I can access it without internet connection. All calls are via http GET to remote repo. iptables entry to redirect requests to proxy ...
0
votes
0answers
13 views

Nginx: Reasonable values for server_names_hash_max_size and server_names_hash_bucket_size [duplicate]

After adding a number of vhosts with a big number of server names I'm getting /etc/init.d/nginx reload * Checking nginx' configuration ... nginx: [warn] could not build optimal server_names_hash, ...
1
vote
0answers
25 views

NGINX not caching content

I hope anyone can throw a bit of light in here since I'm stuck in the dark :-P Basically, I'm trying to make a Reverse Proxy NGINX cache content. Reverse proxying works OK, but the caching part... ...
0
votes
0answers
46 views

NGINX Stale cache not working for FF or IE (works on Chrome)

Any ideas why stale content is not displaying on FF or IE? The browsers simply produce 504 errors when the origin server is down. Chrome works fine and displays stale cache. Config is below: ...