Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [cache]

A cache is a component that transparently stores data so that future requests for that data can be served faster. The data that is stored within a cache might be values that have been computed earlier or duplicates of original values that are stored elsewhere.

0
votes
0answers
6 views

Woocommerce recently viewed products and page caching

I am currently using Hummingbird to cache my pages and I also use the Woocommerce recently viewed products widget. I am currently having to exclude my homepage from caching as when caching is active, ...
0
votes
1answer
22 views

How to prevent archiving and search engine caching in a free Wordpress blog?

I don't like to have my free Wordpress blog cached by search engines or even worse, archived by the known archiving websites and services like The Wayback Machine. How can I do that?
-1
votes
1answer
29 views

What is the difference between WordPress speeding options Redis, Varnish, Autoptimize, Autoptimize Critical CSS Power-Up and WP Super Cache? [on hold]

What is the difference between WordPress speeding options Redis, Varnish, Autoptimize, Autoptimize Critical CSS Power-Up and WP Super Cache? Please also choose which ones you would use on your own ...
0
votes
1answer
22 views

How to cache for multi server environment? Memcached, Redis or other?

Am researching ways to speed a a multiserver wordpress install. In the past there was plugins like batcache that used memcache to store objects. That plugin is outdated and wanted to know in 2018 what ...
0
votes
0answers
7 views

Logged out content shown until refresh

Whenever a logged in user lands on a page it has also opened when still logged out, it shows the logged out version of that page until you refresh the page. Is there a way to force the browser to ...
0
votes
0answers
15 views

Why WordPress cache is not available after reload page?

I try to put data into WordPress cache and get it after reload page. I test my code and find out that data added to cache currently but after I reload page this cache is empty and wp_cache_get method ...
0
votes
0answers
21 views

Wordpress Post IDs are not incrementing when Add New

I have a dev site and a production site and this is only a problem on production. This happens whenever a new post or custom post type is created from the "Add New" button. If they are created ...
0
votes
1answer
20 views

WooCommerce - previous customer data exposed on checkout form [closed]

On our almost-vanilla WooCommerce site the address and name data from the last customer-order pre-populated the form fields on the checkout page e.g. https://examplesite.eu/checkout/ exposing the data ...
0
votes
0answers
26 views

Wordpress on mobile devices with new data after updating page

I work with a site where a weather report is displayed on the page. With each page refresh, some data changes. But no on mobile devices. Plugin for caching is disabled. There is a suspicion that this ...
0
votes
1answer
15 views

Is there a limit to size of data stored in update_option()?

I've checked out several* questions and WP docs and I have some idea of the answer but am looking for a specific number on the following questions: 1- Is there a limit to the size of data (kb,mb, ect)...
0
votes
2answers
68 views

Images not showing in media grid view (but showing in list view)

In my Wordpress install, thumbnail images are not showing in the media library, when in grid view. They are showing when in list view. In addition, if I once request a thumbnail directly, in the ...
0
votes
0answers
31 views

Is there any way to get all custom posts and all custom terms with it's meta in few queries?

I'm developing a website with a record for me query count. It has 720 Query for the main page. I want to reduce it. The main page structure is like this: ~10 Custom Taxonomy Term Each Term has a ...
0
votes
0answers
20 views

WooCommerce and Redis

I'm using Redis (installed with the Redis Object Cache plugin) in conjunction with WooCommerce. The problem is that (only with the Redis plugin) I can not make any orders, because the sites hangs ...
0
votes
0answers
5 views

How to check that Nginx return WP Supercache version?

I'm trying to figuring out with Nginx + WP Super Cache. This tutorial seems like overdated or incorrect. This part trying to get index.html file, but it's wrong, because cache folder contain hashed ...
0
votes
1answer
25 views

Wordpress Not updating - No Cache Plugins, Admin sees updates

I have no cache plugins active, I have put CloudFlare in development mode and also tried pausing it. None of these work. Somehow there is something cached on Wordpress side and it does not show the ...
0
votes
0answers
18 views

Batcache for logged in users

Installed memcached and using Batche and memcachy object cache for my wordpress. Just a idea to have batcache for logged in users also. By default it can force users to have batcache when user have ...
0
votes
1answer
62 views

