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

    (@optimizingmatters)

    Seeing the same for your AO’ed CSS now, looks like a problem with a page cache that has stale HTML in cache that refers to old, removed AO’ed CSS/ JS?

    Thread Starter buyacsgo

    (@buyacsgo)

    Yes, I have cleared AO but still having issue.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Or a problem with conflicting .htaccess directives (possibly due to some security plugin or similar) which 404’s those files even if they are there.

    Maybe check on the server if the files mentions are to be found in wp-content/cache/autoptimize/js or wp-content/cache/autoptimize/css?
    -> if the files mentioned are there, this is htaccess/security related
    -> if the files are not there but others are it’s probably a page cache thing
    -> if no files are to be found in those directories it could be a file (directory) permission issue with AO not being able to create the files (but you should see a warning about that on your dashboard).

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Yes, I have cleared AO but still having issue.

    I was referring to a page cache, which AO is not actually πŸ™‚

    Thread Starter buyacsgo

    (@buyacsgo)

    After clearing cache from WP Super Cache still having same issue.

    Atm, I have turned off Super Cache plugin. Can you please able to check by visting my site ?

    It’s just having issue with 3 plugins..

    1> Autoptimize.
    2> WP Super Cache.
    3> Woocommerce multiccurrency.

    If I turn of WP super cache then I’m not facing issue. As well as if I turn of Js minify still I’m not facing issue. This 404 only showing when I’m switching currency

    • This reply was modified 8 years ago by buyacsgo.
    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Also and still have it for the Autoptimized CSS I’m afraid;

    now the weirdest thing; the CSS does exist and I can load it just fine in a separate tab, e.g. the first one from the screenshot https://buyacsgo.com/wp-content/cache/autoptimize/css/autoptimize_af233c61177d1b29bf398446d347a865.css

    So I am at a loss of what is going on here I’m afraid; AO correctly optimizes the CSS (and JS), adds the link in the HTML, but for some reason that link does not work when requested from a page with the change currency querystring …

    a weird cloudflare bug maybe??

    Thread Starter buyacsgo

    (@buyacsgo)

    Those files are not present in wp-content/cache/autoptimize/js
    autoptimize_0f2c5f2598b3457dcde5d1d4944eecc9.js
    autoptimize_234ff900ccf0afe755e94c6f6d09c112.js

    But in JS folder this 2 files are present:
    autoptimize_8fdeb77ece6d207e37ecac073057dc26.js
    autoptimize_5a83752cdfa8e446476a54da9be31463.js

    Should I pause Cloudflare CDN ?

    • This reply was modified 8 years ago by buyacsgo.
    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Should I pause Cloudflare CDN ?

    yes, that’s one of the things you should consider doing. do you have page rules at cloudflare, if so make sure to disable those as well!

    also, if that does not solve things and given the fact that all used to work until recently, you should review whatever changes were made; your change of hosting (so contact hoster), but also any new plugins or configuration changes?

    Thread Starter buyacsgo

    (@buyacsgo)

    I just updated 2 plugins and also tested by disabled them… Can you able to visit my site now and use LIVE CHAT from our website ? that will be faster than this. πŸ™‚

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    afraid I can’t join a live chat now @buyacsgo, sorry πŸ™‚

    but what surprises me; https://buyacsgo.com/wp-content/cache/autoptimize/css/autoptimize_af233c61177d1b29bf398446d347a865.css loads almost always, except sometimes it … doesn’t. can you check if that file is there in wp-content/cache/autoptimize/css/?

    Thread Starter buyacsgo

    (@buyacsgo)

    Yes this file is present.

    Is this happening due to Cloudflare DNS delay ? But This issue I’m facing from yesterday when there had no DNS delay.

    EDIT: just now I have disabled JS minify

    • This reply was modified 8 years ago by buyacsgo.
    Plugin Author Optimizing Matters

    (@optimizingmatters)

    no idea if this is related to cloudflare dns delay i’m afraid. but to be clear, the problem is not only there for Autoptimized JS, but also CSS (cfr. my example) and I have even seen some other files 404 as well. maybe open a ticket at cloudflare?

    Thread Starter buyacsgo

    (@buyacsgo)

    Is the any issue during hosting change ? maybe some of files not moved Properly ?

    What do you mean “I have even seen some other files 404 as well.” ? which files ?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Is the any issue during hosting change ? maybe some of files not moved Properly?

    the fact that it works most of the time, would indicate this is not a problem with a missing file no. moreover, the AO-files are created automatically, so ..

    What do you mean β€œI have even seen some other files 404 as well.” ? which files ?

    I saw one image file, which was redirected (HTTP 301) and then produced a “not found” (404).

    Thread Starter buyacsgo

    (@buyacsgo)

    I saw one image file, which was redirected (HTTP 301) and then produced a β€œnot found” (404).

    Can you please give me screenshot for 404 image or URL ?

    • This reply was modified 8 years ago by buyacsgo.
    • This reply was modified 8 years ago by buyacsgo.
Viewing 15 replies - 1 through 15 (of 19 total)

The topic ‘404 errors’ is closed to new replies.