• outpost33

    (@outpost33)


    Hi,

    On one of my sites (www.andrewcohen.com) I’m getting cache size warnings at very frequent intervals.

    I’ve tried changing various AO settings without success. These are my current checked settings:

    ? Optimize HTML Code
    ? Optimize JavaScript Code
    ??Also aggregate inline JS
    ??Optimize CSS Code
    ? Also aggregate inline CSS

    I’m getting a full cache roughly every five days.

    Any help gratefully received!

Viewing 15 replies - 1 through 15 (of 20 total)
  • Plugin Author Frank Goossens

    (@futtta)

    ? Also aggregate inline JS

    there’s you reason ??

    (inline JS often has regularly changing values, which bust the cache)

    Thread Starter outpost33

    (@outpost33)

    Hi Frank,

    When I deselect that option, it breaks the dropdown menus on the site, and also the video player on this page:

    https://www.andrewcohen.com/sebastian-gronbach-anahata-akademie/

    • This reply was modified 8 years ago by outpost33.
    Plugin Author Frank Goossens

    (@futtta)

    well, then you can either keep “also aggregate inline JS” active, but exclude inline JS is busting the cache, or you can disable “also aggregate inline JS” and exclude some more to fix the menu-dropdown issue.

    Thread Starter outpost33

    (@outpost33)

    Forgive me, but I have no idea how to figure out which inline JS would be busting the cache!

    Any pointers? ??

    Plugin Author Frank Goossens

    (@futtta)

    Thread Starter outpost33

    (@outpost33)

    Ok, that is beyond what I can get into right now!

    Sounds like it might be easier to disable “also aggregate inline JS” and exclude some js to fix the other issues.

    Plugin Author Frank Goossens

    (@futtta)

    yeah, can be cumbersome, not aggregating inline JS is not default by accident ??

    Thread Starter outpost33

    (@outpost33)

    Any idea what to exclude for the drop-down menu issue? I saw this thread but that js is already excluded.

    Plugin Author Frank Goossens

    (@futtta)

    can you configure your page caching plugin not to ignore requests with query strings, so I can see your site un-optimized by adding ?ao_noptimize=1?

    Thread Starter outpost33

    (@outpost33)

    There’s no page caching plugin active on https://www.andrewcohen.com – let me know what else I can do?

    Plugin Author Frank Goossens

    (@futtta)

    not entirely sure what i’m looking for by the way; menu & vids seem to work for me on that video page?

    Thread Starter outpost33

    (@outpost33)

    Yes, I had put AO back as it was. Try now – refresh the page or empty browser cache if you still see the videos working.

    Plugin Author Frank Goossens

    (@futtta)

    OK, there’s inline JS complaining;

    TypeError: windowObj.scrollBottom is not a function

    so next up is looking which (now aggregated JS) JS-file should be excluded to make windowObj.scrollBottom work. I would have a look at your page un-optimized, but for reasons I don’t know the default behavior of ?ao_noptimize=1 does not work?

    Thread Starter outpost33

    (@outpost33)

    I’m not sure either! Are you adding that command to the end of the URL to see the page un-optimized? Could it be Varnish server-side caching? Unfortunately I have no control over that.

    Is there something else I could do? Deactivate AO temporarily?

    Plugin Author Frank Goossens

    (@futtta)

    sure, could be varnish.

    Is there something else I could do?

    sure; trying to find out which JS to exclude to get rid of that “TypeError: windowObj.scrollBottom is not a function” JS error by checking your site un-optimized ??

    I have to go offline for now, but will follow up on this later if need be.

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘Frequent cache size warnings’ is closed to new replies.