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
0answers
14 views

Problems on mounted NFS: 'No such file or directory' but files and directories exist

So we are having a medium-sized NFS4 storage server running CentOS 6.6 exporting an NFS share '/storageDat' (which is the NFS root, with two RAID volumes bound in there: ./dat1 and ./dat2); Export ...
0
votes
0answers
9 views

Nginx cache gziped results on reverse proxy

I have been trying to figure out how I could set my reverse proxy to cache gziped results. What I am trying to achieve is following: Client requests for JS/css -> Reverse proxy requests it from ...
1
vote
0answers
22 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 ...
2
votes
1answer
38 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: ...
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 ...
-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 ...
-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 ...
0
votes
1answer
49 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
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 ...
1
vote
1answer
61 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 ...
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, ...
0
votes
0answers
40 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 ^(.*)$ ...
-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
28 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
42 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 ...
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 ...
2
votes
1answer
48 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 ...
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 ...
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
59 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 ...
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
33 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 ...
0
votes
0answers
47 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 ...
0
votes
0answers
18 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 ...
6
votes
0answers
67 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 ...
0
votes
3answers
120 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
1answer
15 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
62 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
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 ...
0
votes
2answers
62 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
39 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 ...
0
votes
0answers
16 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
21 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 ...
0
votes
1answer
41 views

Nginx Cache with PHP-FPM

I have the folowing niginx config file: server { listen 80; server_name pajilleros.com www.pajilleros.com; access_log off; location / { root ...
3
votes
1answer
84 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: ...
0
votes
0answers
45 views

Accidentally set expires max in http block

Yesterday, I accidentally set max expires option in http block. What should I do to clear client cache ? I'm using nginx as a reverse proxy for my rails server (unicorn), rails has a asset digest at ...
0
votes
2answers
23 views

HyperDuo Not Caching

I have purchased a SATA Controller featuring Marvell HyperDuo. However for some reason I am unable to select the ProgramData folder for Caching. I cannot find any references as to why and have not ...
2
votes
1answer
83 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 ...
2
votes
1answer
44 views

Nginx doesn't decrement max-age

I'm trying to set up Nginx as a reverse proxy for my Rails application running on Unicorn. My app has some public pages that I'd like to cache for a duration for 60 minutes, so I set the max-age ...
1
vote
1answer
60 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 ...
0
votes
0answers
211 views

Is it really possible to use PHP sessions for authentication with nginx fastcgi cache?

I have recently switched an opencart instance from Apache+mod_php to nginx+fastcgi+php-fpm. I have been trying to leverage caching for most pages through fastcgi-cache. Unfortunately, many users ...
0
votes
0answers
77 views

Cloudflare doesn't cache as expected

I'm wondering why Cloulflare would not cache a certain static js file. Given the reuqest: curl -I http://www.testlifeinuk.com/dist/lifeinuk.js the headers returned like: HTTP/1.1 200 OK Date: ...
0
votes
0answers
21 views

Squid Cache.Log Anomality?

I have a cache.log full of forwarding loops like below. And this data fills my disk so rapidly. When I kicked the user 10.4.1.111 the logs stopped. What can be the reason? Host: 10.4.1.1:3128 Via: ...
1
vote
0answers
29 views

Script to verify/monitior HTTP caching headers [closed]

We'd like to verify that all our websites use the correct HTTP caching headers. Is there a script out there to make a request to a website, check its response headers and report whether it will be ...
-2
votes
1answer
92 views

Clearing Memory (RAM) Cache on CentOS

I know this has been asked in a similar way in the past but I'm just curious. If I made a script and made it run every midnight to check if my memory usage was higher than let's say, 80... would it ...
0
votes
0answers
67 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 ...
2
votes
0answers
116 views

400 bad request from a proxy cache

So we have an nginx proxy cache that is used to maintain uptime even if npm goes down. On occasion this server (noticeably once every few months) starts returning 400 bad request for every response ...
6
votes
2answers
302 views

What effect does https traffic have on web cache proxy servers?

I just took two university courses on computer security and internet programming. I was thinking about this the other day: Web cache proxy servers cache popular content from servers on the web. This ...