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

0
votes
1answer
88 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
2k 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
61 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
118 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
853 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 ...
0
votes
3answers
792 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
284 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
73 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
1k views

Bluehost WebHost and performance problems with W3TC

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 ...
-1
votes
1answer
762 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.
8
votes
2answers
2k 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
1k views

Varnish + W3 Total Page Cache

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
143 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
32 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
86 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
1answer
68 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 ...
0
votes
2answers
207 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 ...
2
votes
1answer
139 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 ...
1
vote
1answer
517 views

Headway body classes and W3TC page cache conflict

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
169 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" ...
1
vote
0answers
268 views

WP-Super-Cache - generate cache programmatically

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
427 views

PHP Code stuck in Cache [Memcached]

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
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, ...
1
vote
1answer
120 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, ...
1
vote
2answers
897 views

WP Super Cache separate cache for mobile

I'm using the WP Super Cache plugin and inside my theme I have code that executes differently if the site is viewed on a mobile device (iOS, Android) than a desktop browser. How do make WP Super ...
0
votes
1answer
61 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 ...
0
votes
3answers
756 views

What hooks to hook onto for automatic cache clearing

I have a WP-site with not that many writes, but quite a few reads and a few specific hotspots in the templates that I'd like to cache pretty aggressively with my own PHP-caching mechanism. I could ...
2
votes
2answers
2k views

Clear cache when a post is submitted

I have a question. How can I clear the cache when a post is submitted ? Actually, I need to clear two speficied pages which display these articles ? By default, I have noticed the index.php is ...
1
vote
1answer
255 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
110 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
2answers
261 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 ...
7
votes
2answers
715 views

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

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 ...
0
votes
1answer
615 views

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

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
658 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
1k 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
1k 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
146 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.
3
votes
4answers
521 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
347 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
1answer
1k views

Writing a cache manifest file for a WordPress blog (app cache, offline web applications)

I'm wondering if anyone has implemented Offline Web Applications from HTML5 in a WordPress blog? When you write a manifest file, all files must be accounted for, thought you can specify the wildcard ...
0
votes
3answers
401 views

Spam injected in w3 total cache page cache

I'm trying to fix a site which has been injected with external spam. After inspection I found out that the external content (so far just html advertising different kinds of drugs, no scripts) was in ...
0
votes
1answer
2k 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
337 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
2answers
592 views

How to set the cache for the built-in SimplePie feed parser?

I'm using the built-in SimplePie, AKA fetch_feed(), to retrieve a feed, and I want to be able to adjust the cache time from an admin menu. SimplePie itself is well documented, but not so much the ...
1
vote
1answer
143 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 ...
0
votes
1answer
223 views

w3 total cache - Object Caching 2165/2469 objects?

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: ...
0
votes
1answer
127 views

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

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
575 views

Combile External JS files using W3 Total Cache

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 ...
0
votes
1answer
417 views

W3 Total Cache and IIS7 not doing much

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 ...
5
votes
1answer
154 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 ...