Questions tagged [Caching] (387)

1
answer

How to refresh the cache when editing data?

For caching I use this library cache-all . And faced with such a problem that when you edit data, the old data stored in the cache do not update the change until the time of cache storage. How to do caching when data changes? I set the download cache index.js:const cache = require('cache-all') cache.init({ expireIn: 86400...
Maxwell.Ko asked March 27th 20 at 12:57
0
answer

If opcache caches identical files in rushnyk places as one?

If opcache caches identical files in rushnyk places as one? The server has 50 wordpress sites the same version of the same set of plugins too, same version. That is, the files are identical in fact. opcache caches conditional index.php and bodylength in memory it 1 time or 50 times?
cristina.Schu asked March 27th 20 at 12:13
2
answers

How do I force to refresh the cache of the website user(wordpress)?

Hello. Faced with such a problem. Make changes to the styles on any pages of the website, refreshes the page. Changes do not take effect until until you refresh the page via ctrl+f5 or clean plugin (WP Super cache), the cache site. Previously, the plugin was saved, but now no matter what ways I tried to clear the cache, in ...
Cade46 asked March 27th 20 at 11:35
0
answer

What is a two-level cache?

You must implement a two-level cache, the first level stores the data in RAM, the second on the hard disk. I do not understand the interaction of these levels with each other, but there is an assumption: entry occurs only in RAM, but if the memory ends(in this case, we do set a limit), then we write to the hard disk. And wh...
theresia asked March 27th 20 at 11:34
2
answers

OpenCart3 what to do if you do not apply the changes on the website?

Hey, guys, urgently need help PTS)) the Situation is kind of unique, have tried all the methods in the world and simply give up. Not saved changes .twig, They are stored in files in the root of the site but are not applied on the site. Using editor to design all the rules will remain. The cache is already deleted just every...
Lera_Hartma asked March 27th 20 at 11:18
3
answers

What to do in case of a "cold cache" in rush hour?

I have a query that runs 8-12 h and placed in Menkes. In the case of the peak hour when each second goes by +50 people on site - this can be very bad until the first user comes and executes the query, the remaining 49 at the same time also fulfill the request and prigruzhajut base. Read on hayload article, but did not under...
Felicia asked March 25th 20 at 11:16
0
answer

Why can't I see changes in Elementor'e?

In General, do the translation of the website on the subdomain, copied the site with the database after editing the text (the styles are not checked) on the website nothing changes/
Reggie_Yo asked March 24th 20 at 15:09
3
answers

How to save audio file without direct link, playable in chrome or firefox?

When you press the button on the page - playing an mp3 audio Direct link to this mp3 file can only be obtained by listening to traffic (e.g. using fiddler) But that's not an option. If the browser has reproduced this file, is there a way for it to pull from the cache? Or to force the browser to save all the sounds being pl...
lizzie_Fah asked March 24th 20 at 15:07
1
answer

How to clean cache on hosting sites on Laravel and Wordpress?

When working on projects on the local server (Open Server), no problem not watching. But when the sites are hosted, then the problem starts with the update content. Laravel:-Not updated file paths .js .css **Temporarily solve the problem by updating the name of the file. Ie style.change css to style1.css and view head presc...
robin.Gerhold asked March 24th 20 at 14:52
1
answer

How to make user login with caching?

Good afternoon, I write with a "small" problem, I need to take the input of the user on the website by caching its data. I have the code I am using Flask-MySQL, Flask-Cache, also use the module Memcached. Here is the code, ideas how to improve it?@submit_blueprint.route('/submit', methods = ['GET', 'POST']) def submit(): #...
emery_Kuhic88 asked March 24th 20 at 14:12