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
0answers
94 views

403 forbidden issue in wordpress

i have corner advertisement plugin in my wordpress website, this plugin used to convert given image into swf file and display it in any one of corner with peel effect. this plugin only not working in ...
0
votes
0answers
46 views

How to cache WordPress posts without using plugins

In a normal PHP page, I can use the following code to save the current PHP page: ob_start(); // write content echo '<h1>Hello world to cache</h1>'; $content = ob_get_contents(); ...
0
votes
2answers
58 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
116 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
0answers
96 views

Does w3 total cache cache widgets?

I wish to know whether using w3 total cache also caches widgets on the sidebar? I have a recent activity widget on the sidebar that displays live activity on the site like user joining, sharing etc. ...
0
votes
1answer
116 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
0answers
117 views

W3 Total Cache Minify Problem - Disabled Minify, but Problem Persists

I disabled Minify months ago because the problem would not get fixed, version after version of W3TC. About month ago, I re-enabled it and the problem persisted. So i disabled minify, but now I am ...
1
vote
0answers
57 views

Transients and WP Super Cache?

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
89 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
0answers
24 views

Image is accessed twice with and without timestamp?

I am using w3total cache(0.9.2.11) and each image is accessed twice with and without timestamp ie yellow-folder-450-253.jpg?timestamp=1380777548041 and yellow-folder-450-253.jpg How can I remove the ...
0
votes
2answers
385 views

Chrome won't refresh

Have this really strange issue that just cropped up - I schedule my posts for 6am every day and for some reason when I go to the site using Chrome it won't show my latest posts. Self hosted with ...
0
votes
0answers
13 views

Image not appearing when I update in a sidebar widget

Is there a cache or something to empty in wordpress when I make updates? On this site: http://richardclunan.com/ in the sidebar (or down the bottom if you're on a small screen) -- there's a widget ...
0
votes
1answer
31 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
67 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
118 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
827 views

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

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
270 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
0answers
88 views

Comment Submission Timeout - Varnish / Cloudflare

Curious to see if anyone has encountered this before - when a comment is submitted by a non-admin user on a WordPress 3.6 site (standard comments setup, no plugins), the comment is submitted (hits the ...
-1
votes
2answers
7k 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
59 views

What's causing 'headers already sent' in minified javascript file with WP Total Cache 3

I'm adding WP Total Cache to my site but whenever I enable minification I get the following message in the minified javasctipt file: <br /> <b>Warning</b>: Cannot modify header ...
0
votes
0answers
185 views

php dynamic function when using wp super cache

I'd like to start using wp-super-cache on my website to improve page load times, but I would also like to keep at least one of my dynamic functions working. Basically when ever a user visits a single ...
0
votes
0answers
55 views

Best practice regarding reducing queries, optimize page load-time and reuse common data

I’m currently working on a presentation site for a company. The site itself is not very complex in its code but they have a high demand for being able to customize a lot of things themselves without ...
0
votes
0answers
19 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!
3
votes
3answers
284 views

Trouble with Transient API when W3TC is activated

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
0answers
69 views

Cache all products Woocommerce

I have installed a cache program to cache my pages. Ofcource the pages has to visited before it can be cached. Is it possible to run all the product pages at night and how? I hope someone has a idea! ...
0
votes
0answers
154 views

how to make fragment cache using xcache opcode and w3 total cache plugin?

i have a Wordpress blog with xcache opcode and w3 total cache plugin installed ... everything is working well Except i cannot make fragment cache when my page cache method is xcache opcode, while i ...
0
votes
1answer
151 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
48 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 ...
0
votes
2answers
237 views

Which file i must edit to define a constant of WP Super Cache?

This WP Super Cache plugin doesn't let my shopcart (using shopp plugin) update when someone add or remove items. There is someone say that i must define a constant define('DONOTCACHEPAGE',1); to ...
1
vote
1answer
206 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
143 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
121 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
241 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
1answer
54 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
113 views

Static HTML page caching for large website

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

Exclude certain block from caching using Fragment Caching - doesn't work

I have a one form, and I'm inserting it on page footer from a function file. I need to display a random form to each visitors and thus have a function developed to support this. However, with caching ...
1
vote
1answer
526 views

Empty Super Cache programmatically (with ACF action)

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 ...
0
votes
2answers
58 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
35 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
176 views

Jetpack stats and caching strategy

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 ...
2
votes
1answer
353 views

Should I enable FastCGI on WordPress?

I am looking at my server settings and these are as follows: WebDav : active FastCGI : inactive SSL support : active Perl as Apache module : CGI-Programm PHP module : ...
4
votes
1answer
525 views

AJAX vs Fragment Caching for W3 Total Cache

I'm running a WP site with WooCommerce and I want to do some caching. I'm going to exclude the pages such as the cart/checkout for obvious reasons however there are a couple of the things on the site ...
0
votes
1answer
105 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
1answer
58 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 ...
1
vote
2answers
69 views

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

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

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

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

Limit cache size from W3 Total Cache

Is it possible to define a limit for how much space W3 Total Cache is allowed to use?
0
votes
1answer
272 views

Caching-Plugins and Ajax-Page-Parts

I'd love to use »W3 Total Cache« for my Wordpress page. Caching the full page is really fasten up the site. But there is a lot of current community activity and most pages including some "latest ...
4
votes
1answer
2k views

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

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 ...
1
vote
2answers
117 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) ...