Cache Builds up Continuously
-
Good morning,
I use this awesome plugin on several sites, and it works great. However – I have one site where the cache continues to build up until it’s quota is overloaded at least once a week, and I have to go in an manually flush the cache. I don’t know if this has anything to do with Fastest Cache or not – but I thought I’d ask. The settings are the same on this site as the others, so it is baffling me. Please advise. Thank you…Dave
PS On a previous question you helped me with – it turned out to be something in the .htacccess, so I am posting that here in case that turns out to be the case here as well ??
Options -Indexes
# new 032420
<IfModule mod_headers.c>
Header always set Strict-Transport-Security “max-age=31536000; includeSubDomains”
</IfModule><IfModule mod_headers.c>
Header always set X-Frame-Options SAMEORIGIN
</IfModule><IfModule mod_headers.c>
Header set X-Permitted-Cross-Domain-Policies “none”
</IfModule><IfModule mod_headers.c>
Header set Referrer-Policy “no-referrer”
</IfModule><IfModule mod_headers.c>
Header set Expect-CT ‘enforce, max-age=43200, report-uri=”https://somedomain.com/report”‘
</IfModule><IfModule mod_headers.c>
Header always set feature-policy “autoplay ‘none’; camera ‘none'”
</IfModule># end new
<files .htaccess>
Order allow,deny
Deny from all
</files>
<IfModule mod_headers.c>
Header set X-XSS-Protection “1; mode=block”
</IfModule><IfModule mod_headers.c>
Header set X-Content-Type-Options nosniff
</IfModule><files wp-config.php>
order allow,deny
deny from all
</files>## block XML-RPC requests
<Files xmlrpc.php>
order deny,allow
deny from all
</Files>#Recommended by InMotion in 7/2/19 email
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} Mozilla/5\.0\ \(X11;\ Ubuntu;\ Linux\ x86_64;\ rv:62\.0\)\ Gecko/20100101\ Firefox/62\.0
RewriteRule (.*) – [F,L]
</IfModule># BEGIN WpFastestCache
# Modified Time: 16-08-20 8:52:02
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^www.wildhorserescue.org [NC]
RewriteRule ^(.*)$ http\:\/\/wildhorserescue\.org\/$1 [R=301,L]
# Start WPFC Exclude
# End WPFC Exclude
# Start_WPFC_Exclude_Admin_Cookie
RewriteCond %{HTTP:Cookie} !wordpress_logged_in_[^\=]+\=JillStarr|whrAdmin
# End_WPFC_Exclude_Admin_Cookie
RewriteCond %{HTTP_HOST} ^wildhorserescue.org
RewriteCond %{HTTP_USER_AGENT} !(facebookexternalhit|WP_FASTEST_CACHE_CSS_VALIDATOR|Twitterbot|LinkedInBot|WhatsApp|Mediatoolkitbot)
RewriteCond %{HTTP_USER_AGENT} !(WP\sFastest\sCache\sPreload(\siPhone\sMobile)?\s*Bot)
RewriteCond %{REQUEST_METHOD} !POST
RewriteCond %{HTTPS} !=on
RewriteCond %{REQUEST_URI} !(\/){2}$
RewriteCond %{REQUEST_URI} \/$
RewriteCond %{QUERY_STRING} !.+
RewriteCond %{HTTP:Cookie} !comment_author_
RewriteCond %{HTTP:Cookie} !safirmobilswitcher=mobil
RewriteCond %{HTTP:Profile} !^[a-z0-9\”]+ [NC]
RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/all/$1/index.html -f [or]
RewriteCond /home/wildhors74532m49/public_html/wp-content/cache/all/$1/index.html -f
RewriteRule ^(.*) “/wp-content/cache/all/$1/index.html” [L]
</IfModule><FilesMatch “index\.(html|htm)$”>
AddDefaultCharset UTF-8
<ifModule mod_headers.c>
FileETag None
Header unset ETag
Header set Cache-Control “max-age=0, no-cache, no-store, must-revalidate”
Header set Pragma “no-cache”
Header set Expires “Mon, 29 Oct 1923 20:30:00 GMT”
</IfModule></FilesMatch>
# END WpFastestCache
# BEGIN GzipWpFastestCache
<IfModule mod_deflate.c>
AddType x-font/woff .woff
AddType x-font/ttf .ttf
AddOutputFilterByType DEFLATE image/svg+xml
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE text/javascript
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
AddOutputFilterByType DEFLATE application/x-font-ttf
AddOutputFilterByType DEFLATE x-font/ttf
AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
AddOutputFilterByType DEFLATE font/opentype font/ttf font/eot font/otf
</IfModule># END GzipWpFastestCache
# BEGIN WordPress
# The directives (lines) between “BEGIN WordPress” and “END WordPress” are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule># END WordPress
# Wordfence WAF
<Files “.user.ini”>
<IfModule mod_authz_core.c>
Require all denied
</IfModule><IfModule !mod_authz_core.c>
Order deny,allow
Deny from all
</IfModule></Files>
# END Wordfence WAF
<IfModule mod_deflate.c>
# Compress HTML, CSS, JavaScript, Text, XML and fonts
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
AddOutputFilterByType DEFLATE application/x-font
AddOutputFilterByType DEFLATE application/x-font-opentype
AddOutputFilterByType DEFLATE application/x-font-otf
AddOutputFilterByType DEFLATE application/x-font-truetype
AddOutputFilterByType DEFLATE application/x-font-ttf
AddOutputFilterByType DEFLATE application/x-javascript
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE font/opentype
AddOutputFilterByType DEFLATE font/otf
AddOutputFilterByType DEFLATE font/ttf
AddOutputFilterByType DEFLATE image/svg+xml
AddOutputFilterByType DEFLATE image/x-icon
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/javascript
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/xml
# Remove browser bugs (only needed for really old browsers)
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
Header append Vary User-Agent
</IfModule># BEGIN MainWP
# The directives (lines) between “BEGIN MainWP” and “END MainWP” are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
# END MainWP# php — BEGIN cPanel-generated handler, do not edit
# Set the “ea-php74” package as the default “PHP” programming language.
<IfModule mime_module>
AddHandler application/x-httpd-ea-php74 .php .php7 .phtml
</IfModule># php — END cPanel-generated handler, do not edit
The page I need help with: [log in to see the link]
- The topic ‘Cache Builds up Continuously’ is closed to new replies.