Redis full page caching seems like a great way to increase performance. I already use LiteSpeed Cache with Redis object caching. I was wondering if I could use Redis object with full page caching. Maybe an overkill but seems like an edge case that would benefit high traffic sites.
Is this plugin being actively developed or is there a fork somewhere?
Thanks
]]>Can it be used with lscache?
]]>Hi,
My problem is that the advanced-cache.php already exist as it was created by Wp Rocket. Is the any workaround for making it working together with WP Rocket?
Many thanks in advance.
Regards,
Steven
Hi!
How could I exclude current page/post from PJ’s caching?
Hi, not sure if i’m missing any configuration but I keep on getting a ‘miss’ status for some of my pages. I checked the X-Pj-Cache-Key on response header and can confirm that it’s the same every load..
Cache-Control: max-age=1800
Content-Encoding: gzip
Content-Length: 22668
Content-Type: text/html; charset=UTF-8
Date: Wed, 09 Jan 2019 00:29:09 GMT
Expires: Wed, 09 Jan 2019 00:59:09 GMT
Link: <https://my-site/wp-json/>; rel="https://api.w.org/", <https://my-site/?p=353>; rel=shortlink
Server: Apache/2.4.37 (Amazon)
Vary: Accept-Encoding
X-Frame-Options: SAMEORIGIN
X-Pj-Cache-Flags: post:1:353 url:6ec63dfe5b808569abaf271a6d6519ad
X-Pj-Cache-Key: c241fbe4520779b887eb933867cc7568
X-Pj-Cache-Status: miss
X-Pj-Cache-Time: 1546933849
X-Powered-By: PHP/7.1.23
Also, for most of my pages, I need to reload it 4-5 times before I can get the ‘hit’ status. Any idea why this is happening?
Thanks
]]>Hi. This plugin is amazing. I’m using with WordPress 4.9.8 and it’s works like a charm.
It would be greater if it can cache the WP-REST API.
My sites are mainly used to provide data to my app by WP-REST API. I I could cache the api resonse it would be great.
Any chance to implement this?
]]>Cloudflare adds it’s security cookies to every loading page so caching won’t work.
My advice to cloudflare users: add to configuration file
// Whitelist CF cookies
$redis_page_cache_config['whitelist_cookies'] = array( '_cfduid');
]]>
hi
Both your installation page at https://www.ads-software.com/plugins/pj-page-cache-red/#installation and at https://github.com/pressjitsu/pj-page-cache-red mention a wrong slug: redis-page-cache
Your slug is pj-page-cache-red. Thanks to update this information ??
Hello,
I tested it in our WordPress Mu, no error message shows up, but it seems not working.
I am using Wp Redis (https://www.ads-software.com/plugins/wp-redis/), it works well in PC mode, so two question here:
1. do you recommend Redis Page Cache to work with Wp Redis at same time?
2. does Redis Page Cache works for Mobile mode?
Thanks.
Alex
]]>Hi.
How does it work for mobile caching? Our mobile version looks different, the theme is simplified via media queries and wp_is_mobile()
Is this going to be a problem?
Hey,
We’re using SSL/https, can this be the reason we always get X-Pj-Cache-Status: miss?
Are there any specific configuration options needed for SSL-enabled websites?
Hello,
I’m curious if this plugin supports WPMU. If so, is the setup only visible from Network Admin?
]]>Can this be used with the latest WordPress version?
Or do we need to wait for an update?
]]>Ask few thing…
1.This is plugin use ../wp-content/advanced-cache.php to read (symlink) /plugins/pj-page-cache/advanced-cache.php
Is this mean wp-super cache cannot use the file anymore, AFAIK the advanced-cache.php is needed.
]]>Hey, great plugin, I notice that it is not serving the cache version to the logged in users. Is it possible to serve cache to all regardless of visor or logged for all pages, with the exception of anything within the /wp-admin/ directory.
Thanks.
]]>In advanced-cache.php, Is it necessary to close the redis connection by $redis->close()?
]]>phpredis extension has the support to connect to Redis via unix domain socket:
$redis->connect(‘/tmp/redis.sock’); // unix domain socket.
]]>Using Pantheon Redis Object Cache (working). No other type of caching being used at the moment.
Installed your plugin.
1- Activated and installed the plugin
2- Created a symbolic link (used the following code: ln -s plugins/redis-page-cache/advanced-cache.php advanced-cache.php)
3- Already had WP_CACHE enabled in wp-config.php
4- I went to “wp-content / plugins / pj-page-cache-red / advanced-cache.php” and added my redis password…. so I have this:
class Redis_Page_Cache {
private static $redis;
private static $redis_host = ‘127.0.0.1’;
private static $redis_port = 6379;
private static $redis_db = 0;
private static $redis_auth = ‘My Password’;
But it seems to not be working…
HTTP/1.1 200 OK
< Server: nginx
< Date: Thu, 23 Jun 2016 16:22:59 GMT
< Content-Type: text/html; charset=UTF-8
< Transfer-Encoding: chunked
< Connection: keep-alive
< Vary: Accept-Encoding
< X-Powered-By: PHP/7.0.7
< X-Pingback: https://www.*********.com/***/xmlrpc.php
< Link: <https://www.******.com/***/wp-json/>; rel=”https://api.w.org/”, <https://www.********.com/******/>; rel=shortlink
< Vary: Accept-Encoding
< X-Powered-By: PleskLin
<
Hi,
I visit my own page and except it to be a hit but When I go to https://www.webconfs.com/http-header-check.php and validate it says miss.
Then I press the submit button again and it says hit
]]>When i have Ajax Search Lite active the X-Pj-Cache-Status response header (set by Redis Page Cache) is always miss, meaning the page is not cached.
I opened a support thread on Ajax Search Lite support forum.
This is the response:
Can you please ask the plugin author if there is anything known particularly causing this type of issue?
I have not met problems with caching plugins so far, so I don’t know what could be wrong. As far as I know there is nothing dynamically generated on each page load in Ajax Search Lite, which could cause anything similar.
Can you help solving this issue?
]]>I do not get background page regeneration to work. The function_exists(‘pj_sapi_headers_clean’) at line 203 is not true. Is that something you are still working on?
]]>For those with high $ttl (me) is there a way to expire all /page/# url’s the time one publishes/deletes a post? Why? Say your blog has ‘Blog pages show at most 5’ defined. At the time of publishing current post 5 (front page) get pushed to /page/2 but not expired from the cache til $ttl is expired. THis is also for /tag/xyz/page/# etc. Results in post 6 will not show until $ttl is expired.
]]>How long is the page-cache valid? Is there a refresh time I can update?
]]>Hi there!
Thanks for your plugin.
I’m using curl to see if the website is cached properly, but the problem is that it always returns “X-Pj-Cache-Status: miss”.
I’ve added “define(‘WP_CACHE’, true);” at the top of my wp-config.php file, added “advanced-cache.php” in “wp-content” folder and my redis server is currently running.
What can I do ?
Thanks.
]]>Hi,
Is this woocommerce ready? I do not need cart, my account pages to be cached.
Thank you!
]]>Hi,
Thank you for promised plugin.
Does the plug-in cache persistent object?
I’m looking a solution to cache for logged-in users.
Regards,
Rostyslav