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
106 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 ...
1
vote
1answer
682 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
326 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
617 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
0answers
206 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
33 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 ...
1
vote
0answers
297 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
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
723 views

Getting soft 404 errors (200 status) when caching plugins are enabled

I have a blog running the latest stable version of WordPress on a dedicated virtual server with the following situation. (Replace [caching plugin] with W3 Total Cache, Hyper Cache, or Quick Cache, as ...
1
vote
0answers
142 views

My WordPress site always displays a cached version of its homepage

I have a WordPress site that runs fine, but there's a strange behaviour: one a reader loads the page, the site shows a "cached" version of the site, with the same news and comment numbers that the ...
1
vote
3answers
625 views

My WordPress site always displays a cached version of its homepage

First of all, sorry if I'm making a mistake. I already asked this on the ServerFault forum, but got no answers at the moment and I thought it would be a good idea to ask the question here, considering ...
1
vote
1answer
269 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
3answers
864 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
2answers
63 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. ...
0
votes
1answer
2k views

W3 Total Cache can't create files [closed]

I want to use W3 Total Cache plugin. Installed plugin succesfully but i'm trying to enable Page Caching and i'm getting this error : Page caching is not available: advanced-cache.php is not ...
0
votes
2answers
174 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
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 ...
0
votes
2answers
88 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
222 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
81 views

How can I permanently cache or “archive” a WP blog without needing future maintenance

I have a client who has an annual complete makeover of their website design and content, but they still want their old sites available to view (each with that year's respective design/CSS). Once ...
0
votes
2answers
37 views

Can a Wordpress blog be entirely hosted on a CDN if cached?

I am developing a Wordpress blog for a client who believes that more than 1m pageviews will be served every month. Unfortunately his server resources are very limited so I was thinking of hosting the ...
0
votes
1answer
33 views

Take control of WordPress before functions.php

I'm developing theme and I want to make page cache of static pages in my WordPress theme (and basically I know how to implement it) The problem is that when making theme - the first time when I "get ...
0
votes
1answer
897 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
40 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 ...
0
votes
1answer
31 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
1answer
1k 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 ...
0
votes
1answer
201 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 ...
0
votes
1answer
316 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 ...
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
3answers
1k 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 ...
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.
0
votes
1answer
621 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 ...
0
votes
1answer
161 views

Cache DB queries result

On my new site i am displaying most of the images instead of text. I show images for recently written, recently viewed, mostly viewed posts etc. I found that in 40% of cases posts are same. so i need ...
0
votes
3answers
433 views

Spam injected in w3 total cache page cache [closed]

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

Prevent Wordpress from sending Cache-control http header

My site sits on a server that uses Varnish as a (powerful) caching engine. Unfortunately, it seems wordpress is busting the Varnish cache by sending a cache-control http header. If I curl -I ...
0
votes
1answer
53 views

Make a page (url) not cacheable [closed]

How to setup a wordpress-page in wordpress as non-cacheable in wordpress? I have made up a form manually for a page(wordpress) and I want to make that page not cacheable by browsers. How can it be ...
0
votes
1answer
100 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 ...
0
votes
1answer
62 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 ...
0
votes
1answer
196 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 ...
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 ...
0
votes
1answer
124 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
177 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
2answers
151 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
1answer
208 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 ...
0
votes
1answer
114 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 ...
0
votes
2answers
660 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
396 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: ...
0
votes
1answer
148 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
96 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
2answers
1k views

wp-super-cache exclude file from caching

Is there any mean to exclude a *.php file to WP Super Cache? I've in my single.php page an include news.php, the file news.php contains ten links to my last articles. So I want to cache single.php ...