• Resolved Tilo

    (@netsales)


    Hello,
    I use your Plugin and WP-Optimize V3.2.16.
    What do I have to set in the JavaScript options if they should be merged and minimized and I want to exclude them from the process?
    I have exclude:
    /wp-content/plugins/pdf-embedder/assets/js/all-pdfemb.js
    /wp-content/plugins/pdf-embedder/assets/js/grabtopan-basic.js
    /wp-content/plugins/pdf-embedder/assets/js/pdfemb-basic.js
    /wp-content/plugins/pdf-embedder/assets/js/pdfemb-blocks.js
    /wp-content/plugins/pdf-embedder/assets/js/pdfemb-embed-pdf.js
    /wp-content/plugins/pdf-embedder/assets/js/pdfemb-pv-core.js
    but it will get an error like this “Setting up fake worker failed: “Cannot load script at: https://immowerte.de/wp-content/cache/wpo-minify/1689142455/assets/wpo-minify-footer-2a3a769b.worker.min.js”.”
    Thanks a lot
    Tilo

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @netsales,

    You should be able to exclude these resources from WP Optimize CSS and JS merge/minify:

    JS
    /wp-content/plugins/PDFEmbedder-premium/assets/js/min/pdf-viewer-min.js
    /wp-content/plugins/PDFEmbedder-premium/assets/js/min/pdf-worker-min.js

    CSS
    /wp-content/plugins/PDFEmbedder-premium/assets/css/pdf-embedder-print.css
    /wp-content/plugins/PDFEmbedder-premium/assets/css/pdf-embedder.css
    /wp-content/plugins/PDFEmbedder-premium/assets/css/pdf-embedder-fullscreen.css

    Please let us know if this helps.

    • This reply was modified 2 years, 8 months ago by mihaiceban.
    Thread Starter Tilo

    (@netsales)

    Hello,
    thanks for your prompt response.
    I have all excluded (CSS/JS -> Cache cleared) but the same error, see
    https://immowerte.de/ueber-torsten-richter/#zertifikate
    Setting up fake worker failed: “Cannot load script at: https://immowerte.de/wp-content/cache/wpo-minify/1689149456/assets/wpo-minify-footer-07266c7f.worker.min.js”.

    Thread Starter Tilo

    (@netsales)

    Hello,
    I see, you have the path with PDFEmbedder-premium
    /wp-content/plugins/PDFEmbedder-premium/assets/js/min/pdf-viewer-min.js
    what i didn’t have the premium version.
    Is the correct path:
    CSS
    /wp-content/plugins/pdf-embedder/assets/css/pdf-embedder-print.css
    /wp-content/plugins/pdf-embedder/assets/css/pdf-embedder.css
    /wp-content/plugins/pdf-embedder/assets/css/pdf-embedder-fullscreen.css

    JS
    /wp-content/plugins/pdf-embedder/assets/js/min/pdf-viewer-min.js
    /wp-content/plugins/pdf-embedder/assets/js/min/pdf-worker-min.js

    Thread Starter Tilo

    (@netsales)

    I disabled the JS cache otherwise it doesn’t work.
    I would be happy if there is still a possibility with the normal version to implement this.
    If not, the question would be, if the premium version has to be bought, will it work for sure?

    Hi @netsales,

    Sorry for the delayed response.

    For the free version, let’s try to exclude these JS files:

    /wp-content/plugins/pdf-embedder/assets/js/min/all-pdfemb-min.js
    /wp-content/plugins/pdf-embedder/assets/js/pdfjs/pdf.worker.min.js
    /wp-content/plugins/pdf-embedder/assets/js/pdfjs/pdf.min.js

    If this wouldn’t work, please contact us directly at https://wp-pdf.com/contact/

    Thanks

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

The topic ‘Site Cache’ is closed to new replies.