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
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
2answers
90 views

How effective are cacheing plugins for dynamic pages?

The majority of pages of one of my sites can only be accessed by registered users. While these pages do share some common, static content (headers, etc) most of the information on the page is ...
0
votes
2answers
229 views

Transient api Caches confused

This code works for page 1 <?php $paged1 = (get_query_var('paged')) ? get_query_var('paged') : 1; $recent1 = get_transient( 'recent1' ); if ...
0
votes
1answer
213 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')) ? ...
2
votes
1answer
164 views

How does the default recent posts widget work with cache?

I am trying to build a widget based on the default wordpress recent posts widget. In wp-includes/default-widget.php , I noticed in class WP_Widget_Recent_Posts in function widget(), the recent posts ...
9
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 ...
0
votes
1answer
198 views

Shortcode Strategy

I'm looking to insert data from another database into my posts, and thought of using shortcodes. An example post: [imdb id="123" name] was born [imdb id="123" birthday] in [imdb id="123" ...
0
votes
1answer
71 views

Cache plugin for medium traffic news blog

I have a middle-low traffic blog. Server is lite speed based. And ping values 20-25 MS for my Country ( this blog not global,just for my Country ) I want to Install a light cache plugin... Which ...
1
vote
0answers
346 views

WP-Super-Cache - generate cache programmatically [closed]

I wonder if there is possibility to generate WP-Super-Cache programmatically after the cache is being purged ( after I have published a new post ). I thought of writing some kind of crawler that will ...
1
vote
2answers
537 views

PHP Code stuck in Cache [Memcached] [closed]

Been having a bit of a problem with my site regarding our caching method and my php code not refreshing or flushing. To start, my site is on a dedicated Nginx webserver. I used W3 Total Cache for ...
1
vote
1answer
126 views

Where should a plugin or widget cache its results?

Where should a plugin cache its re-usable results? I have read the code of several well-used Wordpress plugins, and it seems that the answer is not consistent. I have written several plugins myself, ...
0
votes
1answer
65 views

Client cant see the Updated dynamic content

I have came across an issue... whenever I upload new content to the site.. and i send the link to the client.. He can not view the changes instead what he see is the previously updated content. Looks ...
1
vote
1answer
317 views

Optimizing Jetpack for Wordpress [closed]

Yslow reports following issues with Jetpack: 1) Compress http://stats.wordpress.com/e-201219.js using gzip 2) Configure etags for http://stats.wordpress.com/g.gif?... Modified the format so that it ...
1
vote
1answer
129 views

Get the timout value of a saved transient?

Does anyone know if there is a Wordpress function to get the timeout value of a saved transient? I am using a transient with a 5 minute timeout to cache data from a web API call locally. Between ...
2
votes
3answers
2k views

Settings to get the most out of W3 Total Cache

I'm running a dedicated server which hosts one website - our WordPress install. Currently we're getting around 400,000 pageviews per month and that will likely rise quickly over the coming month - ...
1
vote
2answers
312 views

How many SQL queries WP Super Cache make to serve cached page?

WP Super Cache plugin generate page and save html of this page to static file and if needed this file is served instead of dynamically generate this page each time. Does WP Super Cache plugin make ...
3
votes
2answers
304 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
886 views

Scheduling doesn't work due to caching?

I'm using W3 Total Cache and Nginx with Varnish, and I'm very happy with the speed. However, I noticed that when I schedule a post, the post doesn't get automatically posted when I'm a visitor. When ...
2
votes
2answers
2k views

How wp_cache is supposed to work, and does it help with performance?

I was coding my recent comments widget, and using $wpdb->get_results and I wanted t use cache so it doesn't perform the query every time the page loads, so I used: $comments = ...
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 ...
0
votes
1answer
681 views

APC fragmention woes on Apache AWS EC2 Small instance with WordPress and W3TC [closed]

Asked this question at serverfault, and got confirmation that W3TC is most likely causing the issue, but several of my more W3TC/Wordpress specific issues weren't able to be answered. Reposting ...
0
votes
1answer
84 views

W3 Total Cache Minification: way to revert back? [closed]

W3 Total Cache Minification: after adding all my js files in the minification settings, what if something screws up? Is is possible to revert back to the original un-minified files? Thanks.
0
votes
1answer
2k views

How to Automatically import external images to Upload

Hi to all I would like to have a simple plugin, hook, anything that Automatically caches external images. Simple explanation: Actually I'm using this plugin: ...
0
votes
1answer
194 views

what is the cache directory for in my theme? (version control it?)

I was wondering what processes exactly use the cache directory inside my theme's directory. More specifically, I am wondering if I should add any of those files to my git repo.
4
votes
4answers
610 views

How can I improve site/page performance of WordPress websites?

To improve site/page performance, I added the following code to accept headers: <php flush(); ?> It works, but perhaps not as well as it could. Any advice? I also tried to leverage browser ...
1
vote
2answers
396 views

WordPress Caching - Transients API or “update_user_meta ” Cronjob?

I'm trying to set user meta based on queries. Basically, things like IF the query returns true, set this or if not, set this (or don't set it, if it is true). This works great but the problem is I ...
3
votes
2answers
231 views

Are there any server requirements for WordPress transients to work properly?

