A location or process for storing of transitory or temporary data in order to improve application or system performance.
Questions tagged [cache]
1588 questions
0
votes
1 answer
How to distribute Varnish cache differently to different kind of requests?
I have a redirect in my store that shows a different store view based on the client's location.
It reads the header via Fastly and redirects the customer to a different store view using every time the same URL.
When there are many customers…

Rafael Corrêa Gomes
- 115
- 5
0
votes
0 answers
Why apache2 mod_cache_disk cant store files in ramdisk?
I use Apache2 mod_cache_disk with symlink to my ramdisk: /tmp/ramdisk/mod_cache_disk
but I cant get it to work :( It only works when path leads to real directory. How can I fix this problem ?

Macsurf
- 41
- 5
0
votes
1 answer
only flush the write cache if there's no read activity
Normally the Linux Kernel flushes the write cache if a specified time limit is exeeded or the cache is full. This leads to stalling with HDDs since the writing process makes reading processes much slower.
That's why I want to avoid a flush of the…

france1
- 23
- 9
0
votes
2 answers
Adding location-block to cache files makes those files return 404
I want to cache some static files using Nginx. But I somehow can't get it to work.
This is my nginx.conf:
user www-data;
worker_processes auto;
pid /run/nginx.pid;
include /etc/nginx/modules-enabled/*.conf;
events {
worker_connections 768;
…

O'Niel
- 105
- 1
- 9
0
votes
0 answers
How can we remove Google cloud builder cache. I am trying to build an image but it gives an error from a previous build attempt
This is the error it gives but the thing is I corrected the "MKDIR" command to mkdir but the error didn't go away, there is no MKDIR command in my Dockerfile anymore but the error stays the same. I deleted the repositories and even the project,…

Sardar Arslan
- 1
- 1
0
votes
0 answers
Sessions lost on specific network only
NOTE: My apologies - I am not a server admin, but I have a problem that I believe may be server related, or combination of server and network related. I do not have too much technical information about the server or network, so I apologize if facts…

Kobus Myburgh
- 125
- 8
0
votes
1 answer
"The User Agent is required to access this page" message only goes away when I clear NGINX cache
I'm new to NGINX and can't really tell if there's a problem with it or with our app. My PHP application has a php package Device Detector that is responsible for User Agent info as well as CodeIgniter, which has a file UserAgent.php. I had an event…

Cris Tecelo
- 1
- 1
0
votes
0 answers
Caching 401 response on bad token in nginx njs
In our application whenever a token (that arrives in a header) is invalid - it is practically guaranteed there won't be an exact valid token.
So I'm trying to offload the responsibility of responsding 401 to nginx (with or without njs)
Trying to…

Boaz
- 405
- 1
- 11
- 16
0
votes
1 answer
Router forces browser to use older, presumably cached, webfiles
We are trouble shooting website where we deploy a new version but our Computer browser still pulls the older pages. When we disconnect from the router (WiFi) and connect to a hotspot (mobile phone/data), the browser correctly pulls the new pages. If…

puk
- 285
- 1
- 6
- 18
0
votes
0 answers
HTTP_IF_NONE_MATCH Missing on Server Side with Chrome Requests to NGINX
I'm trying to add etag based cache verification to a web app I've developed that runs on Apache via an NGINX reverse proxy. The web app is written in Perl. In the Perl script, I check for the $ENV{'HTTP_IF_NONE_MATCH'} header and then test the etag…

Timothy R. Butler
- 703
- 2
- 11
- 22
0
votes
0 answers
Why I'm Getting "Service web-cache lost on WCCP clinet" error on cisco router?
I'm configuring wccp and squid.
Here is wccp configuration or router:
ip wccp web-cache redirect-list wccp-access group-list wccp-server
!
interface FastEthernet1/0
ip address 10.10.10.1 255.255.255.0
ip wccp web-cache redirect in
duplex auto
…

Mehran
- 21
- 4
0
votes
2 answers
MySQL performance issue due to caching
perl mysqltuner.pl --host 127.0.0.1
[--] Skipped version check for MySQLTuner script
[--] Performing tests on 127.0.0.1:3306
[!!] Successfully authenticated with no password - SECURITY RISK!
[!!] failed to execute: SHOW SLAVE STATUS\G
[!!] FAIL…

Sayaman
- 187
- 1
- 11
0
votes
1 answer
Why browsers fetch images again after reloading my page?
I am developing a web app, and I want all the images (a couple hundred MB worth - 20 000 - 50 000 thumbnails) to be downloaded once and never downloaded again, as those don't really change. Also, those images are downloaded from youtube servers, and…

Nikolai Frolov
- 103
- 1
0
votes
1 answer
Squid : Do not cache these destinations ( I do not want some address to be cached by squid )
I have a virtual proxy client and I have a squid proxy server. I would like to add some addresses to block caching for them. Either their domain or IP address:
www.apache.org
188.184.21.108
root@SERVER:/etc/squid # cat…

ArcherPacman
- 1
- 1
0
votes
1 answer
Setting Nginx expires epoch header selectively
I have a folder containing imagery on my server that is used to service both a mobile app, via a CDN, and to work with a backend webapp used to manage the content delivered to the app. For the latter - the backend webapp - I want to ensure that…

DroidOS
- 173
- 7