Tagged Questions

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

learn more… | top users | synonyms

0
votes
0answers
11 views

Is it possible to only cache specific folders with cloudflare? [on hold]

is it possible to set up cloudflare in a way, that nothing gets cached except the files in /media /js /css I thought it might be possible by using Page Rules and then first saying domain.com/* ...
2
votes
1answer
20 views

Solaris 10 ZFS ARC Maxed Out and CPU's Overloaded

We've been running ZFS for a couple years now on Solaris 10 on Oracle M5000 Enterprise server with 32 CPU cores and 256GB of memory. We are running a database/application on this server which appears ...
-1
votes
1answer
15 views

Varnish with PHP FastCGI / Change FastCGI server port

I want to run Magento with Varnish Cache. So far my PHP runs as FastCGI. I am now trying to set up Varnish. And have a probably pretty stupid question. So as I understand Varnish will listen on port ...
-1
votes
0answers
23 views

Nginx. How to cache phpsessid? [on hold]

Please, prompt me how to cache pages with phpsessid? Website set many different cookies. I can manage the page cache by them. However site send phpsessid for all user, even for user who not signed in. ...
4
votes
1answer
174 views

Is this a case of a stale ISP DNS cache or did I fudge something up?

I am currently in the process of transferring a legacy website (from a legacy hosting service provider) to a modern solution. Due to my context-specific requirements (which include financial ...
1
vote
0answers
9 views

Does OPcache work when PHP is running in CGI mode?

Does PHP 5.5s OPcache work with PHP running in CGI mode? Or does that even make sense, since it forks and kills PHP for each request?
-1
votes
1answer
35 views

Debug Nginx caching

I want to determine when I am getting cache hits or misses. Preferably, this would be a header, like X-Cache: HIT or X-Cache: MISS How can I do this with Nginx (a reverse proxy for the upstream ...
-1
votes
1answer
23 views

Does Nginx respect maxage from upstream server?

I see the proxy_cache_valid directive, but that confuses me. In HTTP, doesn't the upstream server specify this with Cache-Control and maxage? How do I get Nginx's cache to use maxage ?
1
vote
0answers
21 views

Enabling APC cache takes down website

I have a VPS running on centos 5 with 2 GB ram. I run a IP.Board forum on that server. Recently my server was hacked and I had to format the disk and start again. I was using APC cache before and it ...
0
votes
0answers
20 views

Unexplained hostname on IIS on Test Server

The test environment is IIS/Windows Server 2008/ColdFusion10 My development environment is Apache2/Ubuntu14/ColdFusion10 Other developer uses ONLY IP Address to test the hosted website on the ...
1
vote
1answer
43 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 ...
2
votes
2answers
46 views

Why does Apache send 200 OK while Last-modified matches If-modified-since?

I'm trying to have a basic behavior regarding my caching strategy: files should be cached, and revalidated with server each time. So I would like Apache to send a 304 back. Here is the dialog that ...
0
votes
1answer
43 views

Memory cache is full not sure what is using it and if it is normal [duplicate]

The situation is that amazon bots are download ~600k images off my server. My web app deployed on apache server is extremely slow probably because ram usage is 100% some statistics: ...
0
votes
1answer
65 views

Varnish cache with NGINX files not updating WordPress

It seems that Varnish is missing or not validating cache properly. When I try and purge my cache, I get 200 OK Cache successfully cleared, but my page does not update. I am simply making HTML changes ...
1
vote
0answers
16 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 ...
1
vote
0answers
25 views

Varnish does not purge my requests sent by Plone

I have varnish 3.0.5 up and running, connecting to a Plone 4 backend. My requests are cached, but not purged reliably, actually only after expiration of the ttl. plone.app.caching is the addon, which ...
0
votes
1answer
187 views

why adding Expire-Header to static files in nginX does not work

I have a single server block where my site resides in. Inside of that block I've added a location block as below: server { ... location ~* \.(?:ico|css|js|gif|jpe?g|png)$ { expires 30d; ...
0
votes
0answers
18 views

IIS static content - how can I cache just on file modified date?

How Can I get IIS 7.5 to cache on the files modified date only for static content files (e.g .html). It seems the only options that are available is no-cache, or expire at arbitrary times. I need ...
0
votes
2answers
101 views

How do we find out what is causing high cache usage on our server?

Every Friday from about 22:00 our server starts using large amounts of cache and then dies about two hours later. Please look at the following Cacti graph. We tried hunting processes which use ...
0
votes
1answer
17 views

What does 'cache-control' do for a page, not a static file? [closed]

When I set a value for 'cache-control' for a page, does my browser cache the whole page just like js or css? I've set 'Cache-Control:max-age=2592000, public' and monitored apache access logs. It ...
1
vote
0answers
27 views

Solr 4.5, timeouts on cold cache, how to keep it warm?

(not sure if that is more StackOverflow kind of question so pardon me if it is) There is an fairly large index of about 70M documents roughly 30Gb in size running on Solr 4.5. While it is fine with ...
0
votes
0answers
16 views

How to cache particular file in folder using .htaccess

i tried google and found one solution at 'http://webmasters.stackexchange.com/questions/24881/cache-a-particular-image-using-htaccess' but it cache all the file of folder, i want to cache only ...
0
votes
1answer
35 views

nginx: how to cache negative FastCGI responses only

Need some collective brainstorming :). There is a heavy PHP application (e.g. Magento) and each time a visitor hits a non-existent page (or there is a problem with a particular part of the ...
2
votes
1answer
62 views

Memcached cachesize 512M or 1G for VPS 2G? [closed]

I just started to use memcached on a VPS with 2Go of RAM. I set the cache size at 512 Mb, but I am wondering if I can go for 1024Mb. On the VPS there are: a local business website with very few ...
0
votes
1answer
36 views

djbdns/dbndns dnscache query ipv6-only nameservers?

I have (attempted to) set up dnscache on Ubuntu 14.04 (Trusty) to do dual stack for servicing requests AND querying authoritative name servers. To be clear, I'm using the dbndns package, which has ...
1
vote
1answer
47 views

IIS Output Cache vs ASP.NET Output Cache

Quote from iis.net: The ASP.NET page output cache is separate from the IIS 7 output cache. In applications that use the Integrated ASP.NET mode, the ASP.NET page output cache can be used ...
-2
votes
1answer
86 views

Nginx CSS Caching [duplicate]

I've been trying to fix this for a while, but I haven't been able to find a solution. Some notes about my setup: I am not using VirtualBox I am running Nginx 1.4.6 Ubuntu The CSS's cache will not ...
0
votes
0answers
36 views

How to make sure that Nginx does not cache 4xx and 5xx errors?

We are using a caching Nginx Proxy as a local npm mirror. Sometimes it can get in an inconsistent state where accessing certain URLs always returns 400. I assume that Nginx is configured to cache ...
1
vote
2answers
123 views

Wrong DNS answer with CNAME and A Record at the same time

We had a customer which has set a CNAME Record for his domain. Somehow he managed it to set an A Record too, which should be not possible and is forbidden by DNS. But the result was: $ dig ...
0
votes
0answers
25 views

IIS cache headers for selective file types

I have an application that serves .js, .css and .gif, and bunch others (.xls, .htm,.pdf....etc) file types. My requirement is to allow browser caching of .js, .css and .gif files but not allow any ...
0
votes
0answers
16 views

Rail's FileStore with Linux Disk Caching or RAMdisk?

I have a Ruby on Rails application that stores it's catched files on the filesystem (Rails file-system cache). I was thinking about changing to memcached Store, but a short test shows it isn't a big ...
0
votes
0answers
23 views

How to set varnish cache purge time

I want to set the varnish cache purge time to 1 hour. I was not able to find in .vcl files. Is it set via some system variables or needs to set somewhere else.
1
vote
2answers
64 views

After ntpdate update for ubuntu server I always receive the old php file in nginx

The problem with nginX caching happened when I used ntpdate ntp.ubuntu.com to sync my server clock. Now when I request the path http://www.example.com/project/create I receive the old PHP file that ...
1
vote
1answer
67 views

What happens to a random bit error in the cache on an Intel CPU?

I have a system with ECC RAM and a Xeon E3 CPU. My understanding is that ECC circuits on the RAM will detect corruption from random bit errors in the RAM chips. But what happens to random bit errors ...
0
votes
0answers
85 views

CouchBase Client Fails to Cache Object less than 20mb. Time Out Error

I am caching my serialized POJO s(4mb-8mb size objects) concurrently into Couchbase server with CouchBase client (couchbase-client-1.4.3). for(upto 20 itertarions){ new Thread().start().. ...
0
votes
1answer
153 views

How to clear cache in centos remote server? [duplicate]

I had been trying to clear cache in a remote server and I got these commands. First login as root user and execute: [root@server ~]# sync [root@server ~]# echo 3 > /proc/sys/vm/drop_caches bash: ...
2
votes
2answers
88 views

Memory used by unknown processes on OEL6 - without cache and slabcache

I've searched through "Where is my Linux memory?" questions, but I couldn't find a similar scenario for my kind of leak: OEL 6.3 x86_64 Linux with 6GB of RAM without any of my main components ...
0
votes
1answer
216 views

Nginx not caching any proxied requests

I believe I've properly set up nginx to cache all requests proxied to PHP-FPM, but it's not working. Here's the "http" bit from /etc/nginx/nginx.conf: http { include ...
-1
votes
2answers
62 views

Nginx and its caching systems. Are they all the same?

I'm a bit confuse about PageSpeed, Microcaching and Memcached. Are they just different tools that do the same job? I was initially thinking in use PageSpeed with Nginx. If I do that, do I need ...
-1
votes
1answer
28 views

cache images that has been resized with php [closed]

URL of the image is like this resize.php?image=imagename.jpg&w=100&h=100 and I want to cache the result in RAM. Can APC of php do it? how? Or I must install something else?
0
votes
0answers
284 views

How can I cache android packages using squid Cache?

I have a wireless Access point with another system using debian and squid/dansguardian as a transparent proxy to filter adult content. I can see that 90% the traffic comes from android phones and ...
0
votes
0answers
16 views

SoftPurge doesn't work correctly in varnish

I am trying to use Softpurge mentioned here: http://www.smashingmagazine.com/2014/04/23/cache-invalidation-strategies-with-varnish-cache/ I run in terminal the following command: curl -X PURGE ...
0
votes
2answers
88 views

How to prevent nginx caching blank pages?

I have nginx 1.4.3 running on a Ubuntu 12.04 machine. I have nginx set up to cache pages (they are database-driven but stay fairly static). I'm using MySQL and PHP-FPM. However, I found that I would ...
0
votes
1answer
70 views

How do I determine where an SSL certificate is being served from?

I am having the same issue described in this question: IIS 7 Still Serving old SSL Certificate I have replaced an old SSL certificate with a new one and completely removed the old certificate from ...
0
votes
0answers
22 views

Can not analyze output from Squid and varnish

I'm using one Squid server between tow cache server. I get from headers following information: X-Cache MISS, HIT from cache-zz X-Cache-Age 515 X-Cache-Control public, max-age=3600 X-Cache-Lookup HIT ...
3
votes
1answer
319 views

Growing OS cache in RAM causing high system CPU usage

Long question, so please bare with me: I'm having a weird issue with a server that I've never seen before. On a machine with ~30G of RAM with an application that takes ~10G (spread across hundreds of ...
0
votes
2answers
181 views

Can zend opcode cache and APC cache run together on same server?

I am on a dedicated server - running multiple portals in respective virtual directories. Some of the previously loaded websites are using Zend opcode cache. While my new commerce portal uses an APC ...
-1
votes
2answers
627 views

PHP Warning: Module 'apc' already loaded in Unknown on line 0

I am on a dedicated server with my site hosted in a virtual directory. There are few other sites hosted in different virtual directories. I have APC and APCu installed. When i restart PHP-FPM i get ...
0
votes
0answers
24 views

How can I configure what to cache in nginx?

I have a REST API for which I'm using nginx as a reverse proxy. I want to cache certain calls to the API which use absolute time references in the request but I want to not cache calls which use ...
1
vote
1answer
90 views

Does fsfreeze flush FS caches?

If I run fsfreeze on a mounted filesystem, it will not be possible to perform new "write" operations on that FS until it is unfrozen, and "ongoing" writes should "complete". Now, will fsfreeze also ...