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)

0
votes
0answers
14 views

Firefox caching issue [on hold]

I am facing a wierd caching issue and this is happening only in firefox. I have my code running in two environments developer and QA. We have a page say 'A' with a button which onclick changes the ...
1
vote
1answer
88 views

Nginx proxy cache invalidating request to s3

I have set up a proxy from my application server to a private s3 bucket to cache requests. I was having some trouble with it where s3 was rejecting my download requests (403 forbidden) and after some ...
1
vote
0answers
20 views

How to force a refresh of cached permissions without a restart

We've recently started going through shares replacing named permissions with AD groups (i.e. so that when updating permissions we don't need to worry about the time taken or risks involved in updating ...
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 ...
1
vote
2answers
40 views

Nginx configuration files structure

Where do I put specific domain configuration files on an nginx server? I've seen a lot of conflicting information. Does it belong in the sites-enabled folder? If so, do I put it in the already created ...
2
votes
1answer
36 views

NGINX cache error: conflicts with already declared size 0 in /etc/nginx/nginx.conf

My current nginx for drupal config gives following error. Somehow, I am not able to enable nginx cache. Tried different config but overtime i get the same error. Can anyone help please? nginx: ...
4
votes
1answer
3k 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 ...
2
votes
0answers
34 views

Using database for storing text files and images [closed]

I need to build a image/static file cache which would host maybe few hundred up to thousand static files from 1kb to ~200kb. I'd need super fast reads (I'm using redis, but it's one threaded and I'm ...
0
votes
1answer
1k views

Nginx proxy cache (proxy_pass $request_uri;)

I need to create proxy web using nginx. If I access http://myweb.com/http://www.target.com/ the proxy_pass should be http://www.target.com/ Here is my configuration: location / { proxy_pass ...
0
votes
1answer
45 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 ...
-1
votes
0answers
6 views

Batcache with memcached on Centos with no statistic

I deployed a caching layer for my wordpress site using memcached and Batcache. memcached is listening on 11211 port. I used instruction on http://wordpress.org/extend/plugins/batcache/ to use ...
0
votes
2answers
1k 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 ...
0
votes
1answer
1k 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
0answers
22 views

SharePoint emails going to old distribution group

I recently made a change in outgoing smtp via SharePoint central admin. I have a workflow that sends email to a distribution group which has been working great. After the smtp change distribution ...
6
votes
2answers
3k views

Can you set a minimum linux disk buffer size?

I have a rather old Linux machine with 2GB of ram, no swap, and it's working very well, with the system using every unused piece of memory for caching with great effect. However, when I'm close to ...
0
votes
0answers
66 views

Python libraries slow to load from NFS mount point

Several of our computers are diskless, and they load their Python libraries from an NFS mount point across the network. This means it can take up to three minutes to start up a Python process that ...
1
vote
1answer
60 views

Squid Segmentation Fault?

I'm currently fixing an issue with one of our production servers. The issue is related to squid not able to run properly. When I try to run service squid start/stop, it throws an error: 2015/03/11 ...
1
vote
0answers
19 views

start nginx despite missing upstream

I like to run nginx as a local proxy server, serving stale cache files if the upstream server is unavailable. This works well, except the local machine is restarted, while the internet connection ...
1
vote
0answers
14 views

Vagrant NFS share doesn't show updated file if size doesn't change on PhpStorm [migrated]

I searched in many place but I don't find an answer to my question. Same question has already posted here : Vagrant NFS share doesn't show updated file if size doesn't change But the solution ...
0
votes
0answers
39 views

How to configure .htaccess to cache root along with all other files

For my website, all files are cached except the index.html file. For .htaccess, I have: Options -Indexes RewriteEngine On RewriteCond %{HTTP_HOST} !^www\.mywebsite\.com [NC] RewriteRule ^(.*)$ ...
0
votes
0answers
38 views

Why isn't Lighttpd caching files?

I've installed lighttpd 1.4.33 /not mod_cache patched/ on Ubuntu 14+. I've put .html file with embedded .unity3d on server (unity3d file is somewhere 50+ Mb.) lighttpd.conf do contain mod_expire, ...
3
votes
1answer
1k views

flashcache with mdadm and LVM

I am having trouble setting up flashcache on a system with LVM and mdadm, I suspect I am either just missing an obvious step or getting some mapping wrong and hoped someone could point me in the right ...
0
votes
4answers
834 views

how to set up a cache proxy server for itunes app store

I want to setup a cache proxy server for apple itunes store to accelerate app downloading in a local lan. Situation: Local internet speed is slow and bandwidth is limited, so it'll take sometime to ...
2
votes
1answer
854 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 ...
4
votes
2answers
3k views

How to get Squid to not cache files with certain extensions?

I've found information on how to keep squid from caching domains/IP addresses, however, that's not quite what I want. I'd like to prevent it from caching .jnlp and .jar files. The core problem being ...
-1
votes
1answer
14 views

How to set a cache-control header based on presence of query parameter?

I'm trying to set a header for cache-control on certain resouces where we've used query string parameters to set revision codes... for example: /foo/bar/resource1.js?v20140710 This is from the ...
0
votes
1answer
27 views

How can I call one web service, but not another, in the same folder?

I have two web services, of old school, asmx. Both is in the same sub folder, which have anonymous authentication, in a MVC web application that have windows authentication. When I browse one of them ...
0
votes
1answer
40 views

Enable caching on nginx

