Questions tagged [clientcache]

21 questions
8
votes
3 answers

How to enable ClientCache in ASP.NET Core

In ASP.net 4.5 we used to be able to enable expires headers on static resources (in-turn, enabling browser caching) by adding 'ClientCache' to the web.config, something like:
Martin Kearn
  • 2,313
  • 1
  • 21
  • 35
7
votes
1 answer

MVC Client Cache for Static content is not working

I've added below one in web.config But I'm not seeing expires on response headers. Should I do any other changes?
user3194721
  • 765
  • 4
  • 14
  • 47
4
votes
1 answer

IIS 8.5 MVC5 Client Cache is ignored

TL;DR - I want the server (IIS 8.5) to return 304 not modified for the CSS and JS bundles. I've been unable to get IIS 8.5 to honor the clientCache settings in web.config. No matter what I do, I can't seem to get it to cache the static content. …
azymm
  • 312
  • 1
  • 8
3
votes
1 answer

Is there a way to cache files in client computer permanently?

I have a web app, that serves images of scanned old documents with their transcript, it's a lot of images about 5 gigs of images, and the client needs to browse them on regular basis. I need a solution to cache the images in the client side, since…
3
votes
1 answer

Coldfusion cfcache clientcache flush

I've created a web application with this script surrounding common cfqueries and my navbar code. On the signout page, I was using to clear session…
Big Mike
  • 119
  • 10
3
votes
0 answers

Client cached and Synch with remote Mongodb

I'm trying to sync data between a real MongoDB db on a remote server and a local storage on the client. and I've came across this lib called Minimongo Here is what were aiming for: were trying to sync small portion of e.g. a document, so that the…
yokodev
  • 1,266
  • 2
  • 14
  • 28
3
votes
0 answers

Issues with testing static content caching using Fiddler

I have implemented static content caching on the Images folder in our application by creating the below Web.config file in the Images folder:
Rashmi Pandit
  • 23,230
  • 17
  • 71
  • 111
2
votes
1 answer

Cache static images permanently asp .net mvc

I want all my static images to get cached on browser (on first request) and fetched from browser cache for further request to the page. I tried adding to my…
Ali
  • 427
  • 1
  • 4
  • 14
1
vote
0 answers

HttpComponentsClientHttpRequestFactory spring-web 5.3.12 does not support org.apache.hc.client5.http.classic.HttpClient

Hoping for a solution. Just ran into this and what a snowball. ehCache3 and HttpClient Cache 5.1.1 are compatible. Not so for a any permutation of previous and current versions. Now upgrading to Spring-Boot 2.5.6 i find that…
0
votes
0 answers

Add cache_control and etag in django class based view

I have a django api which returns response like the image path and image location along with city id. I have also added cache_control in the response header to cache the images on the client side. Now I want the api to check the city id after the…
0
votes
2 answers

Redis client-side cache (tracking) test

I'm testing Redis client-side caching using redis-cli. Redis server version: 7.0.11 redis-cli version: 7.0.11 redis-cli 1 I started with the monitor command: redis-cli monitor In redis-cli 2 I run the snippet: HELLO: 3 CLIENT TRACKING ON PREFIX…
0
votes
1 answer

Apach Ignite ClientCache::putIfAbsent don't actually update cache?

cache.putIfAbsent(key, value); cache.get(key).method(); Given code produces NPE at second line. Here is how I create cache: ClientCacheConfiguration cacheConfig = new ClientCacheConfiguration().setCacheMode(CacheMode.REPLICATED) …
prost0
  • 19
  • 5
0
votes
1 answer

How to invalidate client-cache?

If an application has client side caching, and data changes on server side, then how does client comes to know about it so that it can invalidate the cache?
Mandroid
  • 6,200
  • 12
  • 64
  • 134
0
votes
1 answer

How to fix client browser caching issue while using IIS?

I have developed cloud application in ASP.NET. After every deployment, the portal either shows white screen or shows older version of the application. Any suggestions would be highly appreciated. I have already tried: 1) Updating JS version in…
Jams
  • 13
  • 1
  • 6
0
votes
1 answer

Does ignite ClientCache of thin client support distributed locks

Now i am using ignite ClientCache of thin client, I didn't find distributed locks of ClientCache, if I want to use distributed locks,I must use Ignition.start()
magic-fs
  • 1
  • 1
1
2