Most voted "cache" questions
Basically, the term cache can be understood as a storage area where frequently used data or processes are saved for faster future access, saving time and unnecessary use of your hardware.
Learn more…129 questions
Sort by count of
-
2
votes0
answers254
views -
2
votes1
answer616
viewsAsp Classic - Save page with MSXML2.ServerXMLHTTP.6.0
Good afternoon, I am trying to create a cache system for my site and for this I am using the object MSXML2.ServerXMLHTTP.6.0 in this way: Set objHTTP =…
-
2
votes2
answers42
viewsCronjob with cached file
On my website and using Cpanel, I have several cronjobs that run multiple php files. Each of these cronjobs creates a cached file where the site will pick up information. All the cronjobs are…
-
2
votes1
answer400
viewsSaving Webview history/cache
I’m building an app WebView, where the first screen is login. I would like the fields login and password could be recorded, so when the user closes the app those data were not lost.…
-
2
votes1
answer265
viewsWhat is the "right way" to use PHP destructors
When searching for references of good practices in PHP for memory management I came across several intentions of how to use destructors. I know the leading actor is Garbage Collector but this is not…
-
2
votes1
answer71
viewsAutomatic Cache Time Expiring
I am using the function below to store the cache was working normal, but now when add the time of 60min is as if it expires auto, now if I insert a longer time as 181min the cache is maintained. If…
-
2
votes0
answers100
viewsWhat is the best strategy to update data only when needed?
In an application with React Native, using Redux and Redux-Persist, how best to identify which content needs to be updated? In my case, I have an app that makes some requests at start up. When I…
-
2
votes0
answers441
viewsCache - Angularjs
I have an Angularjs(1.x.x)/php application that every version update, some users who use Firefox in the latest version, are required to run CTRL+SHIFT+R to clear the cache and get the updated…
-
2
votes1
answer193
viewsHow to reduce JSF application CPU consumption
From a while ago, my application started to have a very large CPU consumption. I installed Jprofiler, and from what I understand from him, there’s a problem with the c3p0 from Ibernate. I am using…
-
1
votes0
answers205
viewsHow to use Nhibernate cache with C#
Guys, how can I use cache in Nhibernate with C#? What is the best way to implement? And what considerations should I take?
-
1
votes0
answers99
views"Outofmemoryerror" error using Volley
I’m making an application where I have a URL that returns a JSON, through the Volley library, I’m taking the content of this URL and turning into string, this process shall be carried out on each 5…
-
1
votes0
answers28
views -
1
votes1
answer118
viewsOptimization of Cache Memory usage
I received a code implementing Dijkstra in C, and my mission is to optimize this code. The code is this: #include <stdio.h> #include <stdlib.h> #include <string.h> #define…
-
1
votes1
answer84
views -
1
votes2
answers1437
viewsProblems with Google Cache
I’m making some changes to a site and these changes involve Classic ASP and Javascript pages. What you are going through is that I always change the javascript, save and play it on my server it does…
-
1
votes0
answers121
viewsWhy even set the headers the page cache is not updated?
Use the Laravel 3 in a certain system that we develop here in the company. I need that every time the application version changes, the cache of all users be updated. The programmers here have…
-
1
votes0
answers301
viewsDisable caching in Wildfly navigation
Hello, I am using Vraptor 4 with Wildfly 9, and I noticed that in my localhost browsing, every refresh or browsing among other pages, the HTML content is normally reloaded. However, when I am making…
-
1
votes1
answer498
viewsSave Game Data in Html5 and Javascript
I would like to know how I can make a "cache" of a project of mine, because the game works normally, but when updates the page, all progress is lost, I would like to know how I can make this "cache"…
-
1
votes0
answers140
viewsBugado design! (but with cache works, "unlock")
I was setting up a table with scroll and I came across the following bug in css: If I press f5 2 times the table ends up fixing and stays like this: When I clear the cache(ctrl + f5) the error comes…
-
1
votes1
answer408
viewsDifferences between Cache and CDN usage
What are the advantages and disadvantages when using CDN (Content Delivery Network) and Cache and how they can complement each other?
-
1
votes0
answers68
viewsUbuntu Server Cache with Nginx
I’m having a Cache problem on my Ngnix Server with Wordpress The site is currently using a PHP Webservice and SESSION, the Webservice brings me the user information and stored in the session, but…
-
1
votes0
answers25
views -
1
votes1
answer133
viewsStore / Load generic types in Redis with C#
Setting I created a function using AOP to cache information, when the method is called I store in Redis using the cache.StringSet, but when I need to capture back the value of Redis I need it to…
-
1
votes2
answers302
viewsForce updating an element in HTML/Javascript/ASP.NET
On the site I am working on, the user has access to a text editor to change the Labels in certain photos. When editing the text and giving "Submit" in the responses, the texts do not update on the…
-
1
votes1
answer76
viewsCache - Update on my website
Guys, does anyone have any explanation or a vision for me to better understand about cookies for it to be updated. For example, I have a PHP/HTML site. Most of the time when I do an update in some…
-
1
votes1
answer158
viewssolve google speed insights problem
in google speed insights this error appears : "Enjoy browser cache Setting an expiration date or maximum age in HTTP headers for static resources instructs the browser to load previously downloaded…
-
1
votes1
answer401
viewsAvoid actual image caching, not just changing the src name
I have an image that loads multiple times, each time with content that won’t be reused. to this problem, I found several answers suggesting something var d = new Date();…
-
1
votes0
answers32
viewsDoes the browser cache still work together with the service worker cache?
I am creating a service worker for a pwapp I managed to manage the cache through serviceworker but when updating the pwapp files, the following occurred: serviceworker deleted the old cache…
-
1
votes0
answers41
viewsWhat are "caches" in relation to web applications?
In the Inphinit Framework it is possible to cache HTTP responses, see an example: Route::set('GET', '/hello', function () { $cache = new Cache; if ($cache->cached()) { return; } return…
-
1
votes1
answer25
viewsTo create an exception in htaccess mod_expires
I have a website that I use mod_expires to cache, but I didn’t want to apply to all pages, because the home page, for example, is dynamic, changes every day. There is how I create an exception rule…
-
1
votes0
answers72
viewsHOW TO SAVE THE JS VARIABLE VALUE FROM ONE SCREEN TO ANOTHER?
following, help me here with a little problem, I am developing a web application of a site, a QUIZ, in it have screens where the user can register questions in the bank and others where these…
-
0
votes1
answer591
viewsDifficulty with installing the W3 Total Cache compressor YUI
I recently installed the plugin W3 Total Cache, but I’m having trouble installing Java. See screenshot: I’ve been reading on foreign forums that you need to install the archive YUI compressor on the…
-
0
votes1
answer66
viewsRedis in Rails 4
I have an Item template. Can you store Item.all(Item::Activerecord_relation) in Redis? I tried to do so: $redis = Redis::Namespace.new("suggestme", :redis => Redis.new) $redis.set("itens",…
-
0
votes1
answer82
viewsJSON API cache in Xcode
I want to cache my Wordpress JSON API in my app. I want a cache of tableview cells and UIWebView for when in airplane mode or off or with bad signal, the user can still see. I tried to cache with…
-
0
votes1
answer1444
viewsHandle cache with Angularjs
I have an app with AngularJs, application when I make any changes and then the deploy the browser does not recognize these changes. It only works when I change the URL of that application. I…
-
0
votes1
answer216
viewshtaccess does not work for wp super cache plugin
I installed the wp plugin super cache for wordpress on the server and it’s working fine. But I can’t understand why my rules on . htaccess does not work for the homepage. I rewrite the requests pro…
-
0
votes0
answers48
viewsUpload php page via FTP but the page does not exit the server cache
I have the following problem.. I have a website with pages in php, Java.. everything works fine.. But I had to make a simple change to the html code of a php page.. I uploaded the file via FTP,…
-
0
votes1
answer173
viewsDoubt about cached files
Guys I’m putting together a system in php, and I’m creating the material design that will be used in the system. I created 2 files, 1º Materia.js and 2º Material.css. Good in these files I will put…
-
0
votes0
answers263
viewsUsing Cache from Laravel
I wonder if the way I am working with cache is correct and if you have something more practical for it. Follows the code: <?php namespace App\Modules\Admin\Controllers; use Cache; use Auth; class…
-
0
votes2
answers279
viewsMemory error when generating spreadsheet with Phpexcel
I am having problems in generating Excel spreadsheets using Phpexcel when the number of records is too large the memory is insufficient to process the task, there is some way to improve the creation…
-
0
votes1
answer288
viewsHow to solve Google Cache problem?
I took the test on pagespeed and even having installed the plugin of Wordpress appeared this: Leverage browser caching Setting an expiry date or a Maximum age in the HTTP headers for Static…
-
0
votes2
answers477
views -
0
votes0
answers59
viewsIs my cache being shared by the pages able to leave it per session?
Good morning, you guys, So, I created a class to handle cache, but open the site in the same browser but with different users, one takes the cache from the other. how can I restrict by "session"…
-
0
votes1
answer107
viewsFirefox redirects to wyciwyg://url
After an Ajax call, return html as string and Gero a new page with document.write(). But when browsing this page, when using the browser back or forward, the urls of the pages begin to come with…
-
0
votes1
answer48
viewsSave content to your phone
I am making an application, where I have a list of questions, and if the user leaves the application or screen, I would like to save the questions he already answered, so when he goes back to that…
-
0
votes0
answers123
viewsProblems using Phpexcel cache system with Laravel 4.2
I’m trying to use the library’s cache system Phpexcel, but I am still getting memory overflow in my application. I need to use cache because I am generating reports with more than 100,000 records on…
-
0
votes1
answer240
viewsHow to update an XML file without reloading the page
Good afternoon, I am creating an application that loads functions based on the information of a given XML file. However, once I save a new function via php, when I go to do a Xhttprequest in…
-
0
votes1
answer69
viewsHow to remove external js cache?
I added on a website an external lib that called via inclusion of script, ie a js that made the communication with the services that this company offered. After this inclusion they would add the…
-
0
votes1
answer5051
viewsHow do I fix the php ERR_CACHE_MISS?
Whenever I click to return in the browser navigation appears the message to confirm the form resend and the error: ERR_CACHE_MISS. How do I click to return to the previous page and do not ask for…
-
0
votes2
answers264
viewsI cannot enable GZIP cache and compression on my website. Why?
I have a client site to optimize on Wordpress. He was scoring 32 and 34 on the mobile and desktop test at Google’s Pagespeed Insights, respectively. I improved some items and the grades went up to…