Unable leverage Browser Caching on AWS Bitnami stack (Apache) through W3TC and Cloudfront CDN

I followed many tutorial about leveraging browser caching nevertheless I couldn't configure it succesfully, in fact GTmetric (PageSpeed and YSlow) notified me many static file that don't have a cache ...
0
votes
2answers
42 views

Last-Modified header support doesn’t speed up server processing - want more

I’ve just added “Last-Modified” / “If-Modified-Since” header support for some pages on my site via the recommendation here, but I didn’t see a very noticeable client page load speed improvement. This ...
0
votes
0answers
29 views

Remove trailing slash when WP_CACHE is enabled

I removed the trailing slash via Settings > Permalinks for my WP site. All URLs have been indexed by Google without the trailing slash so I don't want to revert this change. I just wanted to enable ...
0
votes
0answers
20 views

Users not shown as logged-in once they go to the site's homepage

I have been unable to solve this problem for a few days now. ​ On my site (parthunter.com.au), once a user logs in for the first time, it will take them to a "profile page", here in the top corner it ...
0
votes
0answers
12 views

Caching issue with logged out users

I have done a bunch of searches so I'll quickly answer some questions... No caching plugin activated Turned off varnish (liquidweb) Rebooted ngnix server Purged cloudflare and set development mode ...
0
votes
0answers
29 views

Updated user role inncorrect when using wp_get_current_user()

I ran into an issue with updating a user role, and then checking the current role somewhere later in the code. After an entire day of debugging, and a night's rest, I figured it out by chance. See ...
0
votes
0answers
20 views

How can I refresh the plugins cache manually?

I'm installing a plugin by code via an AJAX call and afterwards, I'm using get_plugins to retrieve the new list of plugins. Problem is, my list is still the old one, where there's no plugins that are ...
0
votes
0answers
17 views

New blog posts don't update on page - How to force update of cookies more frequently?

An issue I am encountering is that even after I make a new post, any user who has visited my website recently isn't able to see my updated blog posts. They only see the old posts. It is only after ...
0
votes
1answer
246 views

Possible htaccess configuration issue for HTTPS websites by WP Fastest Cache plugin? [closed]

I am using WP Fastest Cache plugin for my HTTPS website. The plugin once activated adds several lines of code to the htaccess file. I doubt the presence of RewriteCond %{HTTPS} !=on in the below ...
0
votes
1answer
28 views

Having issues fixing site speed

G'day! My website > www.captiveoudoor.com generally takes about 50-60 seconds to load all resources, which is currently killing our traffic and google ranking. After running pagespeed insights I ...
0
votes
0answers
20 views

Is there a way to cache WordPress that does not loads core?

Cache is great, but still, testing my application with Blackfire, I saw that even the cached version consumes 43mb of memory, mostly because of WordPress Core load. Is there a way to cache a WordPress ...
1
vote
1answer
29 views

Investigating complex themes still slow even with WP caching

When using a complex WP theme alongside a WP caching plugin, there seems to be minimal performance improvement. Switch to a simple theme and your site performance improves dramatically. QUESTION: May ...
0
votes
0answers
19 views

How to do persistent data on Front End?

I´m doing a plugin with a member system. I need to : display notices ( error, warning, info ) for visitors when they fill the form to subscribe. To match with my core project, I need a system with a ...
0
votes
2answers
17 views

How to find out programmatically whether any cache plugin is installed in the WordPress website?

I want to know Whether any cache plugin is installed in the WordPress website or not. At present, I get all active WordPress plugin ( Using get_option('active_plugins')) and check one by one, whether ...
0
votes
1answer
20 views

content disappearing minutes after it's published

I'm with a very serious problem. Some information disappears after being published. Not exactly at the moment, but it shows up for a few minutes and then disappears. This does not happen with ...
0
votes
0answers
135 views

wp_is_mobile and caching problems

I have separate caches for mobile and desktop users and my implementation was working properly until my website began experiencing high traffic. Now, randomly my mobile users will see the desktop view ...
0
votes
2answers
39 views

Cached php? Updates are rendering only if logged as admin

I was asked to fix a wordpress based site and I don't get what's going on with it. The (custom) theme has a page-home.php that is the Home page. Whatever edits I make to this file, if I refresh the ...
0
votes
1answer
70 views

