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
votes
2answers
309 views

Are get_bloginfo queries cached to start, or should they be cached?

I was just wondering if calling get_bloginfo too many times was going to harm performance in a theme and if the data should just be put into its own var?
1
vote
1answer
288 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. ...
1
vote
2answers
237 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"?
0
votes
3answers
2k views

Disable WordPress cache programmatically on a request [closed]

How do I turn off the WP Super Cache & W3 Total Cache functionality programmatically? For instance, I neither want to make it use the cache on some requests nor cache the output of the request, do ...
2
votes
1answer
1k views

Empty Super Cache programmatically (with ACF action) [closed]

I regularly use Advanced Custom Fields to create awesome backend interfaces for my clients (as I'm sure a lot of us do…). ACF includes an Options add-on that creates one or multiple global options ...
1
vote
1answer
149 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 ...
0
votes
2answers
68 views

WebHostingBuzz cache statement

WordPress Usage & Modules: We do not allow any WordPress caching modules since they continually cause server overload problems and are only allowed on VPS or dedicated hosting. ...
1
vote
1answer
46 views

Comment Moderation and CDN Caching

I work on a site that is entirely cached by a CDN. We are about to roll out comments and will be moderating every comment before it goes live. When someone posts a comment and the page is rendered ...
0
votes
1answer
262 views

Jetpack stats and caching strategy [closed]

I'm thinking about hosting a WordPress website with agressive caching/optimization strategies (like varnish, microcache, ngx_pagespeed, etc). But I still want Jetpack stats to work alright. What ...
4
votes
1answer
3k views

Wordpress Browser Cache with W3-Total-Cache doesn't show new posts [closed]

I'm running the latest version of both Wordpress (3.5.1) and the always popular W3 Total Cache (0.9.2.8), but I'm having issues with the browser cache. Basically I can't figure out the settings to ...
4
votes
2answers
3k views

Forcing reload of editor-style.css

Is there a method to force the refresh of editor-style.css, when I change manually the stylesheet for the TinyMCE editor? Modification doesn't show immediately but they will be cached in the admin ...
4
votes
1answer
1k views

Proper hook for W3TC defines, or dynamically disable w3 total cache [closed]

I have a site that uses a shopping cart plugin (Shopp), a plugin I wrote, and W3 Total Cache. In my plugin, I'd like to make sure that W3 Total Cache does not serve any cached pages if the user has ...
0
votes
1answer
144 views

Cache issue with WP_Query and custom field filtering

I have three separate WP_Queries on a page. Each of them return custom post type items that have a certain checkbox checked and then display one of those randomly. The checkbox has been added using ...
3
votes
2answers
323 views

Is it possible to disable caching of an option when using w3 total cache?

a plugin i'm working on has a conflict with w3 total cache. To be more specific, in my code i have static function get_instance() { if( self::$_instance === NULL ) { // get the settings ...
0
votes
1answer
86 views

Cleared wp-cache and file is still not updated [closed]

I did all the following: Deleted the cache in the WP Super Cache settings Added define('DISABLE_CACHE', true); in my wp-config.php Deleted my 'cache' folder under 'wp-content' However a theme php ...
0
votes
2answers
239 views

Error activating certain plugins

When I try to activate All-In-One SEO Pack or ANY (I've tried all by now!) caching plugin, the page goes blank - i.e the content of the page empty, except the WordPress bar on the top and the toolbar ...
23
votes
2answers
4k views

What are the best practices for using a caching plugin on a shared host?

I've launched quite a big site the other day and I'd like to incorporate a caching plugin. The setup is single-site with some Buddypress features mixed in (for user registration, maps with gpress, ...
1
vote
2answers
100 views

How can I revert to showing cached pages when no database connection is available? [closed]

I don't know much about how super cache works, but I see that at the very least, I can find most of the pages of my site in the wp-content/cache/supercache folder. Now, if WordPress cannot connect to ...
0
votes
1answer
248 views

Where to put W3 Total Cache rewrite rules in .htaccess? [closed]

Should I put them in the following order or the order doesn't matter at all? # BEGIN W3TC Browser Cache # END W3TC Browser Cache # BEGIN W3TC Page Cache core # END W3TC Page Cache core # WordPress ...
1
vote
2answers
134 views

Cache previous versions of website?

I'm working on a new site for a charity. They publish a printed magazine & we would like the website to always reflect the current issue of the magazine. So far I have a front page (home page) ...
2
votes
1answer
813 views

Programmatically insert hierarchical terms & set terms for post causes glitch? [duplicate]

I am inserting an array of terms into my custom taxonomy programmatically. Some terms have parents/children. After each term has been entered, I then insert an array of posts into my custom post type. ...
0
votes
2answers
769 views

issues with object cache (memcached as backend) and wpmu when flush_all is run

Im running a rather large wpmu setup bloggersdelight.dk - from time to time, we need to reset the object cache when doing changes on the site. When we do this, things mess up. Option values from sites ...
0
votes
1answer
49 views

User cannot authenticate after signup when object cache enabled

I've just upgraded to WordPress 3.5.1 and the new object-cache.php version 2.0.2 that users some new switch to blog cache functionality. We had this issue with the previous version of object cache, ...
0
votes
2answers
200 views

Is the wp_enqueue method efficient?

I had a quick question regarding how you are supposed to load in scripts with Wordpress. I am developing a theme and I know that the best way to do this is to use the ...
0
votes
1answer
482 views

A bunch of unrelated wordpress using same memcached don't store correctly their datas

Before begin I've to warn the reader: watch out the d! On a single web server (CentOS 6.3) using php-5.3.3 I've a bunch of unrelated wordpress sites (3.5), each one has its own DB (Mysql5.1) so the ...
4
votes
1answer
770 views

how to force caching of wordpress admin

Because of using slow connection these days, I would like to force WordPress's Admin section to be cached in browser (FF,IE) so that it it takes less time to load admin pages (because in fact, most of ...
1
vote
3answers
233 views

Does WordPress's HTTP API use any caching?

I'm working on a plugin to will retrieve data from a remote server and display it on the Dashboard. To do this, I'll be using the WordPress HTTP API but I'm not seeing any information on the HTTP API ...
0
votes
2answers
244 views

File permissions for wp-minify plugin

I am worried on installing Wp-Minify plugin. But it needs 777 permission for the cache directory located inside wp-uploads directory. Isn't it a security issue?
-1
votes
1answer
312 views

WP Super Cache versus W3 Total Cache [closed]

I recently moved to a dedicated server and I've been having some problems with W3 Total Cache, server crashing, eating up a lot of RAM, back end interface becoming slow.. Everything appeared to work ...
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 ...
1
vote
1answer
338 views

Using a wildcard with delete_transient()

I am using the Transients API to hold the output for a gallery plugin's shortcode I created. Due to the number of images used and different layouts needed, the transient name looks lik the following: ...
3
votes
1answer
198 views

Can someone explain Wordpress caching, and what's the best in my scenario?

I'm creating a website that has two basic user groups: Subscribers and Editors. Bot can create posts via a custom form using wp_insert_post(), but Editors are allowed to mark a post as private, ...
0
votes
1answer
519 views

Cache issues with images not showing up

Images are there, but they don't always show up. Could this be a cache problem? Or Timbthumb? Here is an example: http://designportugal.net/servicos/design/ And another: ...
-1
votes
1answer
869 views

How to specify expiration of cacheable resources? [closed]

I'm trying to speed up a wordpress site -- this site: http://richardclunan.net I'm following the observations here: http://gtmetrix.com/reports/richardclunan.net/9ps7Zc0j The first item says: "The ...
1
vote
3answers
572 views

server load. $_SERVER['REMOTE_ADDR'] and $_SERVER['HTTP_HOST'] [closed]

while writing new code and testing it, I incorporate it into my site by testing for the remote IP address as follows; i.e., I'm the only one who will see the new code: in /functions.php: // to hide ...
0
votes
1answer
186 views

How do I serve fully cached full HTML on cloudfront

I am using cloud front but want it to serve not just images and CSS but full static HTML pages that are cached locally. I am using wp super cache ... I assume it is caching the full HTML for posts ...
0
votes
1answer
101 views

Repeated nav bar queries failing to be cached

Every time a page view occurs, wordpress is sending a complex non-indexed query below. The exact same query is sent over and over and it seems that it is being passed through some "caching" code. But ...
0
votes
1answer
4k views

posts_per_page doesnt work

Here is the my custom query ; <?php $Poz = new WP_Query(array( 'posts_per_page' => 3, 'orderby' => 'date', ...
0
votes
2answers
62 views

Is it duplicated if I cache an object that uses data from postmeta?

I have an object that saves its data in postmeta. When there is a post_id, the object class will query data by using get_post_cutom(); After get data, it starts to do its jobs, the end result is a ...
1
vote
1answer
131 views

Can WordPress Plugin Directory Cache Delay the Upload of Images?

I've updated my plugin and I can see the updated text on the plugin page but I don't see any of the screenshots or header image. Is it possible that the cache will move the image files over later? Or ...
2
votes
6answers
926 views

WP script versioning breaks cross-site caching?

I am loading JQuery from the google CDN using the following code: wp_deregister_script('jquery'); wp_register_script( 'jquery', // handle - WP uses this name to refer to script ...
1
vote
3answers
1k views

Is the W3 Total Cache plugin a good choice for WordPress MultiSite? [closed]

I heard that many people had issues with W3 Total Cache on a WordPress MultiSite install. And then I see this on the plugin page: Compatible up to: 3.2.1 Last Updated: 2011-8-26 Seeing that ...
0
votes
1answer
373 views

Where does WordPress default SimplePie save cache data?

Where does WordPress default SimplePie save cache data? I could only find relevant info about cache durations but not the location. SimplePie has a method called set_cache_location() but I cannot find ...
0
votes
1answer
89 views

Problem with caching, W3TC [closed]

Am using W3TC from a long time but from past few weeks am stuck, as I can't see my edits working. It was all fine in past but from a week my edits in style.css reflects back in like an hour after. ...
0
votes
1answer
2k views

Bluehost WebHost and performance problems with W3TC [closed]

I'm currently arguing with Bluehost over slow server times and they pointed to a report at gtmetrix.com in which I found inefficient CSS selectors. There were 55 very inefficient CSS selectors from ...
0
votes
1answer
1k views

Any idea why Google not caching my site? [closed]

My site www.books-for-children.com (developed in Wordpress) has been live for about two months and still has not been cached by Google, which seems highly unusual. Any ideas why? Thank you.
11
votes
2answers
3k views

Best way to show Dynamic Content on a Cached Wordpress Site?

I really want to use one of the Cache plugins so that I can serve up more Static pages on my WordPress theme/site. This is obviously the best performance upgrade you can do for a WordPress ...
3
votes
1answer
2k views

Varnish + W3 Total Page Cache [closed]

I currently have varnish setup on my server. I'm also using the W3 Total Cache plugin to speed up the site through a CDN. Question: Is there any point in using varnish if the pages are being cached ...
2
votes
2answers
150 views

Plugin a specific cache functionality?

I have written a plugin that puts a (google) favicon in front of each link in my blog. Really simple. Just uses a simple preg_replace_callback on hrefs: $changed_html_reference = ...
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 ...