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

1
vote
1answer
2k views

Failing to open advanced-cache.php which is breaking Media Library

On my WordPress install, which is 3.8 and has all plugins updated, it is using Magic Fields 2 and Hypercache amongst other plugins. I can't insert images into posts because when I upload, it gives me ...
0
votes
0answers
78 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
1answer
56 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 ...
1
vote
0answers
48 views

Strange caching behaviour [closed]

I changed options in my theme (style settings, to keep it simple just say switched color from blue to red) and it seems nothing happened. After some trial and error I figured out that when I am logged ...
0
votes
1answer
1k views

Wordpress with php 5.5 and zend opcache

I currently updated/upgraded my php to 5.5.11 and want to use the opcache that comes with it. I enabled the cache and added a few settings to php.ini zend_extension=/usr/lib/php5/20131313/opcache.so ...
0
votes
1answer
180 views

Wordpress caching issue

I've updated a page in wordpress and can see the correct result in "preview mode", but if I view the page outside of the admin interface the update does not show. I've search around and tried the ...
1
vote
1answer
110 views

Cache directory needed for plugin

I'm working on a new plugin, and i need to write a frew cache files somewhere. At first i wanted to create a cache folder inside my plugin with the following .gitignore file in it: # Ignore ...
0
votes
1answer
94 views

Cache WordPress for offline use

Client of mine will be out in the sticks and needs to have an offline version of her WordPress site. Is there a way to cache the entire site so that it is available offline? I know I can use Xampp ...
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 ...
0
votes
1answer
42 views

Can Wordpress Drop-ins be given their own directory?

Drop-in files, like advanced-cache.php or object-cache.php, sit in the root of the wp-content directory. Is it possible to give drop-ins in their own subdirectory of wp-content instead? Looking at ...
1
vote
1answer
81 views

How to enable Zend Optimiser+ with Batcache

I am using Batcache with APC Object Cache Backend so far. A lot of posts on internet claiming that using Zend Optimizer instead of APC would reduce CPU and memory usage. I could enable Zend ...
0
votes
1answer
503 views

How Can I Safely Remove WP-Super Cache without messing my site up? [closed]

So apparently some people cannot view my site because they said it only loads the sidebar. This only happens to some people and it only started happening after I installed the w3 super cache. I've ...
1
vote
1answer
139 views

Dynamic Stylesheet loads but doesn't finish

