Questions tagged [plugin-wp-supercache]
A caching plugin that produces static HTML files. Questions specific to this plugin are off-topic.
48
questions
0
votes
0
answers
13
views
Wordpress Template Reverts to default template after changing
I am experiencing a problem regarding wordpress page template. after I change the wordpress template to "Home Page", it reverts to default template after update. I tried installing WP Super ...
0
votes
1
answer
45
views
Changes not visible when not logged in
I have a wordpress site and 4 hours ago I have made some changes to the home page and an internal page.
The changes I can see when I am logged in. When I try to log out, I only see the old pages and ...
0
votes
0
answers
190
views
How to cache a custom API call?
I build a little Python API and would like to cache the responses for 24-hrs.
As I use it in a shortcode like [google keyword="example"] it will always do the API-call once I open the ...
0
votes
1
answer
18
views
How to add support for caching plugins for my own plugin?
Is there a generic way to support caching plugins? For example to set a flag after you update an option that caching plugins watch?
For example WP Super Cache has this:
function wp_cache_clear_cache() ...
0
votes
1
answer
352
views
Will memcached improve performance with WP Super Cache already running?
I'm working on a WordPress site that is expected to host up to 1000 concurrent users, so I'm exploring ways to make it run as fast as possible. I've heard that memcached helps WordPress sites load ...
2
votes
2
answers
849
views
What is difference between 'Page Cache' and 'Object Cache' in WordPress?
I am optimizing my WordPress website. I am using 2 WordPress plugins right now. First one is 'Autoptimize' for optimizing CSS, JS, and HTML. And another one is 'WP Super Cache' for caching pages.
...
1
vote
0
answers
686
views
How do I enable dynamic content in a theme cached with WP Super Cache?
I've been trying to improve my caching strategies in the themes I build, but I'm having trouble understanding how "Enable dynamic caching" works in WP Super Cache. There's very little information on ...
2
votes
1
answer
708
views
How can I render shortcode so that its not cached by Caching plugins?
I am developing a plugin and I don't want the output of my shortcode to be cached by popular WordPress caching plugins like W3Ttoalcahe, WPSuperCache, etc. Is there any way I can achieve that or ask ...
0
votes
0
answers
293
views
leverage browser caching in wordpress
I have added wp Super Cache, Auto optimize plugins on my website, But still, I am getting Leverage Browser Caching Issue how can I fix this in WordPress website
0
votes
1
answer
1k
views
How to get Caching Plug-ins to work on localhost with HTTPS?
Working on a localhost version of my https live site. Using the WP Super Cache plug-in.
Trying to test it [Test Cache] with the feature with my live sites certificate I get the error
Fetching http:/...
0
votes
0
answers
124
views
Pre-Caching and Googlebot
There are some wp-plugins which do pre-caching. If Googlebot is coming to crawl a website, what site version is served to it: a dynamic one or the one from server cache, generated through pre-caching?
0
votes
1
answer
2k
views
Wp Super Cache - Function to reset cache of a specific page
I looked for a solutin like more than hour, but not chance.
There is a function to reset cache of a specific page manually? I'm using wp super cache.
I'm updating some posts meta values using API, ...
0
votes
1
answer
3k
views
How to disable cache for the content returned by a shortcode
we have wrote a shortcode that returns a different content based on a timestamp.
The typical business case is:
"Before the 1st of January, display "registrations will be open on the 1st of January" ...
0
votes
1
answer
792
views
Wp Super Cache stops the update of a Post Meta
For a custom 'Most popular posts' widget, I created a function that creates/updates a post meta to save the number of posts views and I included this function in the single.php template.
It works ...
1
vote
1
answer
583
views
Will setcookie work if there is a cache plugin installed?
A cache plugin in WP will cache PHP output, but does it include HTTP header? For example, add a piece of code as following:
add_action('wp', 'my_cookie' );
function my_cookie() {
setcookie('...
1
vote
0
answers
43
views
SuperCache for Custom Templates
I've started creating custom templates. For instance, I wanted a news template for posts that are news oriented. So, I made news.php
<?php
/*
* Template Name: News Article
* Template Post Type: ...
0
votes
1
answer
4k
views
WP REST API and Access-Control-Allow-Origin
In one of my project I use a Wordpress REST Api. When I was enabled cache by WP Super Cache plugin I have an error now:
XMLHttpRequest cannot load http://api.mydomain.com/wp-json/wp/v1/posts. Origin ...
1
vote
0
answers
24
views
Install and activate plugins across 200 wordpress installations via SSH
I have an ubuntu server where I have roughly 200 wordpress websites running. I noticed the server is at it's limits (mysql/cpu) and almost non of my websites have WP Super Cache installed.
Logging ...
24
votes
1
answer
1k
views
Is this Solution for Caches vs Cookies Going to Get Me in Trouble?
I've come up with a provisional solution for a not exactly common, but far from unprecedented problem with the interaction of popular WP caching solutions with cookies, in this case the standard WP ...
0
votes
1
answer
259
views
How to let users clear their posts cache with WP Super Cache?
Right now with WP Super Cache, when an admin updates a post, the cache is cleared and new cached version is generated. How do I let users do the same with own posts? (When they update their posts the ...
1
vote
1
answer
2k
views
Cron and WP Super Cache in Preload Mode
I disabled WordPress Cron and configured a real Cron (Linux Cron) to hit wp-cron.php every 8 hours, but I'm not sure how it affects the behavior of WP Super Cache in Preload Mode.
As far as I know, ...
0
votes
1
answer
4k
views
Completely reload style.css
I have inherited a site, and I'm trying to add new styles to the style.css
Things I have tried that have NOT worked
Reload browser cache
delete WP Super Cache cache
Disabled WP Super Cache plugin ...
0
votes
1
answer
3k
views
Pages Become "Archive" Instead of Using Page Template
Update: After further inspection it appears that the pages that were effected are being created as "Archive" pages, but there is no archive.php file so they are using index.php. Why would my pages ...
0
votes
0
answers
1k
views
Get post id of permalink for a specific custom post type?
I have custom post type called Personnel.
I have this code to show a specific post ("details" page for personnel) (resides in children themes folder of Oxygen and is called single-personnel.php)
<...
1
vote
1
answer
1k
views
WP Super Cache All Pages [closed]
I didnt find it but is it possible to run at night all pages so the next morning the whole website is cached?
Or are there other plugins who does this job?
I hope someone can help me!
Thanks!
1
vote
3
answers
3k
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
2
answers
3k
views
WP Super Cache - max-age [closed]
Reading the plugin FAQ:
http://wordpress.org/extend/plugins/wp-super-cache/installation/
After you have enabled the plugin, look for the file "wp-content/cache/.htaccess". If it's not there you must ...
1
vote
1
answer
688
views
Static HTML page caching for large website [closed]
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
1
answer
4k
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 ...
0
votes
1
answer
135
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
2
answers
131
views
How can I revert to showing cached pages when no database connection is available? [closed]
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
2
answers
1k
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 ...
0
votes
1
answer
892
views
WP Super Cache compression not working [closed]
I have WP Super Cache installed, and compression is turned on.
However, both GIDZipTest and Google Page Speed Insights Chrome extension say that compression is not enabled.
I added the following to ...
-1
votes
1
answer
487
views
WP Super Cache versus W3 Total Cache [closed]
I recently moved to a dedicated server and I've been having some problems with W3 Total Cache, server crashing, eating up a lot of RAM, back end interface becoming slow.. Everything appeared to work ...
2
votes
2
answers
10k
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 ...
0
votes
1
answer
1k
views
Page downloads as file in Chrome
I'm looking to see if I could get pointers in where to look to solve this issue.
Issue
In Chrome, viewing the blog http://www.bitesizeirishgaelic.com/blog/ in Chrome v21, the page downloads as a ...
5
votes
3
answers
7k
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 ...
7
votes
1
answer
330
views
Deployment strategies for WP-Supercache [closed]
I'm looking to improve my deployment process, which currently uses Capistrano to deploy from a hosted git repository. For the most part, this is working pretty well.
However, I'm running into ...
2
votes
1
answer
2k
views
Too many redirects when using wp super cache [closed]
For a couple of days i use the wp super cache plugin and it works quite well. I also updated to the latest version of wordpress which is currently Wordpress 3.4.1.
Whenever i update something in the ...
0
votes
1
answer
1k
views
Using wp-super-cache and amazon cloudfront - can I serve a file directly (no cdn)? [closed]
I'm using the wp super cache plugin with cdn support turned on (aws cloudfront). I'm also using wp tables reloaded. The latter plugin includes a text file via ajax, and that file is being served by ...
15
votes
4
answers
7k
views
How to cache json with wp-super cache
In a new project we are using wp-super-cache (the client's preferred plugin) to create the static html files for custom content types. But we are trying to figure out if everything is being cached ...
3
votes
2
answers
858
views
Lighttpd, WordPress Caching plugin [closed]
If I use Lighttpd as webserver, how can I use caching plugin like w3 total cache or wp super cache?
Need your help for configuring lighttpd.
Thanks.
0
votes
1
answer
957
views
insufficient permissions; coding an action for plugin governed by custom capability
I'm working on a modification to WP Super Cache which adds two new capabilities to give more control of restriction to certain features. My goal is to a) allow Editors to see the Delete Cache button ...
0
votes
1
answer
50
views
Updated Files Dont Show on Site. I had a cache program installed [closed]
Could that be the reason? I deleted the plugin files but the pages still won't update. When I edit them from the server I see the updated files, but they don't show on the browser.
Tried deleting ...
0
votes
1
answer
8k
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 ...
0
votes
1
answer
4k
views
How reload wordpress page without Cache?
I am facing problem from wp cache. I have an contact listing page. When user delete on of his contact from the listed contacts then on the page it show that the record has been deleted and even record ...
8
votes
2
answers
3k
views
Pros and Cons for high "expire time" on wp-super-cache or w3-total-cache? [closed]
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 very ...
0
votes
1
answer
2k
views
Memory consumption in w3-total-cache vs wp-super-cache? [closed]
I've been suggested by my hosting to move from w3-total-cache to wp-super-cache since the later is supposed to be using less memory then the first.
Is there any knowledge about this comparison?
Is ...