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

Website displays old version of page

So I'm working on a website for a company and everytime I edit a page/post I have to manually go in to the database and remove the old versions (which isn't something that I'd like to do since it's ...
1
vote
0answers
24 views

Run oembed separately outside the_content()

I have this structure for my content.php : <div class="featured"> <!--featured image here--> </div> <h1 class="entry-title">Post Title</h1> <div ...
0
votes
3answers
25 views

Fixed version number for cached stylesheets and javascript

Unless i use: wp_enqueue_style( 'dazzling-style', get_template_directory_uri() . '/css/main.css?ver=', array(), rand(10,99999), 'all' ); Then everytime I visit my site, be it local or live, I see ...
-1
votes
0answers
12 views

Total Cache Plugin + Plugin Assets

I am using the Wordpress Total Cache plugin for a site I just inherited. I setup a MaxCDN pull zone for the website, along with page, object and minify caching. I am able to get almost all the assets ...
0
votes
0answers
19 views

Turn off Plugin Manually

I have installed and active wp-super-cache plugin, and It cached an PHP syntax error. I solved the error but can't run my website again because the error.log is still displaying the same error. I ...
0
votes
1answer
20 views

Are caching addons still necessary? [on hold]

Are these things still necessary in 2015? I haven't used Wordpress in a long time. There are a lot of choices like super cache, total cache, and a lot more -- many seem to also have random posts about ...
0
votes
0answers
30 views

How could I exclude login modal from cache?

since I activated the W3 total cache I got a login problem, people write their credentials on login modal but after they press the sign in button, the page refresh but the user's name is not ...
0
votes
0answers
32 views

How to do Leverage browser caching for a specific file in wordpress?

I am trying to get my site passed in google speed test. My current speed is 74/100 For java script Leverage browser caching I've added this ExpiresByType text/x-javascript "access 1 month"1 to my ...
0
votes
1answer
63 views

APC vs APCu vs OPcache

I m a bit confused and i need ur personal opinion please what should i use ? APC , APCu or OPcache I m usinge : WHM VPS Apache 2.4 / PHP 5.5 / Fastcgi / Wordpress / Processeur 6 vCores / RAM 8 Gio ...
0
votes
1answer
28 views

User email not being changed (cached?) until next page load (frontend)

I'm working on my own account management from the frontend. So far everything is working pretty good. I do have 1 issue that I just can't seem to fix. When a user updates their account information, ...
0
votes
2answers
141 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 ...
-1
votes
1answer
271 views

W3 Total Cache: Load CSS asynchronously for better PageSpeed score? [closed]

I'm using W3 Total Cache to minify about 15 CSS files, and also to minify 20 JS files and load those asynchronously in the footer. Running my site through PageSpeed gives me the following message: ...
0
votes
0answers
61 views

W3 Total Cache problem with password protected pages

well w3 total cache plugins is really nice and make my speed of loading more fast but seems Total cache have problem with password protected pages and posts . when the password enter and page load ...
0
votes
1answer
23 views

pass-protected pages and posts not protected after enter them 1 time

i use wordpress 3.9.2 and i read a lot of article and Q about clear cookies but some of them is too old ( for wp 3.4 and wp-pass with different code) or not solve my problem i have some password ...
0
votes
0answers
50 views

Custom php Widget keeps disappearing from the front end

I've created a widget to show custom testimonials on the sidebar. It checks if the post has a custom field 'customer_review' then prints a it on the sidebar. Thing is, the testimonial keeps ...
5
votes
2answers
7k views

Versioning @import of parent theme's style.css

Context I built a child theme based on Twenty Thirteen which works quite well. After updating the parent theme to version 1.3, I noticed strange behavior with the styling which was caused by a cached ...
1
vote
1answer
49 views

How to prevent/delay MySQL connections when an object cache is used?

We are using an object cache backed by memcached, however I think that WordPress will still connect to MySQL on every page load, which shouldn't be needed if all queries can be handled by the object ...
-1
votes
1answer
16 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 ...
0
votes
1answer
42 views

Manually cache a special, non-WP-but-using-WP page (e.g. Ajax results) with W3TC

Under the active theme folder, I have a search-autocomplete.php file which uses various WP queries to create smart JSON results delivered via AJAX to a jQuery UI Autocomplete input field. It's not a ...
0
votes
0answers
145 views

tinyMCE.activeEditor = null WP editor loaded in 'Text' mode?

I have a plugin which saves data via AJAX, and realised that it wasn't sending out any request. I opened up the console to look further, and low and behold when trying to look at the object ...
0
votes
3answers
73 views

After moving a site to another domain, all images are lost

I moved from www.domain1.com to www.domain2.com Trouble is the image paths left looking at www.domain1.com/wp-content/uploads... So when www.domain1.com went down all my images are now lost. I ...
0
votes
2answers
47 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 ...
4
votes
1answer
487 views

Nginx + WordPress + HHVM: Why isn't Batcache working? Would Varnish help even more?

