Site logo

Archived topic

html noscript code injections

3 replies · Started by Chadwick on November 1, 2021

Viewing posts 1–4 of 4

I am getting ready to go live with a new site in which I am using the GeneratePress Theme. I love it.

For some reason in the HTML Source view(home page), I am seeing calls that are not in any startup css on my site:
For instance, why would the theme make these types of calls:

<link rel="preload" as="style" onload="this.rel='stylesheet'" href="/s/c18e83.css"><noscript><link rel="stylesheet" href="/s/c18e83.css"></noscript>
<link rel="preload" as="style" onload="this.rel='stylesheet'" href="/s/1feaac.css"><noscript><link rel="stylesheet" href="/s/1feaac.css"></noscript><link rel="preload" as="style" onload="this.rel='stylesheet'" href="/s/b075f6.css"><noscript><link rel="stylesheet" href="/s/b075f6.css"></noscript>

Where could these calls possibly be coming from? I do not make a call to any stylesheets that do not exist. Any idea what could be causing these script injections?

Does the theme have a place where these types of injections could be made?
Have you seen this anywhere before?

Hi there,

those file names eg. c18e83.css look like cached files - which an Cache/Optimization plugin would generate.
If you have such a plugin, you need to clear its caches.

If you're not using a plugin then check with the host if there are any servers side optimizations in place.

Hello David,

You are awesome. I disabled one of the caching plugins and the calls are gone.

Chadwick

Glad to hear that!

This archived topic is closed to new replies.