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
6 views

CloudFlare not caching additional static files

I'm trying to get caching to work for additional static files (namely: exe, zip, tar.gz, dmg, deb, and rpm files) with CloudFlare. Initially I just made sure caching headers were served for these ...
0
votes
1answer
28 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
21 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
0answers
21 views

Apache slow page load - cache / RAM drive / SSD issue? [on hold]

I've migrated recently from CentOS 6.4 to CentOS 7 on our server and I've got small problem (however probably not system related), this is my configuration for both systems: System 1: CentOS 6.4 ...
0
votes
0answers
17 views

Using database for storing text files and images

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

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
40 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
571 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
10 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
66 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
15 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 ...
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 ...
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
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
69 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
36k 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
38 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
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
23 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
41 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
548 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
2answers
923 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
0answers
22 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
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 ...
0
votes
0answers
20 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
37 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 ...
2
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
37 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
66 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 ...
0
votes
3answers
71 views

Caching OpenLDAP credentials for offline use on laptops

Our clients (Ubuntu 14.04) can login with there LDAP login. As soon as they have no network they cannot login with LDAP. Is there a way to cache those passwords and usernames, so that the laptops ...
0
votes
0answers
16 views

NFS: settings for a non concurrent environnement

We have a 100% non concurrent access to an NFS share. Each client accesses its own files, separated in directories. So a client will make read and write operations on its own directory, but will never ...
0
votes
0answers
28 views

How do I know if my page is being cached? [migrated]

I have a WordPress site that is doing a few weird things, and I believe it is because it is being cached. I changed the contents of a CSS stylesheet file, and the change took around 10 minutes before ...
6
votes
0answers
60 views

Is there disk based file system with dedicated memory caching for Linux? [closed]

We have two (or more sometimes) applications battling for the OS page cache. In particular ElasticSearch is very dependent on the OS page cache. To the point that cache misses can make or break ...
3
votes
1answer
975 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 ...
2
votes
1answer
837 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 ...
2
votes
1answer
3k views

Clearing Java certificates cache (force reload certificates)

A simple question here. One application gave me this exception when trying to access a website with a expired certificate: java.security.cert.CertificateExpiredException So, I renewed the ...
3
votes
1answer
305 views

nginx - serving stale cache response while updating

In nginx I am using the proxy_cache_use_stale updating directive (http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_use_stale) so that concurrent request to an invalidated cached ...
-1
votes
0answers
19 views

Squid cache everything for ever [migrated]

I'm running OpenSUSE 13.2 and installed squid via yast. I want to cache everything on my localhost, web pages, ISO, distribution packages. The problem is that my /var/cache/squid directory stays ...
0
votes
2answers
53 views

How would using caching nginx template affect adsense?

I'm considering using the nginx template below for WP sites with adsense on them. Would that cache the adsense ads too and make the clicks invalid? server { listen %ip%:%proxy_port%; server_name ...
0
votes
1answer
14 views

Is it possible to make nginx cache expires at certain time?

So basically what I want to do is make nginx's cache expires at 24:00 everyday. I know I could use tools like nginx-cache-purge or just manually delete cache files on disk, but I prefer to letting ...
3
votes
2answers
50 views

Linux: What application is using my ram cache

I am wondering if I can see which application is using my ram buffer and cache. Also is there any time specified in kernel, when data is dropped from cache. My Ram is being full used by buffer and ...
1
vote
2answers
625 views

ARR - dynamically disable disk caching for certain requests (authenticated users)

This is about Application Request Routing and dynamically disabling disk caching for certain requests (where the requests come from authenticated users; whether they're authenticated can be decided by ...
0
votes
1answer
33 views

If two videos with the same source stream at the same time will they have separate cache files?

I was resolving an issue on StackOverflow (see my answer too), where I might stream the same video on the same webpage in two separate video elements. I don't really understand web file caching very ...
3
votes
1answer
79 views

Why does TTL sometimes re-increment between DNS queries?

I dig xkcd.com, and I get something like this back: ; <<>> DiG 9.9.5-3ubuntu0.1-Ubuntu <<>> xkcd.com ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: ...
1
vote
0answers
19 views

Is it a good idea to use long max-age and changing urls instead of normal caching approaches [closed]

I'm trying to improve the speed of some websites that I'm serving by setting appropriate caching headers. I've read in some tutorials that it is not a bad idea to have the URI of assets reflect their ...
1
vote
1answer
335 views

List of hosts in Varnish

I'm running a VPS with multiple different websites, and Varnish in front for caching. However, some websites should not be cached. Instead of making individual rules for each website, I would like ...
2
votes
1answer
74 views

Nginx cache not updating

So my coworker set us up a fancy new caching proxy system and then promptly went on vacation. Now I'm getting complaints from our developers/designers that many static resources are being cached for ...
1
vote
1answer
43 views

Joomla behind caching server with SSL

I'm having trouble getting a cache system to work with Joomla 3.x. This is especially a problem since the server should enforce HTTPS/TLS-connections. The Joomla system runs on Apache2 on Debian ...