Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
27 views

Cache Get_posts

I have a query (see below) that gives a list of 10 news items ordered by the meta value "event_date" and filtered so that only posts earlier than today are displayed. This query is taking two seconds ...
-1
votes
1answer
14 views

Caching & Outputting RSS Data

I need to pull in 2 different RSS feeds from an external site into our site. I have two questions about how to best do this: I want to cache the feed so that it doesn't get pulled in every time ...
1
vote
2answers
47 views

Transient not working for custom loops

I'm working at a WordPress theme. Since I need to display featured posts, related posts, some widgets with recent posts and so on, I need to use multiple custom loops. Because of this, the number of ...
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
0answers
38 views

Browsers still show old versions of CSS files--caching issues somewhere?

My browsers are still using old versions of my CSS files, even though I've tried everything I can to disable caching. Here's what I've tried so far: reloading the page with Ctrl+Shift+R, Ctrl+F5, ...
0
votes
1answer
29 views

Changes to WordPress database using phpMyAdmin not reflected on blog

I am updating my database using the phpMyAdmin UI and the changes are not reflected on the WordPress blog. The reason for doing this is when some changes were made recently to the blog the site hanged ...
0
votes
1answer
51 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 ...
4
votes
1answer
114 views

Storing posts social counters by using transient api

I would like to know if it's a good practice to use transient api to cache social counters for every post. Loading post pages get quite slow while processing and getting all social APIs.
1
vote
1answer
40 views

How to archive a wordpress site (make it read only)

Is it possible to make a WordPress deployment read-only? For a website that won't be updated, I'd like to make it read-only/static, so the archive is there but nobody can post, so I don't have to deal ...
1
vote
0answers
184 views

Wordpress PHP 5.5 and OPcache

I have tried to run on my Apache 2.4 and PHP 5.5 OPcache. My admins turned it on for me but the site was not faster - it was slower. Is there a how-to somewhere or a code snipet needed in WordPress ...
0
votes
0answers
20 views

Add version parameter to all scripts/stylesheets

I want to add a custom value as parameter to every script/stylesheet that is loaded, this to cache and get rid of the caching whenever I want to. Is there an easy way to achieve this?
-1
votes
1answer
117 views

How to cache wp_query with pagination using transients?

I have seen examples where there is a fix number of posts to be queried; however, I cant find an example when using pagination. I am trying to figure out how to use transients to cache a WP_Query ...
0
votes
0answers
44 views

Sitewide Tags and Transient API

I'm running a couple of multisite networks and am using a useful plugin called WordPress MU Sitewide Tags Pages. I like the plugin very much but I am concerned about performance, especially as my ...
1
vote
0answers
41 views

Strange caching behaviour [closed]

I changed options in my theme (style settings, to keep it simple just say switched color from blue to red) and it seems nothing happened. After some trial and error I figured out that when I am logged ...
0
votes
1answer
85 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
0answers
60 views

White screen of death WP multisite memcache

We have a WordPress multisite running 3 blogs and have had http://pecl.php.net/package/memcached installed by our hosts. We have tried the Memcache Object Cache plugin, we'll refer to it as MOC from ...
1
vote
0answers
29 views

wp_options flooded with transient API entires

I make heavy use of the WordPress Transient API. Suddenly a few days ago my wp_options table began being flooded with transient entries (2GB worth on average). Normally WordPress only writes them to ...
0
votes
1answer
40 views

How to enable Zend Optimiser+ with Batcache

I am using Batcache with APC Object Cache Backend so far. A lot of posts on internet claiming that using Zend Optimizer instead of APC would reduce CPU and memory usage. I could enable Zend ...
0
votes
1answer
459 views

How to handle is_user_logged_in() with w3 total cache [closed]

I have a site that allows user registration and login but not via the standard wp-login.php etc - it's all done within the theme and a bit of s2member as well. I've been encountering problems where, ...
0
votes
0answers
202 views

How to handle cookies from a WordPress plugin on a cached page?

I'm attempting to write a plugin that can work with cookies on a WordPress site that uses page caching (why?). I've been following this tutorial on Esanctuary.net. I'm trying to write to the ...
0
votes
2answers
151 views

Wordpress cache a menu with Transient API

I want to plain to cache a page menu, that takes about 50 queries on page load. At the moment I have cache setting code with Transient API $housemenu = get_transient('housemenu_key'); if ...
0
votes
0answers
133 views

can't see live version of style.css - is it web server caching?

My website is loading style.css?ver=1.0 style.css?ver=1.0 had different content to style.css, even after a hard refresh of style.css?ver=1.0 Deleting the browser cache didn't fix the problem. ...
1
vote
0answers
95 views

.htaccess browser caching and user login [closed]

I have a site that involves user logins for certain content. I am leveraging browser caching in the .htaccess file. When a user logs in, they are redirected to a profile page. The problem I'm having ...
0
votes
1answer
58 views

Apache extensions for WordPress' working without troubles

I have a new web server at the Hetzner EX60. With this new site I have many problems. First of all I need to say that I have problems with default theme and without any plugins. I tried to resolve ...
1
vote
2answers
71 views

Transient API and caching Plugins

Hello wordpress NINJAS.... I am crazy about transient api and I have implemented it in my theme.My question is If I use transient api is it required caching plugin? (I hate plugins!!!) If I use ...
2
votes
1answer
287 views

