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.

learn more… | top users | synonyms

3
votes
1answer
99 views

W3 Total Cache plugin integration

I am working on a plugin (widget) that is using some transients that are updated from time to time. That said, when these transients are updated, I think I will need to flush the cache to display the ...
1
vote
1answer
15 views

Hook an action when a transient is deleted ? Can't get it to work!

I'm working on a plugin, and it caches a remote page when requested. The file is created with tempnam(). I save the path of that cached file in a transient, using the transient API. Once the ...
1
vote
1answer
69 views

How to prevent/delay MySQL connections when an object cache is used?

We are using an object cache backed by memcached, however I think that WordPress will still connect to MySQL on every page load, which shouldn't be needed if all queries can be handled by the object ...
1
vote
1answer
378 views

How to optimize 'select found_rows()' query? Several 'high load average' alerts daily

I have 5,000 regular posts, 6,000 posts in one post type and 2,000 posts in another post type. Needless to say, that has made the wp_posts table quite large. Not to mention, I have custom taxonomies ...
1
vote
1answer
716 views

Some custom taxonomy child terms not showing in admin. Caching problem?

I have a problem with some custom taxonomy terms. I am using "Types" plugin for creating custom post types and custom taxonomies. I successfully created my postype and hierarchical taxonomy and ...
1
vote
1answer
322 views

w3 total cache and sitemap.xml

I have been installing lately w3 total cache on my wordpress site and today webmaster tools has been mailing an error by sitemap.xml crawling. Sitemap ist HTML. Is anybody experienced this issue with ...
0
votes
1answer
14 views

HIgh CPU usage - Will using cache plugins help

i am having issues with CPU high utilization, more than 92% . Is there anyway to track which plugin or process or user is causing this issue? Will usage of any cache plugin will help this or not ?
0
votes
1answer
57 views

pass-protected pages and posts not protected after enter them 1 time

i use wordpress 3.9.2 and i read a lot of article and Q about clear cookies but some of them is too old ( for wp 3.4 and wp-pass with different code) or not solve my problem i have some password ...
0
votes
1answer
71 views

Manually cache a special, non-WP-but-using-WP page (e.g. Ajax results) with W3TC

Under the active theme folder, I have a search-autocomplete.php file which uses various WP queries to create smart JSON results delivered via AJAX to a jQuery UI Autocomplete input field. It's not a ...
0
votes
1answer
47 views

Server Variables not recognized in certain posts

I've got a very strange issue that I've never seen in WordPress. I've just converted a big site over to a new responsive theme. The site has about 1,400 articles and there are ads on it. The way we ...
0
votes
1answer
71 views

WordPress aggressively caching CSS

