Support » Plugin: W3 Total Cache » Blank page in Backend after saving post or page

  • Resolved oldrich333

    (@oldrich333)



    If I save page/post I got a blank page, but post/page are saved (updated). If I deactivate W3 TC the problem disappear (same if I used SuperCache).
    It does not happen if I update some configuration.
    I change the host recently and the problem is still there.

    Any ideas?

Viewing 12 replies - 1 through 12 (of 12 total)
  • Hello @oldrich333,

    2 Ways to fix this.

    1.) Do Following Changes in File.
    1.) Through File Manager/cPanel/FTP, navigate to wp-content/w3tc-config/master.php.
    2.) Search for our friend cdnfsd. You should see it along with these lines:

    `“cdnfsd.enabled”: “1”,
    “cdnfsd.engine”: “”,
    “cdnfsd.debug”: false,`

    3.) Change the “1” to “0”, thus disabling the CDN FSD option. So it should be:

    `“cdnfsd.enabled”: “0”,
    “cdnfsd.engine”: “”,
    “cdnfsd.debug”: false,`

    4.) Save the file and exit.

    Now go back into WordPress and try updating a post. If the 500 error disappears, it looks like the problem has been solved.

    2.) Rollback to Previous Version.

    Please try on Staging/Development environment.

    Credit: https://www.phasethreegoods.co.uk/blog/solved-w3-total-cache-500-error/

    Thanks,
    Dharmesh

    oldrich333

    (@oldrich333)

    I changed the file and it works!
    Thanks!

    So, I have to take back, that it works.
    It “works”. Because there is no blank page, but the sending request takes more than 50 seconds. If I deactivate W3 Total Cache, it is just 3-4s.

    Any thoughts on this?
    The fix not work, it is just sort of work around, but the problem is still there.

    Plugin Support gidomanders

    (@gidomanders)

    This issue should be resolved in version 0.9.7. Please update the plugin and check again.

    I have 0.9.7 version and still 50s waiting time to save the post.
    Sorry, but no change, it is not fixed in version 0.9.7 🙁

    Plugin Support gidomanders

    (@gidomanders)

    The blank page is fixed in 0.9.7, the waiting time is another issue. Could you check your error logs for any messages regarding W3 Total Cache?

    Where W3TC is mentioned is only this:

    WHERE wpet.is_active = '1' ORDER BYday_or_hourDESC,frequencyASC realizada por do_action_ref_array, WP_Hook->do_action, WP_Hook->apply_filters, wcal_send_email_cron, require_once('/plugins/woocommerce-abandoned-cart/cron/wcal_send_email.php'), woocommerce_abandon_cart_cron->wcal_send_email_notification, W3TC\DbCache_Wpdb->query, W3TC\DbCache_WpdbInjection_QueryCaching->query, W3TC\_CallUnderlying->query, W3TC\DbCache_Wpdb->query, W3TC\DbCache_WpdbInjection->query, W3TC\DbCache_Wpdb->default_query

    But the plugin Abandoned cart I installed recently and the problem was already there…

    Plugin Support gidomanders

    (@gidomanders)

    Then could you share your wp-content/w3tc-config/master.php file and your .htaccess file so I can try to replicate the issue?

    .htaccess:

    #   BULLETPROOF 3.0 SECURE .HTACCESS     
    
    # CUSTOM CODE TOP PHP/PHP.INI HANDLER/CACHE CODE
    # BEGIN W3TC Browser Cache
    <IfModule mod_mime.c>
        AddType text/css .css
        AddType text/x-component .htc
        AddType application/x-javascript .js
        AddType application/javascript .js2
        AddType text/javascript .js3
        AddType text/x-js .js4
        AddType text/html .html .htm
        AddType text/richtext .rtf .rtx
        AddType image/svg+xml .svg
        AddType text/plain .txt
        AddType text/xsd .xsd
        AddType text/xsl .xsl
        AddType text/xml .xml
        AddType video/asf .asf .asx .wax .wmv .wmx
        AddType video/avi .avi
        AddType image/bmp .bmp
        AddType application/java .class
        AddType video/divx .divx
        AddType application/msword .doc .docx
        AddType application/vnd.ms-fontobject .eot
        AddType application/x-msdownload .exe
        AddType image/gif .gif
        AddType application/x-gzip .gz .gzip
        AddType image/x-icon .ico
        AddType image/jpeg .jpg .jpeg .jpe
        AddType image/webp .webp
        AddType application/json .json
        AddType application/vnd.ms-access .mdb
        AddType audio/midi .mid .midi
        AddType video/quicktime .mov .qt
        AddType audio/mpeg .mp3 .m4a
        AddType video/mp4 .mp4 .m4v
        AddType video/mpeg .mpeg .mpg .mpe
        AddType application/vnd.ms-project .mpp
        AddType application/x-font-otf .otf
        AddType application/vnd.ms-opentype ._otf
        AddType application/vnd.oasis.opendocument.database .odb
        AddType application/vnd.oasis.opendocument.chart .odc
        AddType application/vnd.oasis.opendocument.formula .odf
        AddType application/vnd.oasis.opendocument.graphics .odg
        AddType application/vnd.oasis.opendocument.presentation .odp
        AddType application/vnd.oasis.opendocument.spreadsheet .ods
        AddType application/vnd.oasis.opendocument.text .odt
        AddType audio/ogg .ogg
        AddType application/pdf .pdf
        AddType image/png .png
        AddType application/vnd.ms-powerpoint .pot .pps .ppt .pptx
        AddType audio/x-realaudio .ra .ram
        AddType image/svg+xml .svg .svgz
        AddType application/x-shockwave-flash .swf
        AddType application/x-tar .tar
        AddType image/tiff .tif .tiff
        AddType application/x-font-ttf .ttf .ttc
        AddType application/vnd.ms-opentype ._ttf
        AddType audio/wav .wav
        AddType audio/wma .wma
        AddType application/vnd.ms-write .wri
        AddType application/font-woff .woff
        AddType application/font-woff2 .woff2
        AddType application/vnd.ms-excel .xla .xls .xlsx .xlt .xlw
        AddType application/zip .zip
    </IfModule>
    <IfModule mod_expires.c>
        ExpiresActive On
        ExpiresByType text/css A31536000
        ExpiresByType text/x-component A31536000
        ExpiresByType application/x-javascript A31536000
        ExpiresByType application/javascript A31536000
        ExpiresByType text/javascript A31536000
        ExpiresByType text/x-js A31536000
        ExpiresByType text/html A3600
        ExpiresByType text/richtext A3600
        ExpiresByType image/svg+xml A3600
        ExpiresByType text/plain A3600
        ExpiresByType text/xsd A3600
        ExpiresByType text/xsl A3600
        ExpiresByType text/xml A3600
        ExpiresByType video/asf A31536000
        ExpiresByType video/avi A31536000
        ExpiresByType image/bmp A31536000
        ExpiresByType application/java A31536000
        ExpiresByType video/divx A31536000
        ExpiresByType application/msword A31536000
        ExpiresByType application/vnd.ms-fontobject A31536000
        ExpiresByType application/x-msdownload A31536000
        ExpiresByType image/gif A31536000
        ExpiresByType application/x-gzip A31536000
        ExpiresByType image/x-icon A31536000
        ExpiresByType image/jpeg A31536000
        ExpiresByType image/webp A31536000
        ExpiresByType application/json A31536000
        ExpiresByType application/vnd.ms-access A31536000
        ExpiresByType audio/midi A31536000
        ExpiresByType video/quicktime A31536000
        ExpiresByType audio/mpeg A31536000
        ExpiresByType video/mp4 A31536000
        ExpiresByType video/mpeg A31536000
        ExpiresByType application/vnd.ms-project A31536000
        ExpiresByType application/x-font-otf A31536000
        ExpiresByType application/vnd.ms-opentype A31536000
        ExpiresByType application/vnd.oasis.opendocument.database A31536000
        ExpiresByType application/vnd.oasis.opendocument.chart A31536000
        ExpiresByType application/vnd.oasis.opendocument.formula A31536000
        ExpiresByType application/vnd.oasis.opendocument.graphics A31536000
        ExpiresByType application/vnd.oasis.opendocument.presentation A31536000
        ExpiresByType application/vnd.oasis.opendocument.spreadsheet A31536000
        ExpiresByType application/vnd.oasis.opendocument.text A31536000
        ExpiresByType audio/ogg A31536000
        ExpiresByType application/pdf A31536000
        ExpiresByType image/png A31536000
        ExpiresByType application/vnd.ms-powerpoint A31536000
        ExpiresByType audio/x-realaudio A31536000
        ExpiresByType image/svg+xml A31536000
        ExpiresByType application/x-shockwave-flash A31536000
        ExpiresByType application/x-tar A31536000
        ExpiresByType image/tiff A31536000
        ExpiresByType application/x-font-ttf A31536000
        ExpiresByType application/vnd.ms-opentype A31536000
        ExpiresByType audio/wav A31536000
        ExpiresByType audio/wma A31536000
        ExpiresByType application/vnd.ms-write A31536000
        ExpiresByType application/font-woff A31536000
        ExpiresByType application/font-woff2 A31536000
        ExpiresByType application/vnd.ms-excel A31536000
        ExpiresByType application/zip A31536000
    </IfModule>
    <IfModule mod_deflate.c>
        <IfModule mod_filter.c>
            AddOutputFilterByType DEFLATE text/css text/x-component application/x-javascript application/javascript text/javascript text/x-js text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/bmp application/java application/msword application/vnd.ms-fontobject application/x-msdownload image/x-icon image/webp application/json application/vnd.ms-access application/vnd.ms-project application/x-font-otf application/vnd.ms-opentype application/vnd.oasis.opendocument.database application/vnd.oasis.opendocument.chart application/vnd.oasis.opendocument.formula application/vnd.oasis.opendocument.graphics application/vnd.oasis.opendocument.presentation application/vnd.oasis.opendocument.spreadsheet application/vnd.oasis.opendocument.text audio/ogg application/pdf application/vnd.ms-powerpoint image/svg+xml application/x-shockwave-flash image/tiff application/x-font-ttf application/vnd.ms-opentype audio/wav application/vnd.ms-write application/font-woff application/font-woff2 application/vnd.ms-excel
        <IfModule mod_mime.c>
            # DEFLATE by extension
            AddOutputFilter DEFLATE js css htm html xml
        </IfModule>
        </IfModule>
    </IfModule>
    <FilesMatch "\.(css|htc|less|js|js2|js3|js4|CSS|HTC|LESS|JS|JS2|JS3|JS4)$">
        FileETag MTime Size
        <IfModule mod_headers.c>
            Header set Pragma "public"
            Header append Cache-Control "public"
             Header unset Set-Cookie
             Header set X-Powered-By "W3 Total Cache/0.9.7"
        </IfModule>
    </FilesMatch>
    <FilesMatch "\.(html|htm|rtf|rtx|svg|txt|xsd|xsl|xml|HTML|HTM|RTF|RTX|SVG|TXT|XSD|XSL|XML)$">
        FileETag MTime Size
        <IfModule mod_headers.c>
            Header append Vary User-Agent env=!dont-vary
            Header set Pragma "public"
            Header append Cache-Control "public"
             Header set X-Powered-By "W3 Total Cache/0.9.7"
        </IfModule>
    </FilesMatch>
    <FilesMatch "\.(asf|asx|wax|wmv|wmx|avi|bmp|class|divx|doc|docx|eot|exe|gif|gz|gzip|ico|jpg|jpeg|jpe|webp|json|mdb|mid|midi|mov|qt|mp3|m4a|mp4|m4v|mpeg|mpg|mpe|mpp|otf|_otf|odb|odc|odf|odg|odp|ods|odt|ogg|pdf|png|pot|pps|ppt|pptx|ra|ram|svg|svgz|swf|tar|tif|tiff|ttf|ttc|_ttf|wav|wma|wri|woff|woff2|xla|xls|xlsx|xlt|xlw|zip|ASF|ASX|WAX|WMV|WMX|AVI|BMP|CLASS|DIVX|DOC|DOCX|EOT|EXE|GIF|GZ|GZIP|ICO|JPG|JPEG|JPE|WEBP|JSON|MDB|MID|MIDI|MOV|QT|MP3|M4A|MP4|M4V|MPEG|MPG|MPE|MPP|OTF|_OTF|ODB|ODC|ODF|ODG|ODP|ODS|ODT|OGG|PDF|PNG|POT|PPS|PPT|PPTX|RA|RAM|SVG|SVGZ|SWF|TAR|TIF|TIFF|TTF|TTC|_TTF|WAV|WMA|WRI|WOFF|WOFF2|XLA|XLS|XLSX|XLT|XLW|ZIP)$">
        FileETag MTime Size
        <IfModule mod_headers.c>
            Header set Pragma "public"
            Header append Cache-Control "public"
             Header unset Set-Cookie
             Header set X-Powered-By "W3 Total Cache/0.9.7"
        </IfModule>
    </FilesMatch>
    <FilesMatch "\.(bmp|class|doc|docx|eot|exe|ico|webp|json|mdb|mpp|otf|_otf|odb|odc|odf|odg|odp|ods|odt|ogg|pdf|pot|pps|ppt|pptx|svg|svgz|swf|tif|tiff|ttf|ttc|_ttf|wav|wri|woff|woff2|xla|xls|xlsx|xlt|xlw|BMP|CLASS|DOC|DOCX|EOT|EXE|ICO|WEBP|JSON|MDB|MPP|OTF|_OTF|ODB|ODC|ODF|ODG|ODP|ODS|ODT|OGG|PDF|POT|PPS|PPT|PPTX|SVG|SVGZ|SWF|TIF|TIFF|TTF|TTC|_TTF|WAV|WRI|WOFF|WOFF2|XLA|XLS|XLSX|XLT|XLW)$">
        <IfModule mod_headers.c>
             Header unset Last-Modified
        </IfModule>
    </FilesMatch>
    <IfModule mod_headers.c>
        Header set Referrer-Policy ""
    </IfModule>
    # END W3TC Browser Cache
    # BEGIN W3TC Page Cache core
    <IfModule mod_rewrite.c>
        RewriteEngine On
        RewriteBase /
        RewriteCond %{HTTPS} =on
        RewriteRule .* - [E=W3TC_SSL:_ssl]
        RewriteCond %{SERVER_PORT} =443
        RewriteRule .* - [E=W3TC_SSL:_ssl]
        RewriteCond %{HTTP:X-Forwarded-Proto} =https [NC]
        RewriteRule .* - [E=W3TC_SSL:_ssl]
        RewriteCond %{HTTP:Accept-Encoding} gzip
        RewriteRule .* - [E=W3TC_ENC:_gzip]
        RewriteCond %{HTTP_COOKIE} w3tc_preview [NC]
        RewriteRule .* - [E=W3TC_PREVIEW:_preview]
        RewriteCond %{REQUEST_METHOD} !=POST
        RewriteCond %{QUERY_STRING} =""
        RewriteCond %{REQUEST_URI} \/$
        RewriteCond %{HTTP_COOKIE} !(comment_author|wp\-postpass|w3tc_logged_out|wordpress_logged_in|wptouch_switch_toggle) [NC]
        RewriteCond "%{DOCUMENT_ROOT}/wp-content/cache/page_enhanced/%{HTTP_HOST}/%{REQUEST_URI}/_index%{ENV:W3TC_SSL}%{ENV:W3TC_PREVIEW}.html%{ENV:W3TC_ENC}" -f
        RewriteRule .* "/wp-content/cache/page_enhanced/%{HTTP_HOST}/%{REQUEST_URI}/_index%{ENV:W3TC_SSL}%{ENV:W3TC_PREVIEW}.html%{ENV:W3TC_ENC}" [L]
        RewriteCond %{REQUEST_METHOD} !=POST
        RewriteCond %{QUERY_STRING} =""
        RewriteCond %{REQUEST_URI} \/$
        RewriteCond %{HTTP_COOKIE} !(comment_author|wp\-postpass|w3tc_logged_out|wordpress_logged_in|wptouch_switch_toggle) [NC]
        RewriteCond "%{DOCUMENT_ROOT}/wp-content/cache/page_enhanced/%{HTTP_HOST}/%{REQUEST_URI}/_index%{ENV:W3TC_SSL}%{ENV:W3TC_PREVIEW}.xml%{ENV:W3TC_ENC}" -f
        RewriteRule .* "/wp-content/cache/page_enhanced/%{HTTP_HOST}/%{REQUEST_URI}/_index%{ENV:W3TC_SSL}%{ENV:W3TC_PREVIEW}.xml%{ENV:W3TC_ENC}" [L]
    </IfModule>
    # END W3TC Page Cache core
    
    # TURN OFF YOUR SERVER SIGNATURE
    # Suppresses the footer line server version number and ServerName of the serving virtual host
    ServerSignature Off
    
    # DO NOT SHOW DIRECTORY LISTING
    # Disallow mod_autoindex from displaying a directory listing
    # If a 500 Internal Server Error occurs when activating Root BulletProof Mode 
    # copy the entire DO NOT SHOW DIRECTORY LISTING and DIRECTORY INDEX sections of code 
    # and paste it into BPS Custom Code and comment out Options -Indexes 
    # by adding a # sign in front of it.
    # Example: #Options -Indexes
    Options -Indexes
    
    # DIRECTORY INDEX FORCE INDEX.PHP
    # Use index.php as default directory index file. index.html will be ignored.
    # If a 500 Internal Server Error occurs when activating Root BulletProof Mode 
    # copy the entire DO NOT SHOW DIRECTORY LISTING and DIRECTORY INDEX sections of code 
    # and paste it into BPS Custom Code and comment out DirectoryIndex 
    # by adding a # sign in front of it.
    # Example: #DirectoryIndex index.php index.html /index.php
    DirectoryIndex index.php index.html /index.php
    
    # BRUTE FORCE LOGIN PAGE PROTECTION
    # PLACEHOLDER ONLY
    # Use BPS Custom Code to add Brute Force Login protection code and to save it permanently.
    # See this link: https://forum.ait-pro.com/forums/topic/protect-login-page-from-brute-force-login-attacks/
    # for more information.
    
    # BPS ERROR LOGGING AND TRACKING
    # Use BPS Custom Code to modify/edit/change this code and to save it permanently.
    # BPS has premade 400 Bad Request, 403 Forbidden, 404 Not Found, 405 Method Not Allowed and 
    # 410 Gone template logging files that are used to track and log 400, 403, 404, 405 and 410 errors 
    # that occur on your website. When a hacker attempts to hack your website the hackers IP address, 
    # Host name, Request Method, Referering link, the file name or requested resource, the user agent 
    # of the hacker and the query string used in the hack attempt are logged.
    # All BPS log files are htaccess protected so that only you can view them. 
    # The 400.php, 403.php, 404.php, 405.php and 410.php files are located in /wp-content/plugins/bulletproof-security/
    # The 400, 403, 405 and 410 Error logging files are already set up and will automatically start logging errors
    # after you install BPS and have activated BulletProof Mode for your Root folder.
    # If you would like to log 404 errors you will need to copy the logging code in the BPS 404.php file
    # to your Theme's 404.php template file. Simple instructions are included in the BPS 404.php file.
    # You can open the BPS 404.php file using the WP Plugins Editor or manually editing the file.
    # NOTE: By default WordPress automatically looks in your Theme's folder for a 404.php Theme template file.
    
    ErrorDocument 400 /wp-content/plugins/bulletproof-security/400.php
    ErrorDocument 401 default
    ErrorDocument 403 /wp-content/plugins/bulletproof-security/403.php
    ErrorDocument 404 /404.php
    ErrorDocument 405 /wp-content/plugins/bulletproof-security/405.php
    ErrorDocument 410 /wp-content/plugins/bulletproof-security/410.php
    
    # DENY ACCESS TO PROTECTED SERVER FILES AND FOLDERS
    # Use BPS Custom Code to modify/edit/change this code and to save it permanently.
    # Files and folders starting with a dot: .htaccess, .htpasswd, .errordocs, .logs
    RedirectMatch 403 \.(htaccess|htpasswd|errordocs|logs)$
    
    # WP REWRITE LOOP START
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    # CUSTOM CODE REQUEST METHODS FILTERED
    # REQUEST METHODS FILTERED
    # If you want to allow HEAD Requests use BPS Custom Code and copy 
    # this entire REQUEST METHODS FILTERED section of code to this BPS Custom Code 
    # text box: CUSTOM CODE REQUEST METHODS FILTERED.
    # See the CUSTOM CODE REQUEST METHODS FILTERED help text for additional steps.
    RewriteCond %{REQUEST_METHOD} ^(TRACE|DELETE|TRACK|DEBUG) [NC]
    RewriteRule ^(.*)$ - [F]
    #RewriteCond %{REQUEST_METHOD} ^(HEAD) [NC]
    #RewriteRule ^(.*)$ /wp-content/plugins/bulletproof-security/405.php [L]
    
    # PLUGINS/THEMES AND VARIOUS EXPLOIT FILTER SKIP RULES
    # To add plugin/theme skip/bypass rules use BPS Custom Code.
    # The [S] flag is used to skip following rules. Skip rule [S=12] will skip 12 following RewriteRules.
    # The skip rules MUST be in descending consecutive number order: 12, 11, 10, 9...
    # If you delete a skip rule, change the other skip rule numbers accordingly.
    # Examples: If RewriteRule [S=5] is deleted than change [S=6] to [S=5], [S=7] to [S=6], etc.
    # If you add a new skip rule above skip rule 12 it will be skip rule 13: [S=13]
    
    # CUSTOM CODE PLUGIN/THEME SKIP/BYPASS RULES
    # WooCommerce shop, cart, checkout & wishlist URI skip/bypass rule
    RewriteCond %{REQUEST_URI} ^.*/(shop|cart|checkout|wishlist).* [NC]
    RewriteRule . - [S=14]
    
    # WooCommerce order & wc-ajax= Query String skip/bypass rule
    RewriteCond %{QUERY_STRING} .*(order|wc-ajax=).* [NC]
    RewriteRule . - [S=13]
    
    # Adminer MySQL management tool data populate
    RewriteCond %{REQUEST_URI} ^/wp-content/plugins/adminer/ [NC]
    RewriteRule . - [S=12]
    # Comment Spam Pack MU Plugin - CAPTCHA images not displaying 
    RewriteCond %{REQUEST_URI} ^/wp-content/mu-plugins/custom-anti-spam/ [NC]
    RewriteRule . - [S=11]
    # Peters Custom Anti-Spam display CAPTCHA Image
    RewriteCond %{REQUEST_URI} ^/wp-content/plugins/peters-custom-anti-spam-image/ [NC] 
    RewriteRule . - [S=10]
    # Status Updater plugin fb connect
    RewriteCond %{REQUEST_URI} ^/wp-content/plugins/fb-status-updater/ [NC] 
    RewriteRule . - [S=9]
    # Stream Video Player - Adding FLV Videos Blocked
    RewriteCond %{REQUEST_URI} ^/wp-content/plugins/stream-video-player/ [NC]
    RewriteRule . - [S=8]
    # XCloner 404 or 403 error when updating settings
    RewriteCond %{REQUEST_URI} ^/wp-content/plugins/xcloner-backup-and-restore/ [NC]
    RewriteRule . - [S=7]
    # BuddyPress Logout Redirect
    RewriteCond %{QUERY_STRING} action=logout&redirect_to=http%3A%2F%2F(.*) [NC]
    RewriteRule . - [S=6]
    # redirect_to=
    RewriteCond %{QUERY_STRING} redirect_to=(.*) [NC]
    RewriteRule . - [S=5]
    # Login Plugins Password Reset And Redirect 1
    RewriteCond %{QUERY_STRING} action=resetpass&key=(.*) [NC]
    RewriteRule . - [S=4]
    # Login Plugins Password Reset And Redirect 2
    RewriteCond %{QUERY_STRING} action=rp&key=(.*) [NC]
    RewriteRule . - [S=3]
    
    # CUSTOM CODE TIMTHUMB FORBID RFI and MISC FILE SKIP/BYPASS RULE
    # TIMTHUMB FORBID RFI and MISC FILE SKIP/BYPASS RULE
    # Use BPS Custom Code to modify/edit/change this code and to save it permanently.
    # Remote File Inclusion (RFI) security rules
    # Note: Only whitelist your additional domains or files if needed - do not whitelist hacker domains or files
    RewriteCond %{QUERY_STRING} ^.*(http|https|ftp)(%3A|:)(%2F|/)(%2F|/)(w){0,3}.?(blogger|picasa|blogspot|tsunami|petapolitik|photobucket|imgur|imageshack|wordpress\.com|img\.youtube|tinypic\.com|upload\.wikimedia|kkc|start-thegame).*$ [NC,OR]
    RewriteCond %{THE_REQUEST} ^.*(http|https|ftp)(%3A|:)(%2F|/)(%2F|/)(w){0,3}.?(blogger|picasa|blogspot|tsunami|petapolitik|photobucket|imgur|imageshack|wordpress\.com|img\.youtube|tinypic\.com|upload\.wikimedia|kkc|start-thegame).*$ [NC]
    RewriteRule .* index.php [F]
    # 
    # Example: Whitelist additional misc files: (example\.php|another-file\.php|phpthumb\.php|thumb\.php|thumbs\.php)
    RewriteCond %{REQUEST_URI} (timthumb\.php|phpthumb\.php|thumb\.php|thumbs\.php) [NC]
    # Example: Whitelist additional website domains: RewriteCond %{HTTP_REFERER} ^.*(YourWebsite.com|AnotherWebsite.com).*
    RewriteCond %{HTTP_REFERER} ^.*lunacup.eu.*
    RewriteRule . - [S=1]
    
    # CUSTOM CODE BPSQSE BPS QUERY STRING EXPLOITS
    # BEGIN BPSQSE BPS QUERY STRING EXPLOITS
    # The libwww-perl User Agent is forbidden - Many bad bots use libwww-perl modules, but some good bots use it too.
    # Good sites such as W3C use it for their W3C-LinkChecker. 
    # Use BPS Custom Code to add or remove user agents temporarily or permanently from the 
    # User Agent filters directly below or to modify/edit/change any of the other security code rules below.
    RewriteCond %{HTTP_USER_AGENT} (havij|libwww-perl|wget|python|nikto|curl|scan|winhttp|clshttp|loader) [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} (%0A|%0D|%27|%3C|%3E|%00) [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} (;|<|>|'|"|\)|\(|%0A|%0D|%22|%27|%28|%3C|%3E|%00).*(libwww-perl|wget|python|nikto|curl|scan|winhttp|HTTrack|clshttp|archiver|loader|email|harvest|extract|grab|miner) [NC,OR]
    RewriteCond %{THE_REQUEST} (\?|\*|%2a)+(%20+|\\s+|%20+\\s+|\\s+%20+|\\s+%20+\\s+)(http|https)(:/|/) [NC,OR]
    RewriteCond %{THE_REQUEST} etc/passwd [NC,OR]
    RewriteCond %{THE_REQUEST} cgi-bin [NC,OR]
    RewriteCond %{THE_REQUEST} (%0A|%0D|\\r|\\n) [NC,OR]
    RewriteCond %{REQUEST_URI} owssvr\.dll [NC,OR]
    RewriteCond %{HTTP_REFERER} (%0A|%0D|%27|%3C|%3E|%00) [NC,OR]
    RewriteCond %{HTTP_REFERER} \.opendirviewer\. [NC,OR]
    RewriteCond %{HTTP_REFERER} users\.skynet\.be.* [NC,OR]
    RewriteCond %{QUERY_STRING} [a-zA-Z0-9_]=(http|https):// [NC,OR]
    RewriteCond %{QUERY_STRING} [a-zA-Z0-9_]=(\.\.//?)+ [NC,OR]
    RewriteCond %{QUERY_STRING} [a-zA-Z0-9_]=/([a-z0-9_.]//?)+ [NC,OR]
    RewriteCond %{QUERY_STRING} \=PHP[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12} [NC,OR]
    RewriteCond %{QUERY_STRING} (\.\./|%2e%2e%2f|%2e%2e/|\.\.%2f|%2e\.%2f|%2e\./|\.%2e%2f|\.%2e/) [NC,OR]
    RewriteCond %{QUERY_STRING} ftp\: [NC,OR]
    RewriteCond %{QUERY_STRING} (http|https)\: [NC,OR] 
    RewriteCond %{QUERY_STRING} \=\|w\| [NC,OR]
    RewriteCond %{QUERY_STRING} ^(.*)/self/(.*)$ [NC,OR]
    RewriteCond %{QUERY_STRING} ^(.*)cPath=(http|https)://(.*)$ [NC,OR]
    RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
    RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR]
    RewriteCond %{QUERY_STRING} (\<|%3C).*embed.*(\>|%3E) [NC,OR]
    RewriteCond %{QUERY_STRING} (<|%3C)([^e]*e)+mbed.*(>|%3E) [NC,OR]
    RewriteCond %{QUERY_STRING} (\<|%3C).*object.*(\>|%3E) [NC,OR]
    RewriteCond %{QUERY_STRING} (<|%3C)([^o]*o)+bject.*(>|%3E) [NC,OR]
    RewriteCond %{QUERY_STRING} (\<|%3C).*iframe.*(\>|%3E) [NC,OR]
    RewriteCond %{QUERY_STRING} (<|%3C)([^i]*i)+frame.*(>|%3E) [NC,OR] 
    RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [NC,OR]
    RewriteCond %{QUERY_STRING} base64_(en|de)code[^(]*\([^)]*\) [NC,OR]
    RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
    RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2}) [OR]
    RewriteCond %{QUERY_STRING} ^.*(\(|\)|<|>|%3c|%3e).* [NC,OR]
    RewriteCond %{QUERY_STRING} ^.*(\x00|\x04|\x08|\x0d|\x1b|\x20|\x3c|\x3e|\x7f).* [NC,OR]
    RewriteCond %{QUERY_STRING} (NULL|OUTFILE|LOAD_FILE) [OR]
    RewriteCond %{QUERY_STRING} (\.{1,}/)+(motd|etc|bin) [NC,OR]
    RewriteCond %{QUERY_STRING} (localhost|loopback|127\.0\.0\.1) [NC,OR]
    RewriteCond %{QUERY_STRING} (<|>|'|%0A|%0D|%27|%3C|%3E|%00) [NC,OR]
    RewriteCond %{QUERY_STRING} concat[^\(]*\( [NC,OR]
    RewriteCond %{QUERY_STRING} union([^s]*s)+elect [NC,OR]
    RewriteCond %{QUERY_STRING} union([^a]*a)+ll([^s]*s)+elect [NC,OR]
    RewriteCond %{QUERY_STRING} \-[sdcr].*(allow_url_include|allow_url_fopen|safe_mode|disable_functions|auto_prepend_file) [NC,OR]
    RewriteCond %{QUERY_STRING} (;|<|>|'|"|\)|%0A|%0D|%22|%27|%3C|%3E|%00).*(/\*|union|select|insert|drop|delete|update|cast|create|char|convert|alter|declare|order|script|set|md5|benchmark|encode) [NC,OR]
    RewriteCond %{QUERY_STRING} (sp_executesql) [NC]
    RewriteRule ^(.*)$ - [F]
    # END BPSQSE BPS QUERY STRING EXPLOITS
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]
    # WP REWRITE LOOP END
    
    # DENY BROWSER ACCESS TO THESE FILES 
    # Use BPS Custom Code to modify/edit/change this code and to save it permanently.
    # wp-config.php, bb-config.php, php.ini, php5.ini, readme.html
    # To be able to view these files from a Browser, replace 127.0.0.1 with your actual 
    # current IP address. Comment out: #Deny from all and Uncomment: Allow from 127.0.0.1 
    # Note: The BPS System Info page displays which modules are loaded on your server. 
    
    <FilesMatch "^(wp-config\.php|php\.ini|php5\.ini|readme\.html|bb-config\.php)">
    Order Allow,Deny
    Deny from all
    #Allow from 127.0.0.1
    </FilesMatch>
    
    # HOTLINKING/FORBID COMMENT SPAMMERS/BLOCK BOTS/BLOCK IP/REDIRECT CODE
    # PLACEHOLDER ONLY
    # Use BPS Custom Code to add custom code and save it permanently here.

    w3tc-config/master.php

    <?php exit; ?>{
        "version": "0.9.7",
        "cluster.messagebus.debug": false,
        "cluster.messagebus.enabled": false,
        "cluster.messagebus.sns.region": "",
        "cluster.messagebus.sns.api_key": "",
        "cluster.messagebus.sns.api_secret": "",
        "cluster.messagebus.sns.topic_arn": "",
        "dbcache.configuration_overloaded": false,
        "dbcache.debug": "0",
        "dbcache.enabled": "1",
        "dbcache.engine": "memcached",
        "dbcache.file.gc": "3600",
        "dbcache.file.locking": false,
        "dbcache.lifetime": "180",
        "dbcache.memcached.persistent": "1",
        "dbcache.memcached.aws_autodiscovery": false,
        "dbcache.memcached.servers": [
            "127.0.0.1:11211"
        ],
        "dbcache.memcached.username": "",
        "dbcache.memcached.password": "",
        "dbcache.redis.persistent": true,
        "dbcache.redis.servers": [
            "127.0.0.1:6379"
        ],
        "dbcache.redis.password": "",
        "dbcache.redis.dbid": 0,
        "dbcache.use_filters": false,
        "dbcache.reject.constants": [
            "APP_REQUEST",
            "DOING_CRON",
            "DONOTCACHEDB",
            "SHORTINIT",
            "XMLRPC_REQUEST"
        ],
        "dbcache.reject.cookie": [],
        "dbcache.reject.logged": "1",
        "dbcache.reject.sql": [
            "gdsr_",
            "wp_rg_",
            "_wp_session_",
            "_wc_session_"
        ],
        "dbcache.reject.uri": [
            ""
        ],
        "dbcache.reject.words": [
            "^\\s*insert\\b",
            "^\\s*delete\\b",
            "^\\s*update\\b",
            "^\\s*replace\\b",
            "^\\s*create\\b",
            "^\\s*alter\\b",
            "^\\s*show\\b",
            "^\\s*set\\b",
            "\\bautoload\\s+=\\s+'yes'",
            "\\bsql_calc_found_rows\\b",
            "\\bfound_rows\\(\\)"
        ],
        "objectcache.configuration_overloaded": false,
        "objectcache.enabled": "1",
        "objectcache.debug": "0",
        "objectcache.enabled_for_wp_admin": true,
        "objectcache.fallback_transients": true,
        "objectcache.engine": "apc",
        "objectcache.file.gc": 3600,
        "objectcache.file.locking": false,
        "objectcache.memcached.servers": [
            "127.0.0.1:11211"
        ],
        "objectcache.memcached.persistent": true,
        "objectcache.memcached.aws_autodiscovery": false,
        "objectcache.memcached.username": "",
        "objectcache.memcached.password": "",
        "objectcache.redis.persistent": true,
        "objectcache.redis.servers": [
            "127.0.0.1:6379"
        ],
        "objectcache.redis.password": "",
        "objectcache.redis.dbid": 0,
        "objectcache.groups.global": [
            "users",
            "userlogins",
            "usermeta",
            "user_meta",
            "site-transient",
            "site-options",
            "site-lookup",
            "blog-lookup",
            "blog-details",
            "rss",
            "global-posts"
        ],
        "objectcache.groups.nonpersistent": [
            "comment",
            "counts",
            "plugins"
        ],
        "objectcache.lifetime": 180,
        "objectcache.purge.all": false,
        "pgcache.configuration_overloaded": false,
        "pgcache.enabled": "1",
        "pgcache.comment_cookie_ttl": "1800",
        "pgcache.debug": "0",
        "pgcache.engine": "file_generic",
        "pgcache.file.gc": "3600",
        "pgcache.file.nfs": false,
        "pgcache.file.locking": false,
        "pgcache.lifetime": 3600,
        "pgcache.memcached.servers": [
            "127.0.0.1:11211"
        ],
        "pgcache.memcached.persistent": true,
        "pgcache.memcached.aws_autodiscovery": false,
        "pgcache.memcached.username": "",
        "pgcache.memcached.password": "",
        "pgcache.redis.persistent": true,
        "pgcache.redis.servers": [
            "127.0.0.1:6379"
        ],
        "pgcache.redis.password": "",
        "pgcache.redis.dbid": 0,
        "pgcache.cache.query": false,
        "pgcache.cache.home": "1",
        "pgcache.cache.feed": "1",
        "pgcache.cache.nginx_handle_xml": "1",
        "pgcache.cache.ssl": "1",
        "pgcache.cache.404": "0",
        "pgcache.cache.headers": [
            "Last-Modified",
            "Content-Type",
            "X-Pingback",
            "P3P",
            "Link"
        ],
        "pgcache.compatibility": "0",
        "pgcache.remove_charset": "0",
        "pgcache.accept.uri": [
            "sitemap(_index)?\\.xml(\\.gz)?",
            "([a-z0-9_\\-]+)?sitemap\\.xsl",
            "[a-z0-9_\\-]+-sitemap([0-9]+)?\\.xml(\\.gz)?"
        ],
        "pgcache.accept.files": [
            "wp-comments-popup.php",
            "wp-links-opml.php",
            "wp-locations.php"
        ],
        "pgcache.accept.qs": [
            ""
        ],
        "pgcache.late_init": "0",
        "pgcache.late_caching": "0",
        "pgcache.mirrors.enabled": "0",
        "pgcache.mirrors.home_urls": [
            ""
        ],
        "pgcache.reject.front_page": "0",
        "pgcache.reject.logged": "1",
        "pgcache.reject.logged_roles": "0",
        "pgcache.reject.roles": [
            ""
        ],
        "pgcache.reject.uri": [
            "wp-.*\\.php",
            "index\\.php",
            "cart",
            "checkout"
        ],
        "pgcache.reject.categories": [
            ""
        ],
        "pgcache.reject.tags": [
            ""
        ],
        "pgcache.reject.authors": [
            ""
        ],
        "pgcache.reject.custom": [
            ""
        ],
        "pgcache.reject.ua": [
            ""
        ],
        "pgcache.reject.cookie": [
            "wptouch_switch_toggle"
        ],
        "pgcache.reject.request_head": false,
        "pgcache.purge.front_page": "0",
        "pgcache.purge.home": "1",
        "pgcache.purge.post": "1",
        "pgcache.purge.comments": "0",
        "pgcache.purge.author": "0",
        "pgcache.purge.terms": "0",
        "pgcache.purge.archive.daily": "0",
        "pgcache.purge.archive.monthly": "0",
        "pgcache.purge.archive.yearly": "0",
        "pgcache.purge.feed.blog": "1",
        "pgcache.purge.feed.comments": "0",
        "pgcache.purge.feed.author": "0",
        "pgcache.purge.feed.terms": "0",
        "pgcache.purge.feed.types": [
            "rss2"
        ],
        "pgcache.purge.postpages_limit": "10",
        "pgcache.purge.pages": [
            ""
        ],
        "pgcache.purge.sitemap_regex": "([a-z0-9_\\-]*?)sitemap([a-z0-9_\\-]*)?\\.xml",
        "pgcache.prime.enabled": "1",
        "pgcache.prime.interval": "11000",
        "pgcache.prime.limit": "10",
        "pgcache.prime.sitemap": "",
        "pgcache.prime.post.enabled": "0",
        "pgcache.rest": "",
        "pgcache.cookiegroups.enabled": false,
        "pgcache.cookiegroups.groups": {
            "mobile": {
                "enabled": false,
                "cache": true,
                "cookies": [
                    "wptouch-pro-view=mobile",
                    "wptouch-pro-cache-state=mobile"
                ]
            },
            "loggedin": {
                "enabled": false,
                "cache": true,
                "cookies": [
                    "wordpress_logged_in_.*"
                ]
            },
            "subscribers": {
                "enabled": false,
                "cache": true,
                "cookies": [
                    "role=subscriber",
                    "role=member"
                ]
            }
        },
        "stats.enabled": "0",
        "minify.configuration_overloaded": false,
        "minify.enabled": "0",
        "minify.auto": "1",
        "minify.debug": "0",
        "minify.engine": "file",
        "minify.error.notification": "",
        "minify.file.gc": "86400",
        "minify.file.nfs": false,
        "minify.file.locking": false,
        "minify.memcached.servers": [
            "127.0.0.1:11211"
        ],
        "minify.memcached.persistent": true,
        "minify.memcached.aws_autodiscovery": false,
        "minify.memcached.username": "",
        "minify.memcached.password": "",
        "minify.redis.persistent": true,
        "minify.redis.servers": [
            "127.0.0.1:6379"
        ],
        "minify.redis.password": "",
        "minify.redis.dbid": 0,
        "minify.rewrite": "1",
        "minify.options": [],
        "minify.symlinks": [],
        "minify.lifetime": "86400",
        "minify.upload": true,
        "minify.html.enable": "1",
        "minify.html.engine": "html",
        "minify.html.reject.feed": "0",
        "minify.html.inline.css": "1",
        "minify.html.inline.js": "1",
        "minify.html.strip.crlf": "1",
        "minify.html.comments.ignore": [
            "google_ad_",
            "RSPEAK_"
        ],
        "minify.css.combine": "0",
        "minify.css.enable": "1",
        "minify.css.engine": "css",
        "minify.css.http2push": "0",
        "minify.css.strip.comments": "0",
        "minify.css.strip.crlf": "1",
        "minify.css.embed": false,
        "minify.css.imports": "process",
        "minify.css.groups": {
            "b0459": {
                "default": {
                    "include": {
                        "files": [
                            "http:\/\/wordpressmu-161283-466187.cloudwaysapps.com\/wp-content\/plugins\/responsive-lightbox\/assets\/swipebox\/css\/swipebox.min.css?ver=1.7.2",
                            "http:\/\/wordpressmu-161283-466187.cloudwaysapps.com\/wp-content\/plugins\/woocommerce\/assets\/css\/woocommerce-layout.css?ver=3.3.4",
                            "http:\/\/wordpressmu-161283-466187.cloudwaysapps.com\/wp-content\/plugins\/woocommerce\/assets\/css\/woocommerce-smallscreen.css?ver=3.3.4",
                            "http:\/\/wordpressmu-161283-466187.cloudwaysapps.com\/wp-content\/plugins\/woocommerce\/assets\/css\/woocommerce.css?ver=3.3.4",
                            "http:\/\/wordpressmu-161283-466187.cloudwaysapps.com\/wp-content\/plugins\/woocommerce-variation-swatches-and-photos\/assets\/css\/swatches-and-photos.css?ver=4.9.4",
                            "http:\/\/fonts.googleapis.com\/css?family=Source+Sans+Pro%3A200%2C200italic%2C300%2C300italic%2Cregular%2Citalic%2C600%2C600italic%2C700%2C700italic%2C900%2C900italic&ver=4.9.4#038;subset=cyrillic,greek,vietnamese,latin,greek-ext,latin-ext,cyrillic-ext",
                            "http:\/\/wordpressmu-161283-466187.cloudwaysapps.com\/wp-content\/plugins\/yith-woocommerce-advanced-reviews-premium\/assets\/css\/yit-advanced-reviews.css?ver=4.9.4",
                            "http:\/\/wordpressmu-161283-466187.cloudwaysapps.com\/wp-content\/plugins\/yith-woocommerce-badge-management-premium\/assets\/css\/frontend.css?ver=4.9.4",
                            "http:\/\/fonts.googleapis.com\/css?family=Open+Sans%3A400%2C600%2C700%2C800%2C300&ver=4.9.4",
                            "http:\/\/wordpressmu-161283-466187.cloudwaysapps.com\/wp-content\/themes\/Divi\/style.css?ver=3.0.99",
                            "http:\/\/wordpressmu-161283-466187.cloudwaysapps.com\/wp-includes\/css\/dashicons.min.css?ver=4.9.4",
                            "wp-content\/plugins\/easy-columns\/css\/easy-columns.css"
                        ]
                    }
                },
                "404": {
                    "include": {
                        "files": [
                            "wp-content\/cache\/et\/1\/1\/global\/et-divi-customizer-global-15221584163866.min.css",
                            "http:\/\/fonts.googleapis.com\/css?family=Source+Sans+Pro:200,200italic,300,300italic,regular,italic,600,600italic,700,700italic,900,900italic&subset=cyrillic,greek,vietnamese,latin,greek-ext,latin-ext,cyrillic-ext"
                        ]
                    }
                }
            }
        },
        "minify.js.http2push": "0",
        "minify.js.enable": "1",
        "minify.js.engine": "js",
        "minify.js.combine.header": "0",
        "minify.js.header.embed_type": "nb-defer",
        "minify.js.combine.body": "0",
        "minify.js.body.embed_type": "nb-async",
        "minify.js.combine.footer": "0",
        "minify.js.footer.embed_type": "nb-async",
        "minify.js.strip.comments": "0",
        "minify.js.strip.crlf": "0",
        "minify.js.groups": {
            "b0459": {
                "default": {
                    "include-body": {
                        "files": [
                            "http:\/\/wordpressmu-161283-466187.cloudwaysapps.com\/wp-includes\/js\/jquery\/jquery.js?ver=1.12.4",
                            "http:\/\/wordpressmu-161283-466187.cloudwaysapps.com\/wp-includes\/js\/jquery\/jquery-migrate.min.js?ver=1.4.1",
                            "http:\/\/wordpressmu-161283-466187.cloudwaysapps.com\/wp-content\/plugins\/responsive-lightbox\/assets\/swipebox\/js\/jquery.swipebox.min.js?ver=1.7.2",
                            "http:\/\/wordpressmu-161283-466187.cloudwaysapps.com\/wp-content\/plugins\/responsive-lightbox\/js\/front.js?ver=1.7.2",
                            "https:\/\/www.googletagmanager.com\/gtag\/js?id=AW-825156784",
                            "http:\/\/wordpressmu-161283-466187.cloudwaysapps.com\/wp-content\/plugins\/woocommerce\/assets\/js\/jquery-blockui\/jquery.blockUI.min.js?ver=2.70",
                            "http:\/\/wordpressmu-161283-466187.cloudwaysapps.com\/wp-content\/plugins\/woocommerce\/assets\/js\/js-cookie\/js.cookie.min.js?ver=2.1.4",
                            "http:\/\/wordpressmu-161283-466187.cloudwaysapps.com\/wp-content\/plugins\/woocommerce\/assets\/js\/frontend\/woocommerce.min.js?ver=3.3.4",
                            "http:\/\/wordpressmu-161283-466187.cloudwaysapps.com\/wp-content\/plugins\/woocommerce\/assets\/js\/frontend\/cart-fragments.min.js?ver=3.3.4",
                            "http:\/\/wordpressmu-161283-466187.cloudwaysapps.com\/wp-content\/plugins\/woocommerce-variation-swatches-and-photos\/assets\/js\/swatches-and-photos.js?ver=1.5.0",
                            "http:\/\/wordpressmu-161283-466187.cloudwaysapps.com\/wp-content\/themes\/Divi\/js\/custom.min.js?ver=3.0.99",
                            "http:\/\/wordpressmu-161283-466187.cloudwaysapps.com\/wp-content\/themes\/Divi\/core\/admin\/js\/common.js?ver=3.0.99",
                            "http:\/\/wordpressmu-161283-466187.cloudwaysapps.com\/wp-includes\/js\/wp-embed.min.js?ver=4.9.4"
                        ]
                    }
                },
                "single": {
                    "include-body": {
                        "files": [
                            "http:\/\/wordpressmu-161283-466187.cloudwaysapps.com\/wp-includes\/js\/comment-reply.min.js?ver=4.9.4",
                            "http:\/\/wordpressmu-161283-466187.cloudwaysapps.com\/wp-content\/plugins\/akismet\/_inc\/form.js?ver=4.0.3"
                        ]
                    }
                }
            }
        },
        "minify.yuijs.path.java": "java",
        "minify.yuijs.path.jar": "yuicompressor.jar",
        "minify.yuijs.options.line-break": 5000,
        "minify.yuijs.options.nomunge": false,
        "minify.yuijs.options.preserve-semi": false,
        "minify.yuijs.options.disable-optimizations": false,
        "minify.yuicss.path.java": "java",
        "minify.yuicss.path.jar": "yuicompressor.jar",
        "minify.yuicss.options.line-break": 5000,
        "minify.ccjs.path.java": "java",
        "minify.ccjs.path.jar": "compiler.jar",
        "minify.ccjs.options.compilation_level": "SIMPLE_OPTIMIZATIONS",
        "minify.ccjs.options.formatting": "",
        "minify.csstidy.options.remove_bslash": true,
        "minify.csstidy.options.compress_colors": false,
        "minify.csstidy.options.compress_font-weight": false,
        "minify.csstidy.options.lowercase_s": false,
        "minify.csstidy.options.optimise_shorthands": 0,
        "minify.csstidy.options.remove_last_;": false,
        "minify.csstidy.options.remove_space_before_important": false,
        "minify.csstidy.options.case_properties": 1,
        "minify.csstidy.options.sort_properties": false,
        "minify.csstidy.options.sort_selectors": false,
        "minify.csstidy.options.merge_selectors": 0,
        "minify.csstidy.options.discard_invalid_selectors": false,
        "minify.csstidy.options.discard_invalid_properties": false,
        "minify.csstidy.options.css_level": "CSS3.0",
        "minify.csstidy.options.preserve_css": false,
        "minify.csstidy.options.timestamp": false,
        "minify.csstidy.options.template": "highest_compression",
        "minify.htmltidy.options.clean": false,
        "minify.htmltidy.options.hide-comments": true,
        "minify.htmltidy.options.wrap": 0,
        "minify.reject.logged": "0",
        "minify.reject.ua": [
            ""
        ],
        "minify.reject.uri": [
            ""
        ],
        "minify.reject.files.js": [
            ""
        ],
        "minify.reject.files.css": [
            ""
        ],
        "minify.cache.files": [
            ""
        ],
        "minify.cache.files_regexp": "0",
        "cdn.configuration_overloaded": false,
        "cdn.enabled": "0",
        "cdn.debug": "0",
        "cdn.engine": "mirror",
        "cdn.uploads.enable": true,
        "cdn.includes.enable": true,
        "cdn.includes.files": "*.css;*.js;*.gif;*.png;*.jpg;*.xml",
        "cdn.theme.enable": true,
        "cdn.theme.files": "*.css;*.js;*.gif;*.png;*.jpg;*.ico;*.ttf;*.otf;*.woff;*.woff2;*.less",
        "cdn.minify.enable": true,
        "cdn.custom.enable": true,
        "cdn.custom.files": [
            "favicon.ico",
            "{wp_content_dir}\/gallery\/*",
            "{wp_content_dir}\/uploads\/avatars\/*",
            "{plugins_dir}\/wordpress-seo\/css\/xml-sitemap.xsl",
            "{plugins_dir}\/wp-minify\/min*",
            "{plugins_dir}\/*.js",
            "{plugins_dir}\/*.css",
            "{plugins_dir}\/*.gif",
            "{plugins_dir}\/*.jpg",
            "{plugins_dir}\/*.png"
        ],
        "cdn.import.files": false,
        "cdn.queue.interval": 900,
        "cdn.queue.limit": 25,
        "cdn.force.rewrite": false,
        "cdn.autoupload.enabled": false,
        "cdn.autoupload.interval": 3600,
        "cdn.canonical_header": false,
        "cdn.admin.media_library": false,
        "cdn.cors_header": true,
        "cdn.ftp.host": "",
        "cdn.ftp.type": "",
        "cdn.ftp.user": "",
        "cdn.ftp.pass": "",
        "cdn.ftp.path": "",
        "cdn.ftp.pasv": false,
        "cdn.ftp.domain": [],
        "cdn.ftp.ssl": "auto",
        "cdn.google_drive.client_id": "",
        "cdn.google_drive.refresh_token": "",
        "cdn.google_drive.folder.id": "",
        "cdn.google_drive.folder.title": "",
        "cdn.google_drive.folder.url": "",
        "cdn.highwinds.account_hash": "",
        "cdn.highwinds.api_token": "",
        "cdn.highwinds.host.hash_code": "",
        "cdn.highwinds.host.domains": [],
        "cdn.highwinds.ssl": "auto",
        "cdn.s3.key": "",
        "cdn.s3.secret": "",
        "cdn.s3.bucket": "",
        "cdn.s3.bucket.location": "us-east-1",
        "cdn.s3.cname": [],
        "cdn.s3.ssl": "auto",
        "cdn.s3_compatible.api_host": "auto",
        "cdn.cf.key": "",
        "cdn.cf.secret": "",
        "cdn.cf.bucket": "",
        "cdn.cf.bucket.location": "us-east-1",
        "cdn.cf.id": "",
        "cdn.cf.cname": [],
        "cdn.cf.ssl": "auto",
        "cdn.cf2.key": "",
        "cdn.cf2.secret": "",
        "cdn.cf2.id": "",
        "cdn.cf2.cname": [],
        "cdn.cf2.ssl": "",
        "cdn.rscf.user": "",
        "cdn.rscf.key": "",
        "cdn.rscf.location": "us",
        "cdn.rscf.container": "",
        "cdn.rscf.cname": [],
        "cdn.rscf.ssl": "auto",
        "cdn.rackspace_cdn.user_name": "",
        "cdn.rackspace_cdn.api_key": "",
        "cdn.rackspace_cdn.region": "",
        "cdn.rackspace_cdn.service.access_url": "",
        "cdn.rackspace_cdn.service.id": "",
        "cdn.rackspace_cdn.service.name": "",
        "cdn.rackspace_cdn.service.protocol": "http",
        "cdn.rackspace_cdn.domains": [],
        "cdn.azure.user": "",
        "cdn.azure.key": "",
        "cdn.azure.container": "",
        "cdn.azure.cname": [],
        "cdn.azure.ssl": "auto",
        "cdn.mirror.domain": [],
        "cdn.mirror.ssl": "auto",
        "cdn.limelight.short_name": "",
        "cdn.limelight.username": "",
        "cdn.limelight.api_key": "",
        "cdn.limelight.host.domains": [],
        "cdn.limelight.ssl": "auto",
        "cdn.maxcdn.authorization_key": "",
        "cdn.maxcdn.domain": [],
        "cdn.maxcdn.ssl": "auto",
        "cdn.maxcdn.zone_id": 0,
        "cdn.cotendo.username": "",
        "cdn.cotendo.password": "",
        "cdn.cotendo.zones": [],
        "cdn.cotendo.domain": [],
        "cdn.cotendo.ssl": "auto",
        "cdn.akamai.username": "",
        "cdn.akamai.password": "",
        "cdn.akamai.email_notification": [],
        "cdn.akamai.action": "invalidate",
        "cdn.akamai.zone": "production",
        "cdn.akamai.domain": [],
        "cdn.akamai.ssl": "auto",
        "cdn.edgecast.account": "",
        "cdn.edgecast.token": "",
        "cdn.edgecast.domain": [],
        "cdn.edgecast.ssl": "auto",
        "cdn.att.account": "",
        "cdn.att.token": "",
        "cdn.att.domain": [],
        "cdn.att.ssl": "auto",
        "cdn.stackpath.authorization_key": "",
        "cdn.stackpath.domain": [],
        "cdn.stackpath.ssl": "auto",
        "cdn.stackpath.zone_id": 0,
        "cdn.reject.admins": false,
        "cdn.reject.logged_roles": false,
        "cdn.reject.roles": [],
        "cdn.reject.ua": [],
        "cdn.reject.uri": [],
        "cdn.reject.files": [
            "{uploads_dir}\/wpcf7_captcha\/*",
            "{uploads_dir}\/imagerotator.swf",
            "{plugins_dir}\/wp-fb-autoconnect\/facebook-platform\/channel.html"
        ],
        "cdn.reject.ssl": false,
        "cdnfsd.enabled": "0",
        "cdnfsd.engine": "",
        "cdnfsd.debug": "0",
        "cdnfsd.cloudfront.access_key": "",
        "cdnfsd.cloudfront.secret_key": "",
        "cdnfsd.cloudfront.distribution_id": "",
        "cdnfsd.limelight.short_name": "",
        "cdnfsd.limelight.username": "",
        "cdnfsd.limelight.api_key": "",
        "cdnfsd.maxcdn.api_key": "",
        "cdnfsd.maxcdn.zone_id": 0,
        "cdnfsd.stackpath.api_key": "",
        "cdnfsd.stackpath.zone_id": 0,
        "varnish.configuration_overloaded": false,
        "varnish.enabled": "1",
        "varnish.debug": "0",
        "varnish.servers": [
            "18.197.133.154:8080"
        ],
        "browsercache.configuration_overloaded": false,
        "browsercache.enabled": "1",
        "browsercache.rewrite": "0",
        "browsercache.no404wp": "0",
        "browsercache.no404wp.exceptions": [
            "robots\\.txt",
            "[a-z0-9_\\-]*sitemap[a-z0-9_\\-]*\\.(xml|xsl|html)(\\.gz)?"
        ],
        "browsercache.cssjs.last_modified": "1",
        "browsercache.cssjs.compression": "1",
        "browsercache.cssjs.expires": "1",
        "browsercache.cssjs.lifetime": "31536000",
        "browsercache.cssjs.nocookies": "1",
        "browsercache.cssjs.cache.control": "1",
        "browsercache.cssjs.cache.policy": "cache_public_maxage",
        "browsercache.cssjs.etag": "1",
        "browsercache.cssjs.w3tc": "1",
        "browsercache.cssjs.replace": "0",
        "browsercache.cssjs.querystring": "0",
        "browsercache.html.compression": "1",
        "browsercache.html.last_modified": "1",
        "browsercache.html.expires": "1",
        "browsercache.html.lifetime": "3600",
        "browsercache.html.cache.control": "1",
        "browsercache.html.cache.policy": "cache_public_maxage",
        "browsercache.html.etag": "1",
        "browsercache.html.w3tc": "1",
        "browsercache.html.replace": false,
        "browsercache.other.last_modified": "1",
        "browsercache.other.compression": "1",
        "browsercache.other.expires": "1",
        "browsercache.other.lifetime": "31536000",
        "browsercache.other.nocookies": "1",
        "browsercache.other.cache.control": "1",
        "browsercache.other.cache.policy": "cache_public_maxage",
        "browsercache.other.etag": "1",
        "browsercache.other.w3tc": "1",
        "browsercache.other.replace": "0",
        "browsercache.other.querystring": "0",
        "browsercache.replace.exceptions": [
            ""
        ],
        "browsercache.security.session.cookie_httponly": "",
        "browsercache.security.session.cookie_secure": "",
        "browsercache.security.session.use_only_cookies": "",
        "browsercache.hsts": "0",
        "browsercache.security.hsts.directive": "maxage",
        "browsercache.security.xfo": false,
        "browsercache.security.xfo.directive": "same",
        "browsercache.security.xfo.allow": "",
        "browsercache.security.xss": false,
        "browsercache.security.xss.directive": "block",
        "browsercache.security.xcto": false,
        "browsercache.security.pkp": false,
        "browsercache.security.pkp.pin": "",
        "browsercache.security.pkp.pin.backup": "",
        "browsercache.security.pkp.extra": "maxage",
        "browsercache.security.pkp.report.url": "",
        "browsercache.security.pkp.report.only": "0",
        "browsercache.security.referrer.policy": "false",
        "browsercache.security.referrer.policy.directive": "0",
        "browsercache.security.csp": false,
        "browsercache.security.csp.base": "",
        "browsercache.security.csp.frame": "",
        "browsercache.security.csp.connect": "",
        "browsercache.security.csp.font": "",
        "browsercache.security.csp.script": "",
        "browsercache.security.csp.style": "",
        "browsercache.security.csp.img": "",
        "browsercache.security.csp.media": "",
        "browsercache.security.csp.object": "",
        "browsercache.security.csp.plugin": "",
        "browsercache.security.csp.form": "",
        "browsercache.security.csp.frame.ancestors": "",
        "browsercache.security.csp.sandbox": "",
        "browsercache.security.csp.default": "",
        "mobile.configuration_overloaded": false,
        "mobile.enabled": false,
        "mobile.rgroups": {
            "high": {
                "theme": "",
                "enabled": false,
                "redirect": "",
                "agents": [
                    "android",
                    "mobi",
                    "bada",
                    "incognito",
                    "kindle",
                    "maemo",
                    "opera\\ mini",
                    "s8000",
                    "series60",
                    "ucbrowser",
                    "ucweb",
                    "webmate",
                    "webos"
                ]
            },
            "low": {
                "theme": "",
                "enabled": false,
                "redirect": "",
                "agents": [
                    "2\\.0\\ mmp",
                    "240x320",
                    "alcatel",
                    "amoi",
                    "asus",
                    "au\\-mic",
                    "audiovox",
                    "avantgo",
                    "benq",
                    "bird",
                    "blackberry",
                    "blazer",
                    "cdm",
                    "cellphone",
                    "danger",
                    "ddipocket",
                    "docomo",
                    "dopod",
                    "elaine\/3\\.0",
                    "ericsson",
                    "eudoraweb",
                    "fly",
                    "haier",
                    "hiptop",
                    "hp\\.ipaq",
                    "htc",
                    "huawei",
                    "i\\-mobile",
                    "iemobile",
                    "iemobile\/7",
                    "iemobile\/9",
                    "j\\-phone",
                    "kddi",
                    "konka",
                    "kwc",
                    "kyocera\/wx310k",
                    "lenovo",
                    "lg",
                    "lg\/u990",
                    "lge\\ vx",
                    "midp",
                    "midp\\-2\\.0",
                    "mmef20",
                    "mmp",
                    "mobilephone",
                    "mot\\-v",
                    "motorola",
                    "msie\\ 10\\.0",
                    "netfront",
                    "newgen",
                    "newt",
                    "nintendo\\ ds",
                    "nintendo\\ wii",
                    "nitro",
                    "nokia",
                    "novarra",
                    "o2",
                    "openweb",
                    "opera\\ mobi",
                    "opera\\.mobi",
                    "p160u",
                    "palm",
                    "panasonic",
                    "pantech",
                    "pdxgw",
                    "pg",
                    "philips",
                    "phone",
                    "playbook",
                    "playstation\\ portable",
                    "portalmmm",
                    "\\bppc\\b",
                    "proxinet",
                    "psp",
                    "qtek",
                    "sagem",
                    "samsung",
                    "sanyo",
                    "sch",
                    "sch\\-i800",
                    "sec",
                    "sendo",
                    "sgh",
                    "sharp",
                    "sharp\\-tq\\-gx10",
                    "small",
                    "smartphone",
                    "softbank",
                    "sonyericsson",
                    "sph",
                    "symbian",
                    "symbian\\ os",
                    "symbianos",
                    "toshiba",
                    "treo",
                    "ts21i\\-10",
                    "up\\.browser",
                    "up\\.link",
                    "uts",
                    "vertu",
                    "vodafone",
                    "wap",
                    "willcome",
                    "windows\\ ce",
                    "windows\\.ce",
                    "winwap",
                    "xda",
                    "xoom",
                    "zte"
                ]
            }
        },
        "referrer.configuration_overloaded": false,
        "referrer.enabled": false,
        "referrer.rgroups": {
            "search_engines": {
                "theme": "",
                "enabled": false,
                "redirect": "",
                "referrers": [
                    "google\\.com",
                    "yahoo\\.com",
                    "bing\\.com",
                    "ask\\.com",
                    "msn\\.com"
                ]
            }
        },
        "common.support": "",
        "common.track_usage": "0",
        "common.tweeted": false,
        "config.check": "1",
        "config.path": "",
        "widget.latest.items": 3,
        "widget.latest_news.items": 5,
        "widget.pagespeed.enabled": "1",
        "widget.pagespeed.key": "",
        "widget.pagespeed.key.restrict.referrer": "",
        "widget.pagespeed.show_in_admin_bar": "0",
        "timelimit.email_send": 180,
        "timelimit.varnish_purge": 300,
        "timelimit.cache_flush": 600,
        "timelimit.cache_gc": 600,
        "timelimit.cdn_upload": 600,
        "timelimit.cdn_delete": 300,
        "timelimit.cdn_purge": 300,
        "timelimit.cdn_import": 600,
        "timelimit.cdn_test": 300,
        "timelimit.cdn_container_create": 300,
        "timelimit.domain_rename": 120,
        "timelimit.minify_recommendations": 600,
        "common.instance_id": 2087107436,
        "common.force_master": "1",
        "extensions.active": {
            "cloudflare": "w3-total-cache\/Extension_CloudFlare_Plugin.php",
            "fragmentcache": "w3-total-cache\/Extension_FragmentCache_Plugin.php",
            "newrelic": "w3-total-cache\/Extension_NewRelic_Plugin.php",
            "swarmify": "w3-total-cache\/Extension_Swarmify_Plugin.php"
        },
        "extensions.active_frontend": {
            "cloudflare": "*"
        },
        "plugin.license_key": "",
        "plugin.type": "",
        "fragmentcache": {
            "engine": ""
        },
        "cloudflare": {
            "email": "info@lunacup.eu",
            "key": "1a84aea3eae2236023f39a3799501bec5d062",
            "zone_id": "56a1a19818c14604cff7184b6ab3405a",
            "zone_name": "lunacup.eu",
            "widget_cache_mins": "5",
            "pagecache": "0"
        },
        "pgcache.bad_behavior_path": "",
        "newrelic": {
            "monitoring_type": "apm"
        }
    }
    Plugin Support gidomanders

    (@gidomanders)

    Sorry for the delayed reply, I had to debug different settings to check what caused the delay. I could replicate the issue, it took 30 seconds to update a post on my localhost. When I unchecked Enable reverse proxy caching via varnish in Performance => General Settings, pages updated within seconds again. That was the only option causing the delay on my localhost, so I think that might be your issue too. Could you check if the Reverse Proxy settings are correct and check if the varnish server specified is in fact responding?

    Hi, yes, it solved the problem!
    So probably something with the Varnish settings of my host (Cloudways – AWS).

    If I look at statistics of Varnish, it responding, but the hit rate is just around 30 % of successful hits to Varnish Cache.

    Thank you for your help!

    • This reply was modified 5 months, 1 week ago by  oldrich333.
Viewing 12 replies - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.