Questions tagged [cache]

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

1588 questions
5
votes
5 answers

Apache cached old ssl certificate

About 2 weeks ago I bought a new wildcard SSL certificate for all of my servers, and immediately tried to set it up on a server by replacing the old self-signed certificate settings. So, I put in the new details, restarted apache, and refresh my…
Sbx
  • 79
  • 1
  • 2
  • 5
5
votes
3 answers

NGINX : Cache when X-Accel-Expires is set

I have added a X-Accel-Expires header on my static contents as well as a Last-Modified header. I would like to know whats the correct setting to cache those elements without caching anything else. This is what I have at the moment but it doesn't…
mnml
  • 337
  • 1
  • 7
  • 21
5
votes
2 answers

nginx: Specify custom headers in rewritten location blocks

I'm trying to set some headers only for specific location blocks in nginx. The problem I have is that those location blocks contain rewrite statements, which apparently seem to drop the custom headers. In this example, I have two rules I…
Etienne Perot
  • 103
  • 1
  • 8
5
votes
2 answers

Varnish configuration to only cache for non-logged in users

I have a Ruby on Rails application fronted by varnish+nginx. As most of the sites content is static unless you are a logged in user, I want to cache the site heavily with varnish when a user is logged out but only to cache static assets when they…
davidsmalley
  • 457
  • 1
  • 6
  • 14
5
votes
1 answer

NGINX proxy caching - cache buster variable in querystring - possible to ignore?

We have the following url we would like to proxy cache: file.php?parameter=one¶mater2=two&r=EPOCHTIMESTAMP Query string parameter "parameter" varies between requests. So does "paramater2". Query stringing parameter r is a timestamp we use to…
anonymous-one
  • 1,018
  • 7
  • 27
  • 43
5
votes
7 answers

Windows explorer (filename) string corruption when using remote desktop?

Has anyone else experienced this problem? While browsing folders in explorer over a remote desktop connection, sometimes the file name strings will get corrupted, so they display incorrectly in windows explorer. Remote desktop (or terminal services)…
Triynko
  • 3,418
  • 6
  • 31
  • 30
5
votes
2 answers

Tell the linux kernel to put a file in the disk cache?

Is there any command to for a file to be read in and loaded into the linux disk cache? This is on an up-to-date debian system. I know in the general case, it's better to let the linux kernel figure this out. But I have an edge case. I have a laptop…
Amandasaurus
  • 31,471
  • 65
  • 192
  • 253
5
votes
1 answer

Squid cannot cache static files with query string

I'm having an issue here. i setup my router with squid transparent proxy and also to do static files caching. It can cache static files successfully. But it cannot cache static file with query string. Example: http://www.example.com/style.css =>…
Ivan
  • 165
  • 2
  • 6
5
votes
2 answers

Cache updates when migrating DNS from one provider to another

This may be a Windows DNS specific question or a general DNS best practice question - I'm not sure! We migrated our 3rd party DNS provision from provider A to provider B. I noticed that our internal recursive windows DNS servers still had NS records…
JohnCC
  • 292
  • 1
  • 6
  • 14
5
votes
2 answers

Cache-control for permanent 301 redirects nginx

I was wondering if there is a way to control lifetime of the redirects in Nginx? We would liek to cache 301 redirects in CDN for specific amount of time, let say 20 minutes and the CDN is controlled by the standard caching headers. By default there…
gansbrest
  • 835
  • 2
  • 9
  • 17
5
votes
6 answers

For a small home network, is there any point to running Squid?

For a small home network -- two laptops, two desktops, plus the main server -- should I expect much gain by running Squid on the main server? I fully understand the value of running a caching name server for a small home network, but I'm not sure…
Eddie
  • 11,432
  • 8
  • 37
  • 48
5
votes
2 answers

Can I use an SSD as Cache to a NAS?

There is a NAS with Raid 10 that holds resources. At a time, around 24 machines try to access the same resource (3d rendering in a render farm). Although the network is 1Gbps and NAS is fast, the speed is really reduced and there is a bottleneck…
Odys
  • 221
  • 5
  • 15
5
votes
2 answers

Slower/cached Linux file system required

I know it sounds odd but I need a slower or cached filesystem. I have a lot of firewalls that are syslog'ing their data to a pair of Linux VMs which write these files to their 'local' (actually FC SAN attached) ext3-formatted disks and also forward…
Chopper3
  • 101,299
  • 9
  • 108
  • 239
5
votes
3 answers

How can I cache a Subversion password on a server, without storing it in unencrypted form?

My Subversion server only provides access via HTTPS; support for svn+ssh has been dropped because we wanted to avoid creating system users on that machine just for SVN access. Now I'm trying to provide a way for users to cache their passwords for a…
Zilk
  • 351
  • 4
  • 9
5
votes
2 answers

How to map a folder to memory?

Is there a way to map a particular folder to memory? Say I have C:\somePath and I want that folder to be in memory at all times and maybe changes are dumped to HDD asynchronously without my notice. So this is more like a forced caching of HDD…
yusuf
  • 195
  • 2
  • 6