I am creating a website for an architect with large images being a main feature of the site. Given the potential size of the images I wanted to have a way to create responsive image sizing (and of ...
0
votes
1answer
46 views

Add unique id to Preview URL

Is there an easy way to append a unique ID to the preview URL when the preview button is clicked by a user? So this: http://example.com/news/1/title/?preview=true Becomes: ...
0
votes
0answers
56 views

How to total cache a specific PHP file? [closed]

How do I cache specific file in WordPress? I have a file in a theme in WordPress and W3 Total cache. The file has a .php extension and is loading dynamic CSS from database. It takes too much time to ...
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 ...
1
vote
1answer
418 views

Batcache messages no longer in page source

I have placed advanced-cache.php and object-cache.php in wp-contents and updated wp-config.php with define('WP_CACHE', true);, but I do not see the messages in the page source telling me that the page ...
1
vote
3answers
463 views

Prevent installation of style.css cookies and file caching

I'm having a problem which I have never encountered before. When I update my style.css file within my child theme, the webpage does not use the new style. I have pinpointed that to a cookie within ...
-1
votes
1answer
1k views

CSS changes not taking effect [closed]

I make changes to my style.css file but they do not take effect on the website. Style.css is located here: /wp-content/themes/academy/style.css I have made changes to it previously and the changes ...
0
votes
1answer
152 views

Wordpress theme Modifications not showing up on live server

I have been working on localhost with a theme that was already installed on live server. After i completed my mods, uploaded the files to themes folder in wp-content but to my disappointment, the same ...
0
votes
1answer
119 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
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 ...
1
vote
2answers
994 views

W3 Total Cache doesn't detect memcached [closed]

I have a wordpress installation (latest version) running on a debian server with memcached and php5-memcached installed (memcache appears on phpinfo()), but W3 Total Cache doesn't seem to recognize ...
3
votes
1answer
97 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
0answers
152 views

.htaccess browser caching and user login [closed]

I have a site that involves user logins for certain content. I am leveraging browser caching in the .htaccess file. When a user logs in, they are redirected to a profile page. The problem I'm having ...
1
vote
2answers
3k views

NextGen Gallery template cache [closed]

I've implemented a custom Isotope template for the NextGen Gallery plugin, and I've made changes and bug fixes to the template, but when I refresh the page the template changes have not taken effect. ...
0
votes
2answers
38 views

Debug Performance Issues

I've had a WordPress blog I've hosted on Dream Host for several years now. Recently (the past year) my site is going down often. Via Dream Host I found that I'm using up my CPU limit and they are ...
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
2answers
116 views

Session alternative for plugins (due to caching)

I'm building a plugin that picks a random post from the database and delivers the result dynamically to the user. For certain aspects I need to know the post ID that's been randomly selected. Session ...
0
votes
0answers
308 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
1answer
328 views

How long is “as long as possible” in wp_cache_set()?

The documentation for wp_cache_set() says that if you pass in 0 for $expire (which is also the default), then it is cached for "as long as possible". How long is this? What determines it? Are we ...
1
vote
0answers
104 views

Transients and WP Super Cache? [closed]

Is it worth using Transients when running WP Super Cache? We have a website that get's updated 20 times a day with new post, so I set a lot transients for queries that don't reflect those updates. My ...
1
vote
0answers
129 views

Cache minified assets NGINX / fastcgi_cache [closed]

I tried using ngx_pagespeed but the cpu usage is too much for me. Now I need a minify tool that can do the best on my websites (all wordpress) and can work together with fastcgi_cache. Here is how it ...
0
votes
1answer
33 views

Browser cache for dynamic content (list of tags)

What does WP have to offer when it comes to generating dynamic content that rarely changes? I've created a jQuery backed metabox which implements auto complete and has the option of not allowing ...
1
vote
1answer
82 views

How to cache posts based on $_GET? Option name is too long? Options / transients

I have a search feature set up that is fairly expensive and I want to cache the results, based on the $_get string, like: ...
0
votes
1answer
132 views

Slow WP Site, theme.php not caching? Up to 25 second load time! [closed]

I have two WP subdirectories off of a Joomla domain. The Joomla load time is ok. However, the WPs are so so sooooo slow. The back end is slow too. I have w3 cache installed on both and I've copied the ...
0
votes
1answer
2k views

How to force content refresh of a page that has been loaded previously by the user? [closed]

How can any page on the site be forced to refresh or load content by ignoring anything in cache, everytime a visitor visits the page for the second time? The website uses twentyeleven & w3tc ...
6
votes
2answers
526 views

Multiple WordPress sites eat up alot of RAM

I have a VPS with 30 WordPress sites. I am running nginx & APC and notice it eats up my RAM up to 1GB and it increases each time I add another site. I notice APC is the one that's causing the ...
0
votes
2answers
18k views

How to clear the cache?

I have made changes in my CSS, but it doesn't work. I know it's because of caching from admin panel. How to clear cache of my WP admin. Is there any method to clear the cache?
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!
5
votes
3answers
605 views

Trouble with Transient API when W3TC is activated [closed]

I'm using W3 Total Cache 0.9.2.11 on Wordpress 3.5.2. I've got a problem with transient API and w3tc's object cache setting. When I activate 'object cache' with memcached (other settings are ...
0
votes
3answers
273 views

Update Custom post field by Ajax on cached site

My site cached by "wp-supper cache" plugin and "cloudflare.com" So my php function to count post views working incorrectly. I try to use ajax for it but I'm noob with JS code so I can not know where ...
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 ...
1
vote
1answer
334 views

Correct way to perform non-cacheable DB query

Consider the code function getNow() { global $wpdb; $now = $wpdb->get_var("SELECT NOW()"); $wpdb->flush(); return $now; } I am using the above method to avoid caching ...
1
vote
1answer
243 views

How to cache a shortcode functions output?

I would like to show on my startpage the total count of posts in a WordPress Multisite. Those are nearly 7000 in 500 Blogs. So I made a function which has to go through every blog to count the posts. ...
0
votes
2answers
198 views

How to purge all transient caches?

Is there an easy way to delete all transient caches? A plugin maybe? Or like in drupal "drush cc all"?
3
votes
3answers
301 views

Extremely slow Wordpress website with 6000 posts

I have a website with 6000 posts and it is extremely slow. Sometimes I get this error in my browser: Service Temporarily Unavailable The server is temporarily unable to service your request due to ...
1
vote
2answers
155 views

Can I force get_option to go back to the DB instead of cache?

Is there any way to guarantee that when I call get_option I will definitely get the value from the database and not from cache?
1
vote
1answer
139 views

Static HTML page caching for large website [closed]

I'm creating a WooCommerce store with 3000+ products (+filters). And I'm using WP super cache plugin because I want to serve pages as fast as possible. This arises problems/questions: When any post ...