I’m absolutely fed up at this stage. I just activated a new theme on my WordPress site. I activated it at about 7pm GMT and since then I’ve been trying to change the style. I’ve updated the CSS (I’m ...
0
votes
1answer
57 views

Page updates appear in Preview but not live version?

I have made some changes to a blog page and excluded some categories. However, whenever I view the blog online the excluded posts still appear. But when I got to the blog page and click 'preview' the ...
0
votes
1answer
121 views

Under heavy cache conditions, updating the parent theme don't reflect changes with child theme enabled

I use W3 Total Cache, Cloudflare (and CloudFront for media files). I use a Child Theme to customize specifically for my site while maintaining the core theme with the parent theme. Whenever I update ...
0
votes
1answer
62 views

Apache extensions for WordPress' working without troubles

I have a new web server at the Hetzner EX60. With this new site I have many problems. First of all I need to say that I have problems with default theme and without any plugins. I tried to resolve ...
0
votes
1answer
66 views

Keeping Objects in Memory

I have built a WordPress plugin using classes. Each project class is created for a specific user. I want to do three things: Keep the project object in memory for that user between his or her ...
0
votes
1answer
216 views

Pagination in WP query with transient API

I have integrated WordPress transient system with w3 total cache. Now I can`t to do pagination for this query. <?php $paged1 = (get_query_var('paged1')) ? ...
0
votes
1answer
55 views

WordPress cache feeds

I would like to implement a custom cache for all the feeds in my site. The rss requests are very intensive and I have a big db load. Do anyone know of a good action before running the rss query so I ...
1
vote
0answers
36 views

Extending WP_User class and using this sub-class during the whole lifecycle

I am currently struggling with this software design issue I can't seem to get hold of. What I am trying to achieve is the following: for every user on our website, I want to do an API request to a ...
1
vote
0answers
147 views

Run oembed separately outside the_content()

I have this structure for my content.php : <div class="featured"> <!--featured image here--> </div> <h1 class="entry-title">Post Title</h1> <div ...
1
vote
0answers
214 views

tinyMCE.activeEditor = null WP editor loaded in 'Text' mode?

I have a plugin which saves data via AJAX, and realised that it wasn't sending out any request. I opened up the console to look further, and low and behold when trying to look at the object ...
1
vote
0answers
355 views

Wordpress PHP 5.5 and OPcache

I have tried to run on my Apache 2.4 and PHP 5.5 OPcache. My admins turned it on for me but the site was not faster - it was slower. Is there a how-to somewhere or a code snipet needed in WordPress ...
1
vote
0answers
126 views

Cache issues with redis and nginx

I have a problem with the rewrite rules in my nginx config file. I am running wordpress with nginx and redis to cache the site. I can get the redis to cache all pages not a problem, but as I am ...
1
vote
0answers
94 views

Index page and random posts needs a forced refresh in order to show new content

I have this weird problem with both on desktop and mobile, which requires a manual refresh in order for the index-page to show new posts. It also appears as if the user is not logged in. Basically, I ...
1
vote
0answers
220 views

After having installed APC Object Cache Backend transients stopped working

My understanding is that once you enable the persistent object cache, your transients are no longer stored in wp_options but in the cache. Once I installed Mark Jaquith's APC Object Cache Backend, ...
1
vote
0answers
34 views

Caching RSS plugin data

I'm developing plugin and I need it's data to be cached, let's assume that it's large RSS feed grabber. Basically data of one RSS feed is about 100 lines of parsed HTML code (about 2KB). On one page ...
0
votes
0answers
10 views

can infinite scroll work with caching plugins

I want to know whether plugins like infinite scroll (https://wordpress.org/plugins/infinite-scroll/) can work with caching plugins.Will the cache plugins will have same effectiveness.
0
votes
0answers
35 views

Having 4000 posts, my site is so slow

My WordPress sites contains 4000 posts, and the difficulty is that I have to display all of them at one page. You know, it takes ages to do that, sometimes it causes my Firefox crash. Could you guy ...
0
votes
0answers
37 views

GravatarLocalCache Plugin Broken in WordPress 4.2

Trying to fix a plugin (https://wordpress.org/plugins/gravatarlocalcache/ not mine) which broke on the 4.2 update. The plugin makes a locally cached version of Gravatar.com avatars. Plugin hasn't ...
0
votes
0answers
20 views

w3 total cache : Force minified css to reload on client side when style.css is changed

Im trying to force the minified CSS file generated with the w3 total cache plugin to reload after editing the style.css file. Here's what i did : Empty all cache Add the file version after the ...
0
votes
0answers
14 views

Super cache caches mobile pages for desktop

Super Cache doesn't separately cache mobile pages and desktop pages. Sometimes I see a mobile cached pages on the desktop and the vice versa. How to solve this?
0
votes
0answers
60 views

WP Optimization: Multiples call to wp_options table all the time, is this normal?

I've a problem on my site since it is running very very slow and I can't find the cause of this. So I'll need some kind of desperate help from people here. I'll improve the question any time I perform ...
0
votes
0answers
79 views

Flush RSS Cache

I'm editing my RSS feed by adding extra elements containing custom fields I've created. I'm aware these won't work on standard RSS readers, but I've building a custom page for a different website that ...
0
votes
0answers
81 views

is_user_logged_in() not working after domain change

I am relatively new to Wordpress and I recently moved a WordPress website from one domain to another. I went through and fixed all the links and references that I could find. Now my website has all of ...
0
votes
0answers
31 views

Turn off Plugin Manually

I have installed and active wp-super-cache plugin, and It cached an PHP syntax error. I solved the error but can't run my website again because the error.log is still displaying the same error. I ...
0
votes
0answers
62 views

How could I exclude login modal from cache?

since I activated the W3 total cache I got a login problem, people write their credentials on login modal but after they press the sign in button, the page refresh but the user's name is not ...
0
votes
0answers
139 views

How to do Leverage browser caching for a specific file in wordpress?

I am trying to get my site passed in google speed test. My current speed is 74/100 For java script Leverage browser caching I've added this ExpiresByType text/x-javascript "access 1 month"1 to my ...
0
votes
0answers
125 views

W3 Total Cache problem with password protected pages

well w3 total cache plugins is really nice and make my speed of loading more fast but seems Total cache have problem with password protected pages and posts . when the password enter and page load ...
0
votes
0answers
86 views

Custom php Widget keeps disappearing from the front end

I've created a widget to show custom testimonials on the sidebar. It checks if the post has a custom field 'customer_review' then prints a it on the sidebar. Thing is, the testimonial keeps ...
0
votes
0answers
106 views

Preventing Cache for Text Content but not for CSS files and Images

I am front-end developer and my knowledge is limited for server-side. Excuse me if I am mistaken on terminology. I have Wordpress blog that I write blog posts about javascript. I update the same post ...
0
votes
0answers
13 views

Updating WordPress or plugins causes site issues (due to API, I think)

I have a problem with all of the sites I host on my server. Whenever someone updates WordPress of plugins, I manually have to restart Apache to get things to work properly. Should the update process ...
0
votes
0answers
124 views

Is MySQL query cache useful for WordPress?

Starting from MySQL 5.6, if you use InnoDB as the default engine, the query cache is now officially disabled. We've a quite moderate traffic WordPress site and experience a major downtime when we ...
0
votes
0answers
42 views

Post not showing up sometimes on website

I have a weird problem. A particular post is not showing up on my website sometimes. So If I clear cache then it shows up. It is happening only to one particular post. I am not able to figure out what ...
0
votes
0answers
35 views

Should I use transients for these API call results?

I am consuming an API that gives me a list of people and their profiles. My initial idea was working perfectly fine when it's just the list of people because I was just saving the ids and names using ...
0
votes
0answers
82 views

Splash pages on a high traffic site

Could use some advice here. We have a fairly high traffic site web site using WordPress. Currently we have two VPS servers managing the site, one that holds WP, one that holds MySQL. The WP servers ...
0
votes
0answers
43 views

My website resets when accessing the index page

So my wordpress theme and website is on a stage server, since it's under production. And this issue happens once in a while. Basically, if I log in as a user, and when I enter the index page, the ...
0
votes
0answers
24 views

Major cache but only on wordpress site

I have disabled all caching plugins, and i have cleared my browser cache, removed my temp browser files - how come i still not seeing my changes going trough on my wordpress page? I wait 20min they ...
0
votes
0answers
42 views

Wordpress Cache not working with some ajax calls

I need to install a plugin for caching my wordpress/buddypress pages or at least add define('WP_CACHE', true); to wp-config.php but when I do this, the button "join this group" that uses Ajax calls ...
0
votes
0answers
315 views

Nonces and Cache

It's clear that form submissions and AJAX requests, especially sensible ones, need "nonces" to avoid certain exploits. However, with heavy use of caching systems it becomes harder to generate them ...
0
votes
0answers
20 views

Cache plugin Cache all Pages by cron

Does someone know if there is a cache plugin where you can choose if you can cache all pages at once? And if possible with a cron!
0
votes
0answers
59 views

cache reset button and question about deleting cache

I need to put a "delete cache button" on front-end pages. I am looking for plugins for it. any experience or recommendation for it? Can you recommend me a plug in when i create a reset button? What ...