I've heard great things about HHVM, so I've setup a copy of WordPress blog (on another domain) with Nginx (with the Pagespeed module) and HHVM. Right now the benefits are obvious: on the same config, ...
0
votes
0answers
69 views

Preventing Cache for Text Content but not for CSS files and Images

I am front-end developer and my knowledge is limited for server-side. Excuse me if I am mistaken on terminology. I have Wordpress blog that I write blog posts about javascript. I update the same post ...
0
votes
1answer
37 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
3answers
576 views

After Migration, Warning: include_once() errors on all pages

We migrated our site to a new host and changed the domain name, and now all pages are displaying errors: Warning: include_once(includes/class-wc-download-handler.php) [function.include-once]: ...
0
votes
1answer
39 views

Server Variables not recognized in certain posts

I've got a very strange issue that I've never seen in WordPress. I've just converted a big site over to a new responsive theme. The site has about 1,400 articles and there are ads on it. The way we ...
3
votes
1answer
299 views

How can I reduce the number of database query calls for this custom homepage?

I am working on the design of a blog with the below(just a sample) category hierarchy. PARENT | ...
0
votes
1answer
64 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
49 views

WordPress aggressively caching CSS

I’m absolutely fed up at this stage. I just activated a new theme on my WordPress site. I activated it at about 7pm GMT and since then I’ve been trying to change the style. I’ve updated the CSS (I’m ...
1
vote
0answers
244 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 ...
1
vote
0answers
103 views

Cache issues with redis and nginx

I have a problem with the rewrite rules in my nginx config file. I am running wordpress with nginx and redis to cache the site. I can get the redis to cache all pages not a problem, but as I am ...
0
votes
0answers
12 views

Updating WordPress or plugins causes site issues (due to API, I think)

I have a problem with all of the sites I host on my server. Whenever someone updates WordPress of plugins, I manually have to restart Apache to get things to work properly. Should the update process ...
0
votes
1answer
375 views

Set Session Time Limit for Password Protected Posts

I have made a series of posts and pages password protected on my website using the built-in Visibility setting. They all use the same password, so the user can view all of them after entering the ...
0
votes
0answers
94 views

Is MySQL query cache useful for WordPress?

Starting from MySQL 5.6, if you use InnoDB as the default engine, the query cache is now officially disabled. We've a quite moderate traffic WordPress site and experience a major downtime when we ...
0
votes
1answer
31 views

Serve content from centralized location

I'm looking for an easy/efficient way to manage & serve content from one master WP site to multiple drones (NOT multisite). On the master site i'll have custom post type "served_content". The ...
0
votes
0answers
35 views

Post not showing up sometimes on website

I have a weird problem. A particular post is not showing up on my website sometimes. So If I clear cache then it shows up. It is happening only to one particular post. I am not able to figure out what ...
0
votes
0answers
19 views

How to cancel a custom post type query based on existing cache file

Is there a proper way to greatly restrict the query (or remove it altogether) for a custom post type type-single.php file? Simply stated, for reasons of speed speed speed I've cached all relevant ...
-1
votes
1answer
81 views

Editing wp-includes/feed.php

I was not understanding why my RSS didn't update, after much wailing and gnashing of teeth I believe I have fixed this to a degree by editing wp-includes/feed.php. I changed this: ...
-1
votes
1answer
83 views

Browser Cache causes 'Orderby=rand' to return the same posts

I have a code that redirects users to a random post whenever they visit the homepage: if (have_posts()) { query_posts('orderby=rand'); while (have_posts()) { the_post(); ...
0
votes
0answers
30 views

Should I use transients for these API call results?

I am consuming an API that gives me a list of people and their profiles. My initial idea was working perfectly fine when it's just the list of people because I was just saving the ids and names using ...
0
votes
0answers
81 views

Why does my css file keep caching on wp-multisite?

I am quite a newbie in web design and I hope someone can solve this problem for me, I have also tried wordpress forum but can't find the answer. I have a multisite (sub domain) with a strange caching ...
0
votes
1answer
891 views

Failing to open advanced-cache.php which is breaking Media Library

On my WordPress install, which is 3.8 and has all plugins updated, it is using Magic Fields 2 and Hypercache amongst other plugins. I can't insert images into posts because when I upload, it gives me ...
0
votes
0answers
67 views

Splash pages on a high traffic site

Could use some advice here. We have a fairly high traffic site web site using WordPress. Currently we have two VPS servers managing the site, one that holds WP, one that holds MySQL. The WP servers ...
0
votes
1answer
38 views

Page updates appear in Preview but not live version?

I have made some changes to a blog page and excluded some categories. However, whenever I view the blog online the excluded posts still appear. But when I got to the blog page and click 'preview' the ...
1
vote
0answers
44 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
1k 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
127 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 ...
1
vote
1answer
71 views

Cache directory needed for plugin

I'm working on a new plugin, and i need to write a frew cache files somewhere. At first i wanted to create a cache folder inside my plugin with the following .gitignore file in it: # Ignore ...
0
votes
0answers
77 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 ...