Viewing 15 replies - 16 through 30 (of 34 total)
  • Plugin Author AITpro

    (@aitpro)

    Query Strings are automatically cached by all Browsers. So I do not fully understand the logic of doing that. Unless what you mean is something else? Example: A Browser will cache this URL with this Query String: example.com/path-to-file/example.js?ver=X. If the Query String changes then the URL has been changed and the Browser will use the new URL and cache it/the new Query String: example.com/path-to-file/example.js?ver=Y.

    KTS915

    (@kts915)

    Interesting discussion you’ve been having!

    Query Strings are automatically cached by all Browsers. So I do not fully understand the logic of doing that. Unless what you mean is something else?

    Browser caching only works for that particular user/browser. Comet Cache’s ability to cache query strings means that such cached URLs can be served to other users too.

    Plugin Author AITpro

    (@aitpro)

    Ah ok then you are talking about page caching and not Browser caching. got it.
    https://cometcache.com/kb-article/why-isnt-my-dynamic-content-updating/

    KTS915

    (@kts915)

    Exactly. Page caching is what Comet Cache does.

    Plugin Author AITpro

    (@aitpro)

    Yep, just like what almost every other WP Caching plugin offers. Comet Cache also does have a gzip option (using standard gzip Browser caching htaccess code) to add Browser caching as well. I like the methods Comet Cache is using for page caching vs all the other WP Caching plugins page caching methods. 😉

    Plugin Author AITpro

    (@aitpro)

    I think Comet Cache handles opcode caching variations better than other WP caching plugins especially when it comes to the older APC opcode cache, which is no longer being developed.

    KTS915

    (@kts915)

    @aitpro, I agree with all your positive comments about Comet Cache. I use it on all my sites.

    Thread Starter flyfisher842

    (@flyfisher842)

    Yes I was asking about page caching. Specifically I am trying to use Comet Cache to fix the remove querys from static resources with Comet Cache rather than with BPS htaccess code. I was wondering if caching the little buggers would help with this issue. Especially since GTMetrix and google tell us which ones they are unhappy about.

    I would be nice if theme developers could take care of this issue and develop a super optimized theme.

    KTS915

    (@kts915)

    @flyfisher842, you probably should cache query strings. But you need to appreciate that GTMetrix is just giving generic advice that’s for sites that might not even be using WordPress.

    In fact, the only issue with query strings that GTMetrix has is that they might prevent caching! Clearly, if you use Comet Cache, that’s not a problem, so the advice is just irrelevant.

    Don’t be fixated on trying to get your score up on sites like GTMetrix. What matters far more is how your site “feels” to real users. GTMetrix can offer some useful guidance, but you need to understand what it means.

    Plugin Author AITpro

    (@aitpro)

    Typically online benchmark testing sites/tools check to see if Query Strings exist and recommend that you remove them. So page caching pages will still include the Query Strings in those cached pages. I assume the online benchmark testing sites/tools will still say you should remove Query Strings.

    Removing Query Strings may increase your site load performance in milliseconds, but could break plugins and themes. https://cometcache.com/kb-article/why-doesnt-comet-cache-remove-query-strings-from-static-resources/

    Thread Starter flyfisher842

    (@flyfisher842)

    I am reopening this thread.
    I am finding author pages being cached with comet cache including my login page with my real user name not my alias

    And of course the jugglybot has found it too as i can find it on my webmaster tools pages in crawl errors as a 404 but with my real user name on it. Changing the name will not fix anything as this is a comet cache problem.

    I am running BPS with the author code in it so am probably protected but I would like to know how to turn off the author page function if possible. Another wasted WP function IMO.

    Plugin Author AITpro

    (@aitpro)

    In general, you would look for these functions: the_author_link() and the_author() in any/all of your plugins and/or theme: http://forum.ait-pro.com/forums/topic/revealing-the-admin-or-editor-user-name-and-not-knowing/#post-6064

    Maybe Comet Cache automatically does something like (seriously doubt that), but that would be a question for Comet Cache and not me since I only basics about the Comet Cache plugin.

    Thread Starter flyfisher842

    (@flyfisher842)

    yes I know. This was just a heads up. I have already posted on the comet cache support. This is too bad because I got some really good improvement in page loads with comet cache

    I have found 2 ways to disable author pages via the functions.php but to do it right I have to use child themes. Another hassle.

    Thread Starter flyfisher842

    (@flyfisher842)

    There are two current plugins Remove Author Pages and Disable Author Pages that are compatible with 4.5.2

    Thread Starter flyfisher842

    (@flyfisher842)

    I got it sorted. This was a WP issue and one that should not have happened if I as a bit more alert after changing usernames.

    Comet Cache is ok on this.

    I did get some good author disable plugins and some good username protect plugins out of it though and some code to use to turn off the author pages period.

    Go ahead and close the thread again.

Viewing 15 replies - 16 through 30 (of 34 total)

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