Lots of cache miss on Laravel 5

We are using laravel 5.4 on centos 7.3 and php 5.6 A while back we experinced a lot of cache errors and took advice on serialization/deserialization as per unserialize() [function.unserialize]: Error at offset Over time we experienced slowdown in t...
more »

2017-06-22 18:06 (0) Answers

Do webpack bundles get cached?

If you go to a index.html and it runs bundle.js, will it get cached in the browser and not need to be downloaded again unless the index.html gets a new one bundle next time someone deploys? ...
more »

2017-06-22 17:06 (0) Answers

<FilesMatch> throwing 500 error in wamp

So, I'm building a site and I want to leverage browser caching. I want to cache all my pictures for a week and completely prevent caching of my php, css and html files except for bootstrap stylesheets and scripts, jquery script, fontawesome styleshee...
more »

2017-06-22 17:06 (0) Answers

how to save html in redis cache rails

I want to save html in redis cache rails def cache(cache_name) Rails.cache.fetch(cache_name, expires_in: 5.minutes){ yield } end in view <% cache("key") do %> <h1>Header</h1> <%end%> because html not render after sav...
more »

2017-06-22 14:06 (0) Answers

MySQL keep a static view always in cache

In my architecture, I have a big single table that: is not normally updated and can be considered as "read only" contains more than 2 millions of records is shared in several database (one for each of mt customer) I put this table in a separate ...
more »

2017-06-22 14:06 (1) Answers

Implement Cache in Azure Service Fabric

I am working on a project in which I need a set of data frequently and currently for getting that data I have to make call to 3rd party Service which is taking lot of time.So what I want is to maintain a local cache.The Data is modified very infreque...
more »

2017-06-22 14:06 (1) Answers

Redis cache not working properly in views

For caching I use redis gem 'redis' gem 'redis-namespace' gem 'redis-rails' gem 'redis-rack-cache' Using cache for html code in views When I set cache using key it works. But when I get it not integrated even value exists def cache(cache_name) ...
more »

2017-06-22 11:06 (1) Answers

Umbraco backoffice cache

I have a problem in my Umbraco backoffice, where alot of the clientside files are cached heavily, which is causing some problems. All the files loaded, is from /umbraco/Application and contains references like; "/umbraco/lib/jquery/jquery.min.js?cd...
more »

2017-06-22 10:06 (2) Answers

Laravel flush cache with more than one tag

I'm using Redis cache on Laravel 5.2, and I have my keys with 2 tags (basically), the year and the source. Example: $this->cache->tags(['online', 2016])->put("key1", $value1, 10)); $this->cache->tags(['online', 2016])->put("key2",...
more »

2017-06-22 09:06 (1) Answers

C# volatile variable: Memory fences VS. caching

So I researched the topic for quite some time now, and I think I understand the most important concepts like the release and acquire memory fences. However, I haven't found a satisfactory explanation for the relation between volatile and the caching...
more »

2017-06-22 09:06 (1) Answers

Sphinx is caching python module somewhere: WHERE?

I am trying to use Sphinx to create simple documentation for a python module. The first time I ran it, it worked fine. Now I have made some updates to the module, and rerunning the documentation commands: $ sphinx-apidoc -P -F -f -e -o . /path/to/...
more »

2017-06-22 09:06 (1) Answers

REST Call Fast Response

I have one GET/POST REST call like (https://XXXXXXXXX.com:9090/wip/xxxx/get) which returns json response object. So due to response is more than 1MB every time when i hit the api browser download that 1MB which make Response late and takes time to do...
more »

2017-06-22 08:06 (0) Answers

Not caching view in Django LocMemCache

I am trying to cache a class based view like so urls.py from django.views.decorators.cache import cache_page from django.conf.urls import url urlpatterns = [ url(r'^/awesome-url$', cache_page(60 * 60)(TemplateView.as_view(template_name="awesom...
more »

2017-06-21 23:06 (1) Answers

angular 4 http service cache

I'm trying to implement caching in angular 4 application for http service. My code in service countriesService public get(): Observable<any> { return this.http.get(`/countries`, {}) .map(res => res.json()) .publishReplay(...
more »

2017-06-21 18:06 (1) Answers

Doesn't Django cache support Integers?

I am using PHP to populate my memcached, and Django to read the cache. I have made my custom make_key function in Django settings.py so that the key is same and Django doesn't modify it. def make_key(key, key_prefix, version): return key CACH...
more »

2017-06-21 15:06 (1) Answers

Google chrome not updating the webpage

Google chrome is not updating the new css in website. It requires to clear cache everytime. My real concern is we cannot expect visitors to clear cache everytime while visiting the website. Can anyone suggest some solution that somehow chrome will l...
more »

2017-06-21 13:06 (1) Answers

Prevent duplicate $.ajax calls using result cache

A similar question has been asked before, but I don't believe it overcomes the challenges in this case because my function calls are all together, so please bear with me (I'll delete the question if appropriate). I have a number of dashboard widgets...
more »

2017-06-21 11:06 (1) Answers

Change EXT-X-ALLOW-CACHE tag in M3U8

This is old question, but have no answer. https://forums.adobe.com/message/5770463#5770463 In my case, I want to do it for LIVE streaming. Here is content of m3u8 : #EXTM3U #EXT-X-MEDIA-SEQUENCE:84 #EXT-X-ALLOW-CACHE:NO #EXT-X-VERSION:2 #EXT-X-TAR...
more »

2017-06-21 11:06 (0) Answers

How to change cached Cloudflare cookie?

Recently we had issues with Cloudflare caching our web shop, so disabled it. But its cookie __cfduid was left cached in clients or providers computers. This particular cookie is making issues in Edge browser (a shopping cart is deleted on any new pag...
more »

2017-06-21 10:06 (1) Answers

AWS ElastiCache connectivity issue in Spring Boot

Trying to configure AWS ElastiCache (memcached) but it doesn't connect to the cache cluster. There is no error as well, just it doesn't put data in the cache. Any pointers will help. Here is the code, I have just one file in my application for cach...
more »

2017-06-20 23:06 (0) Answers

Memcached raising a strange Key Error

Disclaimer: I'm very new to memcached, so this might (is probably) a stupid mistake on my part.For my internship, I'm using pymemcache 1.2.9. I inherited a project from a previous intern who I can't contact easily and no one I'm working with has any...
more »

2017-06-20 22:06 (0) Answers

Caching API responses in .NET Core

I'm building a website that will have a feature that if you hover over an object, a special div will be filled with ajax with details on the object. Since the client side isn't really that important, I'll just say that there's jquery hover event on ...
more »

2017-06-20 20:06 (2) Answers

Can I cache a cfldap query?

If I cannot, is there a scope that will make the same cfldap query available to all users? I'm just trying to cut down on the number of times it is called, since it's a cross-server call. ...
more »

2017-06-20 20:06 (1) Answers

OutputCache Client location not working

Request headers POST /Map/GetMapCategories?loc=r3r4 HTTP/1.1 Host: localhost Connection: keep-alive Content-Length: 0 Accept: */* Origin: http://localhost X-Requested-With: XMLHttpRequest User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWe...
more »

2017-06-20 17:06 (0) Answers

htaccess browser caching not working

My .htaccess file ignores the whole browser caching stuff. I have multiple domains on the same server and in one of them, the same code is working fine. My testing tool is WebPageTest.org. <IfModule mod_filter.c> <IfModule mod_deflate.c&...
more »

2017-06-20 16:06 (0) Answers