Background Info I sell WordPress themes where I include a Twitter widget. In the widget I use a WordPress transient that refreshes every 3 hours to cache the Tweets. I've got thousands of people ...
15
votes
7answers
19k views

How do you avoid caching during development?

Is there a simple way do prevent all caching when testing the appearance of changes to the site? I use WP Super Cache. I can delete its cache using the option provided, delete the cache for my ...
0
votes
2answers
1k views

Why does my site flash white every time it changes page? [closed]

Any ideas? I've never had this problem before. Here is the site.
1
vote
1answer
618 views

Headway body classes and W3TC page cache conflict [closed]

I'm currently working on a website using WordPress, Headway, Modernizr and W3 Total Cache. The problem I'm having is that W3TC is caching the body tag, which means that this isn't being updated ...
0
votes
1answer
3k views

Warning! PHP safe mode enabled!

I just installed WP Super Cache plugin and enabled all settings which were suggested by this plugin. After doing it I am seeing a warning. Warning! PHP safe mode enabled! What is this? What should I ...
1
vote
3answers
432 views

Transients vs CRON +Custom Fields: Caching Data Per Post

Wanted some opinions on a solution I'm trying to come up with: I have a fan/enthusiast plugin I'm working on for fans of TV shows. One of the custom post types attached to the plugin is a release ...
1
vote
5answers
5k views

Speed up Wordpress

I don't have the feeling that my blog is particularly slow, but that's because I haven't really started out yet. I'm very worried that it will get slow soon, especially because I will have blog posts ...
1
vote
1answer
177 views

Reasonable Size Limit to options entry

I have a set of ~4700 records that I need to have locally searchable for my plugin via an auto-complete (it's the Google Product Search categories). Would it be okay to store this data in the options ...
4
votes
2answers
2k 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 ...
0
votes
1answer
229 views

w3 total cache - Object Caching 2165/2469 objects? [closed]

Site is: http://kremim.com WordPress 3.2.1 MS, buddypress,bbpress installed. wp_options have 333 records. But Object Caching 2165/2469 objects? Why 2000+ ? Debug: ...
1
vote
3answers
2k views

w3 Total Cache not Caching - Requested URI is rejected [closed]

For some reason Total Cache does seem to be caching my pages. Each time I got to a page, when I view source, the Total Cache comment shows that it regenerated the page for this request. What worse, ...
0
votes
1answer
137 views

W3 Total Cache Help - How to update DNS Zone for a static domain [closed]

I am running this site: www.thetechnofreaks.com on Wordpress. Recently I came through a plugin that claims to increase the page load efficiency of my site. the plugin details can be found here: ...
0
votes
1answer
672 views

Combile External JS files using W3 Total Cache [closed]

Is there any option or is it recommended to combine external JS files using W3 Total Cache plugin for wordpress. When I say exxternal JS files, I mean that I want to combine .JS files that on other ...
5
votes
1answer
172 views

Will I see a performance hit if I use native API calls like get_the_title() instead of $post->post_title?

Let's say I've already got the $post object through some earlier process of looping through an array of IDs and using get_post() on each one of them, storing the resulting object in some array. Later ...
3
votes
6answers
484 views

Does a low traffic Wordpress site need a caching plugin and a CDN

I notice that many Wordpress tips websites recommend using wp totalchache and similar plugins. I tried it on one site that gets a relatively small amount of traffic, and hardly notice a difference in ...
3
votes
1answer
193 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, ...
1
vote
1answer
208 views

Mixing Tweets with Posts

I have a client who wants their blog to display both Posts and Tweets in chronological order. These should be mixed into the same feed. I didn't find any plugins that accomplished this, although there ...
0
votes
1answer
65 views

Actions to use when flushing cache (when posts are added / deleted / modified)

I'm looking for a list of action tags that are relevant when you: create a post, with any method, so basically using wp_insert_post modify a post, like changing status, title, content, terms, meta, ...
0
votes
1answer
558 views

W3 Total Cache and IIS7 not doing much [closed]

I have my WordPress blog up and running on an IIS7 server and I installed W3 Total Cache. At some point prior to WordPress 3.2 upgrade, everything seemed to be working, but since then (and quite ...
-1
votes
2answers
294 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?
7
votes
2answers
956 views

Pros and Cons for high “expire time” on wp-super-cache or w3-total-cache? [closed]

In the wp-super-cache page, there is the following sentence, which I do not understand:: Checking for and deleting expired files is expensive, but it’s expensive leaving them there too. On a ...
3
votes
3answers
414 views

Stylesheet switching and caching

I'm implementing a site that allows users to switch stylesheets (to show a high contrast version for people with vision impairments). The switcher essentially just changes the <link>ref to ...
0
votes
2answers
64 views

W3TotalCache and Javascript — what should go where, when?

I'm just starting to use W3TotalCache and am a little perplexed by how I should load the gobs of javascript and CSS rendering on the site in the question. Adding some of the pre-minified jQuery ...
1
vote
1answer
394 views

Transients API and multisite

we're using the Atlas HTML sitemap plugin, which caches the sitemap using the transients API with a call like: set_transient( 'dmac_html_sitemap', $output, 60*60*24*7 ); Now, we also have a ...