wordpress cache

Solutions on MaxInterview for wordpress cache by the best coders in the world

showing results for - "wordpress cache"
Debbie
05 Oct 2016
1As far as browser caching, add the following code into your .htaccess file, after the few lines from WordPress:
2
3AddType application/octet-stream zip, .rar, .jpg, .png, .psd, .gif, .jpeg, .ai, .cdr, .eps, .txt, .pdf, .doc, .docx, .ppt, .pptx, .pps, .ppsx, .odt, .xls, .xlsx, .mp3, .m4a, .ogg, .wav, .mp4, .m4v, .mov, .wmv, .avi, .mpg, .ogv
4# Compress HTML, CSS, JavaScript, Text, XML and fonts
5AddOutputFilterByType DEFLATE application/javascript
6AddOutputFilterByType DEFLATE application/rss+xml
7AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
8AddOutputFilterByType DEFLATE application/x-font
9AddOutputFilterByType DEFLATE application/x-font-opentype
10AddOutputFilterByType DEFLATE application/x-font-otf
11AddOutputFilterByType DEFLATE application/x-font-truetype
12AddOutputFilterByType DEFLATE application/x-font-ttf
13AddOutputFilterByType DEFLATE application/x-javascript
14AddOutputFilterByType DEFLATE application/xhtml+xml
15AddOutputFilterByType DEFLATE application/xml
16AddOutputFilterByType DEFLATE font/opentype
17AddOutputFilterByType DEFLATE font/otf
18AddOutputFilterByType DEFLATE font/ttf
19AddOutputFilterByType DEFLATE image/svg+xml
20AddOutputFilterByType DEFLATE image/x-icon
21AddOutputFilterByType DEFLATE text/css
22AddOutputFilterByType DEFLATE text/html
23AddOutputFilterByType DEFLATE text/javascript
24AddOutputFilterByType DEFLATE text/plain
25AddOutputFilterByType DEFLATE text/xml
26
27# Remove browser bugs (only needed for really old browsers)
28BrowserMatch ^Mozilla/4 gzip-only-text/html
29BrowserMatch ^Mozilla/4\.0[678] no-gzip
30BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
31Header append Vary User-Agent
32
33## EXPIRES CACHING ##
34
35ExpiresActive On
36ExpiresByType image/jpg "access plus 1 year"
37ExpiresByType image/jpeg "access plus 1 year"
38ExpiresByType image/gif "access plus 1 year"
39ExpiresByType image/png "access plus 1 year"
40ExpiresByType text/css "access plus 1 month"
41ExpiresByType application/pdf "access plus 1 month"
42ExpiresByType text/x-javascript "access plus 1 month"
43ExpiresByType text/javascript "access plus 1 month"
44ExpiresByType application/x-javascript "access plus 1 month"
45ExpiresByType application/javascript "access plus 1 month"
46ExpiresByType application/x-shockwave-flash "access plus 1 month"
47ExpiresByType image/x-icon "access plus 1 year"
48ExpiresDefault "access plus 2 days"
49
50## EXPIRES CACHING ##
queries leading to this page
clear cache wordpress pageswordpress clear cachdocker wordpress cachecache plugin wordpresshow to clear cache in wordpressdatabase cache wordpresswordpress cachedefault wordpress cache filewordpress cache issuewp cache in wordpresshow to clear cache wordpressauto clear cache in wordpress pluginhow do i clear the cache in wordpress 3fhow to clear wordpress com cachecache wordpress pluginwordpress cache pluginremove page cache from my wordpress sitewordpress cache functionwordpress disable cacheempty wordpress cachewordpress force update cacheclear wordpress query cachewordpress caches pagehow to purge cache in wordpresspurge cache wordpresswordpress cache plugin freewordpress remove cacheclear cache in wordpresscustom cache wordpresswordpress enable cachebest free cache wordpresswordpress borrar cachewordpress cache locationwordpress disable cache for a pagewordpress page cachedhow to save cache with wordpressserver cache wordpresswordpress cache clearhow to clear cache of wordpress websitewordpress delete cacheclear cache wordpresswordpress clear cache mysqlwordpress cache errorwordpress cached pagewordpress empty the page cachedoes wordpress have a cachebest cache for wordpressclear wordpress cachewp cache functionhow cache works wordpresswordpress force cache resethow to clear wordpress cachewordpress et cachebest cache clearing for wordpresscache settings wordpresswordpress set cache expirationwordpress clear widget cacheclear cache wordpress command lineremove cache in wordpress sitewordpress clear cachewordpress cache folderwordpress cache datacache wordpresswordpress cache