I have my own VPS with CentOS 6 and nginx and I want to enable caching. To test it, if it is enabled successfully I use the Google PageSpeed Insight. My problem is that I don't have much experience ...
0
votes
1answer
31 views

High %sys utilization in Nginx cache node

We set up Nginx with Lua (openresty bundle) to be a local caching node to our file sharing server, we seperated files to chunks "50MB each" (by this method) and store them in cache to increase its ...
0
votes
1answer
1k views

htcacheclean doesn't seem to be cleaning the cache

I'm running mod_cache with apache 2 on a fairly high traffic'd site. I've set the htcacheclean to run in demon mode every 10 minutes to keep the cache at 4GB. It's currently at 15GB and doesn't seem ...
2
votes
1answer
46 views

Tool for linux file system cache inspection [closed]

I'm looking for a tool to show what portion of a file is in the file system cache. In the past I have used the fincore tool that is part of the linux-ftools package. linux-ftools isn't in any of the ...
1
vote
1answer
601 views

Showing outdated information when using WAMP as local server [duplicate]

I am running WAMP as a local server for the computers in the my network. The problem is that when I try to do any operations to the database from these computers, it seems as if they don't happen, ...
0
votes
0answers
15 views

Cloudfront objects being ejected from edge locations too early?

Cloudfront does not guarantee that it will hold an object in it's edge locations for any duration, however, typically, if I set a Cache-Control:public, max-age=31550000, smax-age=31550000 or a ...
1
vote
0answers
72 views

Transparent data caching in multi-site environment

I need an advice on choice of the right technology for my problem. I have geographically distributed multi-site environment where there is one main site and a number of remote sites. Main site ...
0
votes
0answers
44 views

Squid3 Reverse Proxy - Force Cache and Suppress Version

I have been using pfSense for about 2 years now and I love it. One of my favorite features has come to be Squid2 and Squid3. Right now I am using Squid3 to run both proxy and reverse proxy. There are ...
1
vote
1answer
35 views

Number of previous logons to cache - is there any way to override the limit of 50?

The goal is to have over 100 users be able to log into an offline machine using their cached domain credentials. Is there any way to override the limit? Do I have any other options for storing ...
1
vote
1answer
71 views

Browser caching by Windows clients is generating huge I/O to server

In our environment, our users have their My Documents folder stored on an ENC NAS device. I have noticed huge traffic coming from our isers machines, and I see that most of it is coming to cache ...
30
votes
5answers
37k views

Setting expires headers for static content served from nginx

I'm using nginx to server my static content, is there a way that I can set the expires headers for every file that meets a specific rule? For example can I set the expires header for all files that ...
1
vote
1answer
47 views

Memcached Pool - Outtage causes increased lag in response time

I have multiple cache servers which are added to a virtual pool at the PHP layer via the Memcached::addServers() api. During fault tolerance testing I noticed that taking one of the memcached servers ...
3
votes
2answers
2k views

Does is matter in what order rules are placed in htaccess?

I hope this is a simple YES or NO answer (please specify why) Q1: Does is matter in what order the rules are placed in htaccess? Since they are completely separated items: for example Q2: If yes, am ...
1
vote
1answer
95 views

.htaccess recommendations to prepare for new launch of website - caching

Currently my website has cache controls set for javascript libraries and images, and caches them for one week. I'd like to know what best practices I should following leading up to my websites ...
0
votes
1answer
25 views

in-memory-cache of specific files from NFS

I have some diskless machines and they mount a disk through NFS4. I want the machines to maintain a cache of specific files in their own memory. The machines don't modify the files and only read them ...
1
vote
1answer
57 views

Nginx reverse proxy in nested locations

I'm using Nginx as a reverse proxy for multiple applications in multiple servers and I'm trying to add common cache directives to static files of each application. My original configuration is ...
2
votes
2answers
561 views

Caching 404s - NGINX or Varnished?

I'm looking for a solution to cache 404s in long term (a few days/weeks) on the webserver. My current setup is NGINX with memcached_pass proxy and PHP-FPM to deliver uncached pages (PHP also writes ...
0
votes
0answers
35 views

Any benefits to proxying from nginx to tomcat behind cloudfront+elb?

Are there any additional benefits to having nginx sit in front of tomcat on our ec2 instances, when those instances are already only serving dynamic requests behind cloudfront and ELB? I'm thinking ...
0
votes
0answers
31 views

Configure client for two apt-cacher servers

I have two apt-cacher-ng servers up and running, but I am wandering how best to configure my clients to use them. The primary reason for having two servers is load balancing, but we would also like ...
-1
votes
1answer
46 views

Control files fetched from upstream when using nginx proxy cache

we have a file sharing site in a local network and we trying to save links bandwidth usage to the max by caching static files in local nodes powered by nginx with caching enabled. Everything works ...
3
votes
4answers
6k views

How to configure nginx to serve static contents from RAM?

I want to set up nginx as my web server. I want to have image files cached in the memory (RAM) rather then disk. I am serving a small page and want few images always served from RAM. I dont wish to ...
0
votes
0answers
46 views

Enable cache headers on Nginx

I'm trying to make cache work on a Nginx which is a proxy for gunicorn or which serves directly static files. I tried to add: location ~* \.(?:ico|css|js|gif|jpe?g|png)$ { root ...
4
votes
1answer
71 views

Slab usage extremely high?

On a Centos 7 server with 32GB RAM memory I am running a few programs namely MySQL, Apache2, PHP. Recently I wanted to verify the amount of ram left as I was planning on installing a few more ...