• Resolved conors37

    (@conors37)


    Hi,

    I’m having an issue with a plugin called Jet Menu which is developed by crocoblock but I think the issue is related to autoptimize. On Mobile I use Jet Menu as a slide in mega menu. I get a 403 error on certain product pages when I attempt to access the menu which leaves the menu in a loading state and prevents the user from using the rest of the page. It appears to only be happening on my single product pages and only on products that have been recently added.

    When I check the console the file that I am being directed to is located at
    /wp-content/cache/autoptimize/js/autoptimize_1e4eab1929ad4408999686555f5dad85.js

    Am I right in saying this a minified js file? If so would the solution be to exclude this from being optimized?

    A temporary solution I’ve discovered is to clear the cache but the problem reoccurs after about 6 – 8 hours.

    Regards,

    Conor

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

    (@optimizingmatters)

    Not an easy one Conor; the fact the problem only happens after 6-8 hours seems to indicate the problem is with a nonce (short random string in the HTML used to protect certain actions from hackers) being expired and … Autoptimize does not cache HTML nor does it touch/ cache nonce’s. Clearing AO’s cache would help as AO will _try_ to also clear the page cache (to prevent cached HTML referring to AO’ed CSS/ JS that isn’t there any more). So guess the first question is; do you have a page cache and if so can you configure it to consider a cached page stale after let’s say 5h?

    frank

    Thread Starter conors37

    (@conors37)

    I’m using wpfc for caching. I’ll set a time out rule to clear the cache every few hours. Will clearing the cache regularly have an affect on my website optimization?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    well, the first visit to an uncached page is always a bit slower, but overall the impact should be minimal.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Jet menu 403 error’ is closed to new replies.