Stop plugin from adding cache headers

I'm currently using a plugin called 'Userpro' for user registration and login. This plugin culprit is that it adds no-store, no-cache headers whenever activated. I contacted plugin authors for the ...
1
vote
0answers
54 views

Preload Cache for thousands of posts may be on non-production environment

I have a setup of three wordpress environments: Local: My Development machine (using docker) Staging: An AWS Free Tier EC2 machine Production: An AWS Free Tier EC2 machine I use git/git-hooks to ...
0
votes
0answers
24 views

htaccess expires headers caching admin area

I'm having an issue where the admin area is being cached by expires headers I placed in htaccess. Here is what I had in htaccess # Leverage Browser Caching <IfModule mod_expires.c> ...
0
votes
1answer
22 views

Need to refresh page after each change

When I'm trying to activate theme in WP I can't see that it was activated, but see old theme is still activated. Then I want to see how it look like and need refresh page again to see new theme ...
1
vote
1answer
77 views

How can I render shortcode so that its not cached by Caching plugins?

I am developing a plugin and I don't want the output of my shortcode to be cached by popular WordPress caching plugins like W3Ttoalcahe, WPSuperCache, etc. Is there any way I can achieve that or ask ...
0
votes
0answers
184 views

leverage browser caching in wordpress

I have added wp Super Cache, Auto optimize plugins on my website, But still, I am getting Leverage Browser Caching Issue how can I fix this in WordPress website
0
votes
0answers
90 views

Advanced Custom Fields changes get stuck in cache

I'm using the Repeater Field in Advanced Custom Fields to handle a carousel slider changes slides by activation and expiration dates. I'm not using any caching plugins, but I am hosted with WP Engine ...
0
votes
0answers
66 views

Wordpress Website background Images not showing after WP Super Cache

When i install WP Super Cache on my website some background images disappears, sometimes all background images disappears, while sometimes few background images disappears and some still showing. I ...
0
votes
1answer
17 views

Should I use wp-content/cache or [PLUGIN_DIR]/cache?

I've been looking at some WordPress plugins, and I notice that if these plugins cache files, they will store these files in wp-content/cache/[PLUGIN_NAME]. Is there any particular reason why they ...
0
votes
0answers
75 views

What Cookies wordpress use by default

Hi in my understanding wordpress is not using any cookie by default [talking about non logged in user]. But as per new GDPR law , i have to mention what cookie wordpress is creating in visitor ...
0
votes
0answers
17 views

Load comment_form using javascript

I currently cache the page HTML after it has rendered and then serve this back to the users. If I view the page, the comment form will show "Logged in as Dan Hastings" and this gets saved to the cache....
1
vote
0answers
30 views

create link/button to purge cloudflare cache on post

good day , how to create a button on post so that visitors can purge it own post cache on cloudflare ? i found this bash script and use to manually flush single url #!/bin/bash if [ -z "$1" ]; then ...
0
votes
1answer
137 views

Must I install a plugin for Nginx object caching? [closed]

After Enabling Nginx object caching, something I tried to do without success, so far, must I install some WordPress plugin to communicate with the Nginx caching system somehow or to inform Nginx what ...
1
vote
0answers
224 views

Full page NGINX (or Cloudflare) caching and WordPress nonces

Goal: I want to cache the full WordPress response via NGINX and exclusively use the REST API for the user specific parts. Issue: I can't get an authenticated nonce to use against the API. My plan ...
0
votes
1answer
944 views

Pictures won't display in media library and also won't show preview when selected

I have done the plug in, check permissions (upload folder which contains files for the media contents is 755), clearing cache (there was none, apparently), disable any extra plug-ins, check and ...
0
votes
0answers
15 views

Why aren't updates to site showing up?

I'm creating a site using Kansas theme, and updates to pages are not showing up. I've cleared my browser cache and purged the cache on Wordpress, but content is still not showing up on the site. I'm ...
1
vote
0answers
48 views

Passing UTM Parameters To Modify Page In Wordpress

I'm trying to modify the way my WordPress template displays content depending on the URL parameters. The first stage is to catch variables and store them for subsequent pageviews so that the user has ...