• Resolved benjaminb391

    (@benjaminb391)


    Hello,
    after deinstalling WP-Optimize multiple clients were not able to access the site, because minified files from the cache are stopping the page from loading. Is there a solution anyone can suggest?

    I know it is not directly a WP-Optimize problem, but since it has only ever happened to me with WP-Optimize minified files, I thought maybe someone has a solution to this.

    The error in the console:
    Uncaught SyntaxError: Unexpected token “<” – wpo-minify-footer-fc3abba3.min.js

    Error in the network tab:
    404 Not Found
    Request Method: GET
    Requested URL: URL/core/cache/wpo-minify/1752638727/assets/wpo-minify-footer-fc3abba4.min.js

    I would appreciate any help or suggestions to fix this!
    (Deleting the browser cache is not an option, since this is happening to a bunch of different customers clients)

Viewing 1 replies (of 1 total)
  • Plugin Support statyanenko

    (@statyanenko)

    Hello @benjaminb391,

    Looks like your site pages are being cached, either by a browser cache set on the server side or by a caching plugin.

    If it’s a plugin, you can just clear (purge) the cache from its settings.

    If the caching is set up on the server, clearing the cache might help too. To make sure the browser always checks for updates, you can also add this to your .htaccess file (if you’re using Apache):

    <IfModule mod_headers.c>
    <FilesMatch "\.(php|html)$">
    Header set Cache-Control "max-age=0, must-revalidate"
    </FilesMatch>
    </IfModule>

    This tells the browser to recheck with the server before showing a cached version of the page.

Viewing 1 replies (of 1 total)

The topic ‘Uncaught Syntax Error for Minify Files after Deinstalling’ is closed to new replies.