Support » Plugin: Autoptimize » Question about ‘Caching’

  • Resolved audiowarrior

    (@zonwarrior)


    Background:
    I am a layman when it comes to optimization. I use Kinsta for hosting. I specifically Cache BYPASS my landing page. I did this so there’s no conflict with my geo-location software.

    Question:
    If I use Autoptimize, will it cache my landing page? Because I do not want to cache my landing page. I just want to make it faster without caching lol.

    If the answer is yes (Autoptimize caches). Which settings should I ignore so I can get the speed benefits of optimization without caching?

    Thank you!

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    Autoptimize does not cache pages, it only optimizes JS, CSS, HTML, Google Fonts & Images (all depending on configuration off course).

    hope this clarifies,
    frank

    Thread Starter audiowarrior

    (@zonwarrior)

    Hi Frank,

    Thank you for the swift reply!

    Just one more clarification:

    Why under your FAQ does it say this? “It concatenates all scripts and styles, minifies and compresses them, adds expires headers, caches them

    Apologies for the layman question. I just want to make sure my geo-ip location shortcodes aren’t affected by this unique cache.

    Thanks again!

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    because it caches the optimized JS/ CSS for re-use, but the page (HTML) is not cached 🙂

    Thread Starter audiowarrior

    (@zonwarrior)

    Hi Frank,

    I understand some people have had issues with the cache building up.

    Are you familiar with ‘Kinsta hosting’ or the ‘GeneratePress’ theme? Does this plugin play well with them? I have no other plugins. I have my cache disabled on kinsta and cloudflare.

    My website gets around 50,000 visitors a day and I want to make sure I don’t run into an issue where the cache size fills up and crashes the site. 🙂

    What are your thoughts?

    Thanks

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    cache buildup happens when plugins (or pagebuilders) inject non-static JS or CSS code inline in the HTML. it’s a matter of properly configuring AO not to aggregate those to avoid the cache to fill to fast.

    and Kinsta & GeneratePress are great products and do work well with AO! 🙂

    Thread Starter audiowarrior

    (@zonwarrior)

    Hi there,

    Thank you for your swift reply. I’m not a developer, so this is tough for my to understand.

    I have 1 plugin that generates a dynamic geolocation:
    https://wordpress.org/plugins/geoip-detect/

    I use a shortcode syntax in my pages.

    For example:
    Top 10 Pizzas in [geoip_detect2 property=”mostSpecificSubdivision.name”]

    That shortcode changes to the user’s state based on their ip address.

    For example:
    Top 10 Pizza in New York.

    Question:
    Does it seem like this Geo location plugin is injecting non-static JS or CSS code inline in the HTML? What are your thoughts?

    Thank you!

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    can’t say really, depends on how the logic is implemented. and even if it were the case, it does not _have_ to cause issues, (re-)configuring AO to exclude inline CSS/ JS is sufficient to stop cache size issues from happening 🙂

    Thread Starter audiowarrior

    (@zonwarrior)

    I understand. Can you please take a quick look at the screenshots on this guide:

    https://generatepress.com/fastest-wordpress-theme/

    Which settings should I leave UN-checked to avoid this inline issue?

    Apologies for the layman questions. I am not a developer. I want to be sure I do this right.

    Thank you!

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    start with those (those are sound defaults) and if a problem with cache size does occur you might have to untick “also aggregate inline CSS”.

    Thread Starter audiowarrior

    (@zonwarrior)

    thank you so much..

    What do you think about “Async JavaScript” ? Should I download and use that too? Is it a good plugin for GeneratePress + Kinsta?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    depends; when using AO most JS is deferred already, AsyncJS would only be useful if you have externally hosted JS that is render-blocking.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Question about ‘Caching’’ is closed to new replies.