Title: BPS Caching Code
Last modified: August 31, 2016

---

# BPS Caching Code

 *  Resolved [flyfisher842](https://wordpress.org/support/users/flyfisher842/)
 * (@flyfisher842)
 * [10 years ago](https://wordpress.org/support/topic/bps-caching-code/)
 * re BPS cache code and comet cache
 * I am trying out comet cache on two sites. Is it necessary to use BPS cache code
   in the htaccess or will that slow down or interfere with comet cache or other
   caching plugins
 * [https://wordpress.org/plugins/bulletproof-security/](https://wordpress.org/plugins/bulletproof-security/)

Viewing 15 replies - 1 through 15 (of 34 total)

1 [2](https://wordpress.org/support/topic/bps-caching-code/page/2/?output_format=md)
[3](https://wordpress.org/support/topic/bps-caching-code/page/3/?output_format=md)
[→](https://wordpress.org/support/topic/bps-caching-code/page/2/?output_format=md)

 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [10 years ago](https://wordpress.org/support/topic/bps-caching-code/#post-7415951)
 * I assume comet cache uses/comes with its own htaccess Browser caching code since
   every single WordPress caching plugin that I am aware of typically comes with
   its own htaccess Browser caching code. So you would use the comet cache htaccess
   Browser caching code and not BPS Speed Boost htaccess Browser caching code. Using
   2 sets/code blocks of htaccess Browser caching code would be redundant so I am
   not exactly sure what could happen if you do that. Never tested that before.
 *  Thread Starter [flyfisher842](https://wordpress.org/support/users/flyfisher842/)
 * (@flyfisher842)
 * [10 years ago](https://wordpress.org/support/topic/bps-caching-code/#post-7415991)
 * as far as I can tell comet cache adds no code to the htaccess. It a turn it on
   and mostly let it run. I makes static html pages in a cache folder which is why
   it adds nothing to the htaccess file as far as I have seen.
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [10 years ago](https://wordpress.org/support/topic/bps-caching-code/#post-7415997)
 * Comet Cache (PKA ZenCache) has an additional option called GZIP Compression, 
   which uses/creates htaccess Browser caching code: [https://wordpress.org/plugins/comet-cache/screenshots/](https://wordpress.org/plugins/comet-cache/screenshots/)
   So if you choose to use that option then delete the BPS htaccess Speed Boost 
   Cache code, which also has Gzip Compression Browser caching htaccess code. The
   choice is up to you.
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [10 years ago](https://wordpress.org/support/topic/bps-caching-code/#post-7416011)
 * I just tested Comet Cache. HOLY SMOKES! Looks like I will most likely be going
   Comet Cache Pro. I was creating a page caching plugin because I could not find
   an existing page caching plugin that did not have some kind of problems on my
   host. The speed is identical to what I was building so no need to build it any
   longer. A solution already exists. SWEET!
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [10 years ago](https://wordpress.org/support/topic/bps-caching-code/#post-7416013)
 * Damn it. It breaks the mobile plugin I am using, which I will getting rid of 
   soon anyway and just making my custom theme Responsive, but I cannot use Comet
   Cache until I dump my mobile plugin and go Responsive. Rats!
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [10 years ago](https://wordpress.org/support/topic/bps-caching-code/#post-7416015)
 * SWEET! Just needed to exclude User Agents.
    User-Agent Exclusion Patterns iPhone
   iPod Android BB10 BlackBerry webOS IEMobile/7.0 IEMobile/9.0 IEMobile/10.0 MSIE
   10.0 iPad PlayBook Xoom P160U SCH-I800 Nexus 7 Touch
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [10 years ago](https://wordpress.org/support/topic/bps-caching-code/#post-7416026)
 * I beefed up the BPS Speed Boost Cache Code: [http://forum.ait-pro.com/forums/topic/htaccess-caching-code-speed-boost-cache-code/](http://forum.ait-pro.com/forums/topic/htaccess-caching-code-speed-boost-cache-code/)
   and added some more things to it. So grab the newest BPS Speed Boost Cache Code
   htaccess code. Using both the BPS Speed Boost Cache Code and Comet Cache together
   produces blazing fast speeds.
 *  Thread Starter [flyfisher842](https://wordpress.org/support/users/flyfisher842/)
 * (@flyfisher842)
 * [10 years ago](https://wordpress.org/support/topic/bps-caching-code/#post-7416050)
 * Do you have any suggestions for these
    1. Minify html 2. Minify CSS 3. Minify
   Javascript 4. Remove query strings from static resources These seem to relate
   a lot to WordPress core theme stuff which I don’t understand should come into
   play when those themes are not being used just in the theme bucket. I can understand
   the current theme having some of this stuff in here but 2016 theme emojii for
   example. Unless WP core is calling those.
 *  Thread Starter [flyfisher842](https://wordpress.org/support/users/flyfisher842/)
 * (@flyfisher842)
 * [10 years ago](https://wordpress.org/support/topic/bps-caching-code/#post-7416074)
 * [http://www.yourindoorherbgarden.com](http://www.yourindoorherbgarden.com)
    Using
   just your new speedboost vs old speedboost pingdom san jose 12 requests old 90%
   new 92% This may be due to my browser cache being set from first test But using
   comet cache I could not get over 63% on any pingdom test location. And cometcache
   added 6 more page requests to the load.
 * I wonder if it is your etag setting or if comet cache default expire of 7 days
   conflicts with speed boost mostly 2 day expire time
 *  Thread Starter [flyfisher842](https://wordpress.org/support/users/flyfisher842/)
 * (@flyfisher842)
 * [10 years ago](https://wordpress.org/support/topic/bps-caching-code/#post-7416087)
 * [http://www.successfulflyfishing.com/how-to-identify-trout-species/](http://www.successfulflyfishing.com/how-to-identify-trout-species/)
 * Tested from San Jose, California, USA on May 26 at 06:16:55
 * Page size 483.7kB
 * Load time 362ms
 * Requests 32
 * Perf. grade 81/100
 * Your website is faster than 98% of all tested websites
 * Not too bad using comet cache and your old speed boost code.
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [10 years ago](https://wordpress.org/support/topic/bps-caching-code/#post-7416114)
 * The new Speed Boost Cache code is faster on every benchmark speed test I did 
   on my sites so maybe there is some other factor on your sites that is different.
   ie one or more of the lines of code do not work well on your particular site.
   Your primary goal is optimum website performance vs getting the best grade possible.
   All website speed benchmark testing sites include checks for everything under
   the sun for every type of website. They do not have different tests for different
   types of websites. ie an HTML site vs a WordPress site. So don’t get too caught
   up in getting a better grade and focus on actual website performance.
 * You can do benchmark/website load speed/performance testing/checking with Firefox,
   Firebug, Firephp and Yslow or you can use one of the online website speed testing
   sites such as Google PageSpeed Insights, Pingdom or GTmetrix. I personally prefer
   Firefox, Firebug, Firephp and Yslow because you are loading your site from your
   computer and can see that actual load speed performance vs being told the load
   speed performance by a benchmark testing website.
 * 1. Minify html, 2. Minify CSS, 3. Minify Javascript are more about getting a 
   better grade vs a real performance increase.
 * 4. Remove query strings from static resources
    You can do this in your theme 
   functions.php file or by using a plugin and I believe it does help a little. 
   ie you may be able to improve performance in milliseconds. [http://forum.ait-pro.com/forums/topic/remove-query-strings-from-static-resources/](http://forum.ait-pro.com/forums/topic/remove-query-strings-from-static-resources/)
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [10 years ago](https://wordpress.org/support/topic/bps-caching-code/#post-7416120)
 * I just fiddled around with creating Query String removal code and this has code
   has the nice added benefit of allowing you to remove additional Query String 
   Parameters besides just ?ver= if you wanted to do that (be careful with doing
   that unless you understand what you are doing – probably best just to use the
   code exactly as is): [http://forum.ait-pro.com/forums/topic/remove-query-strings-from-static-resources/#post-29602](http://forum.ait-pro.com/forums/topic/remove-query-strings-from-static-resources/#post-29602)
 *  Thread Starter [flyfisher842](https://wordpress.org/support/users/flyfisher842/)
 * (@flyfisher842)
 * [10 years ago](https://wordpress.org/support/topic/bps-caching-code/#post-7416154)
 * Thanks for all the information on the other items I asked about. I will do some
   testing on the old code vs the new speed boost.
 * The info on the other items was very helpful. I have seen plugins that do minify
   and removal but every plugin that has to load has a performance hit.
 * I will close out this thread for now and reopen if I get more info you might 
   be interested in.
 * Again thanks for the help on this topic.
 *  Thread Starter [flyfisher842](https://wordpress.org/support/users/flyfisher842/)
 * (@flyfisher842)
 * [10 years ago](https://wordpress.org/support/topic/bps-caching-code/#post-7416196)
 * I am going to reopen this for this post. Just got done testing this URI
    [http://www.successfulflyfishing.com/how-to-identify-trout-species/](http://www.successfulflyfishing.com/how-to-identify-trout-species/)
   with comet cache, old speed boost and optimized images GTMetrix Page Load 93 
   YSlow89 loadtime 0.9 424KB 31 requests
 * Pingdom San Jose
    Perf 81/100 requests 32 loadtime 398ms page size 483.8 faster
   than 98% of all tested websites
 * I don’t think new speedboost will improve this mich but I will test it to see.
 * The insights page beats my out by 1% at 99% faster but it is only 1/2 my page
   size and not many images.
 * So Speedboost and comet cache together really to rock.
 * *****************
    I also got the stuff taken care of on fly-fishing-colorado.
   com with comet cache and headers not showing after an update. Had to delete almost
   80 bad images out of the media library and fix a bunch of links but all is working
   now. +++++++++++++++++ Thanks again for all your help and info on this caching
   issue. You gave me some good info.
 *  Thread Starter [flyfisher842](https://wordpress.org/support/users/flyfisher842/)
 * (@flyfisher842)
 * [10 years ago](https://wordpress.org/support/topic/bps-caching-code/#post-7416222)
 * Comet Cache has the ability to selectively cache dynamic query strings such as
   the google font api and emojiis that many themes use. What would be the effect
   of caching them as opposed to removing them from static strings?

Viewing 15 replies - 1 through 15 (of 34 total)

1 [2](https://wordpress.org/support/topic/bps-caching-code/page/2/?output_format=md)
[3](https://wordpress.org/support/topic/bps-caching-code/page/3/?output_format=md)
[→](https://wordpress.org/support/topic/bps-caching-code/page/2/?output_format=md)

The topic ‘BPS Caching Code’ is closed to new replies.

 * ![](https://ps.w.org/bulletproof-security/assets/icon-128x128.png?rev=1731938)
 * [BulletProof Security](https://wordpress.org/plugins/bulletproof-security/)
 * [Support Threads](https://wordpress.org/support/plugin/bulletproof-security/)
 * [Active Topics](https://wordpress.org/support/plugin/bulletproof-security/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bulletproof-security/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bulletproof-security/reviews/)

 * 34 replies
 * 3 participants
 * Last reply from: [AITpro](https://wordpress.org/support/users/aitpro/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/bps-caching-code/page/3/#post-7416333)
 * Status: resolved