video not play, not be cache
-
Hello
I am tracing the issue of video not playing in Safari After wildcard SSL setup On our multisite
Here is the screenshot in Safari Console, and it show video is not cached:
and here is cache setting in redis-hhvm.conf
cat /etc/nginx/common/redis-hhvm.conf
# Redis NGINX CONFIGURATION
# DO NOT MODIFY, ALL CHANGES LOST AFTER UPDATE EasyEngine (ee)
set $skip_cache 0;
# POST requests and URL with a query string should always go to php
if ($request_method = POST) {
set $skip_cache 1;
}
if ($query_string != “”) {
set $skip_cache 1;
}
# Don’t cache URL containing the following segments
if ($request_uri ~* “(/wp-admin/|/xmlrpc.php|wp-.*.php|index.php|/feed/|sitemap(_index)?.xml|[a-z0-9_-]+-sitemap([0-9]+)?.xml)”) {
set $skip_cache 1;
}
# Don’t cache URL containing the following segments (BuddyPress)
#if ($request_uri ~* “(/forums/|/groups/|/members/|/activity|/blogs/|/messages/|/register/|/activate/|/bpactivity/|/bp-portfolio-projects/|/bpgroup/|/activities/|/bp-social-articles.*|/bpmember/)”) {
if ($request_uri ~* “(/bpmember/)”) {
set $skip_cache 1;
}if ($request_uri ~* “(/lovcourshow/|/ishsow/)”){
set $skip_cache 1;
}if ($request_uri ~* “(/wechat-authorize-remote.php)”) {
set $skip_cache 1;
}
if ($request_uri ~* “(/cross-domain.php)”) {
set $skip_cache 1;
}
# Don’t use the cache for logged in users or recent commenter or customer with items in cart
if ($http_cookie ~* “comment_author|wordpress_[a-f0-9]+|wp-postpass|wordpress_no_cache|wordpress_logged_in|woocommerce_items_in_cart”) {
set $skip_cache 1;
}
# Use cached or actual file if they exists, Otherwise pass request to WordPress
location / {
try_files $uri $uri/ /index.php?$args;
}location /redis-fetch {
internal ;
set $redis_key $args;
redis_pass redis;
}
location /redis-store {
internal ;
set_unescape_uri $key $arg_key ;
redis2_query set $key $echo_request_body;
redis2_query expire $key 36000;
redis2_pass redis;}
location ~ \.php$ {
set $key “nginx-cache:$scheme$request_method$host$request_uri”;
try_files $uri =404;srcache_fetch_skip $skip_cache;
srcache_store_skip $skip_cache;srcache_response_cache_control off;
set_escape_uri $escaped_key $key;
srcache_fetch GET /redis-fetch $key;
srcache_store PUT /redis-store key=$escaped_key;more_set_headers ‘X-SRCache-Fetch-Status $srcache_fetch_status’;
more_set_headers ‘X-SRCache-Store-Status $srcache_store_status’;include fastcgi_params;
fastcgi_param HTTP_ACCEPT_ENCODING “”;
fastcgi_pass hhvm;
}I would like to ask your professional instruction on know how to set the redis cache rules and make the video playing?
Thanks so much, and have a nice day.
Alex
- The topic ‘video not play, not be cache’ is closed to new replies.