Transient caching for wp query

I read about transient in the codex and some questions and answers here. So i'm developing a web app based on wp. It works now, but i want to optimize it. Users manage content regulary, so crud ...
0
votes
2answers
338 views

How to optimize multiple WP_Query() calls on one page?

The current site I'm building has a homepage that is going to have around 10 instances of WP_Query(). Some of them are going to pull a series of posts, while others are targeted at one single post ...
1
vote
1answer
44 views

How to implement filesystem cache in Wordpress

I'm currently using the Transients API to cache some product details from Amazon. Now I'm looking into adding a file system cache. But I have no idea how to implement it. The only thing that I can ...
2
votes
1answer
43 views

Is priming a Transient Cache possible?

I'm currently using Wordpress Transient Caching when querying images I've uploaded and tagged. Using Transient Caching has really sped up these queries once they are cached, but unfortunately, once ...
1
vote
1answer
43 views

What is the best way to count and display the number of posts?

I have a section in my site where I display the 10 most popular posts. Now, I want to display a number, from 1 to 10, besides each post. Like this: Top 10 posts post a post b post c and so on... ...
3
votes
2answers
333 views

Best practices for using the transients API

I've recently come across the Transients API in Wordpress in hopes of improving the performance of the plugin that I'm trying to write. Basically the plugin is storing product details from the amazon ...
2
votes
1answer
635 views

APC object caching in combination Batcache/memcached page caching?

In the post WordPress Caching Comparisons Part 2 Matt Martz compares different caching setups, among them APC object caching together with Batcache page caching. In his post this combination seems to ...
3
votes
3answers
253 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 ...
2
votes
1answer
1k views

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

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

W3 Total Cache benefits without using plugin? [closed]

W3 Total Cache isn't compatible with WPTouch. Is there a way to get the benefits of W3 Total Cache without using the plugin?
0
votes
1answer
108 views

customize wordpress database error page

UPDATE Initially I suspected this was related to the Wordpress framework I'm using (Genesis) or to my child theme functionality, but turns out that's not the case as I was able to get this to work in ...
0
votes
1answer
75 views

Caching for logged in user and Ajax update

I would want to serve the homepage with a cached version of the page for both logged in and new users. And then to use Ajax to update the content appropriately, for example if the user had already ...
0
votes
1answer
195 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
578 views

Cloudflare's Rocket Loader + Wordpress -> Ignore scripts?

I'm trying to make Cloudflare's Rocket Loader work on my WP site. Everything works fine except for the WP Visual Editor. I followed the advice here but it doesn't work: How do I add custom attributes ...
2
votes
1answer
187 views

Should the caching of WordPress menus be specific to each page?

Introduction In optimizing large WordPress Websites for performance I always look at caching certain parts of the Website, mostly (of course) those that require a lot of Queries/calculation. For the ...
0
votes
4answers
5k views

WooCommerce & Caching [closed]

I have a div that displays the total amount of products the customer has in their cart, however this isn't updating as I have caching on (W3 Total Cache). Is there a workaround for this? Cheers, ...
0
votes
1answer
59 views

Generate aggregated feed from member blogs

I currently manage a multisite installation with 7 member blogs. We need to produce a combined RSS feed of news from all 7. Currently we use Feedwordpress to syndicate 6 blogs into blog number 7. This ...
1
vote
1answer
306 views

WP Super Cache Bug with Ubermenu

Im having a serious issue with WP Super cache and UberMenu. For some reason, every now and again, I will view my site, and it will have the default styling applied to ubermenu and then this unstyled ...
-1
votes
3answers
3k views

nginx + wordpress: Best practices for configuring it to be secure, reliable, and fast? [closed]

BACKGROUND: Running everything up on Linode. Having followed the "Getting Started," "Securing Your Server," "LEMP Server on Ubuntu 12.04," and the "Manage Web Content with WordPress" guides I was ...
-1
votes
1answer
209 views

WP 3.5 caching problem

Ok so ever since I upgraded some of my sites to WP 3.5 recently, it looks like caching of specifically images and css files are screwed. To explain: If I try to update an image, it keeps on showing ...
4
votes
2answers
2k views

W3 Leverage browser caching not working for google pagespeed [closed]

I have a site at http://iqonline.eu which uses w3 total cache for all its caching and minifying purposes and everything is working nicely as per normal. However when checking the site on Google page ...
2
votes
3answers
833 views

Which WordPress pages/URLs should never be cached?

I have a multisite blog that will soon have an Akamai caching service sitting in front of it, serving cached content to visitors (15 minute TTL). I want to configure Akamai to exclude any important ...
5
votes
3answers
3k views

How does object caching work?

I'm looking for a definitive answer here. When object caching is enabled, where do options and transients end up living? By default, both are stored in the database. But I've heard some references ...
5
votes
2answers
716 views

Cache remote (HTTP) request with Transients API

I am trying to use get_transient() method in my word-press ,have read the document and seems like i am doing what has been described in the docs. I need to show Weather in my Website and i am using ...
8
votes
3answers
476 views

Is there any danger in deleting all transients?

I have a big site for a client, and as it is a really customized wordpress installation with lots of extensions on functionality, I can't use the caching plugins. To improve the performance, I built ...