a5-framework-frontend.css adds 90% performance drain to sites
-
This plugin should be avoided on production sites, as it produces a massive performance drain.
This plugin design really requires rethinking.
Here’s a typical example of this performance drain generated + command to extract apache log data. Replace domain with domain-name you’d like to extract from logs.
cat /var/log/apache2/access.log | egrep domain-name | fields 10 1 8 | egrep ‘a5-framework-frontend.css|utm_|\/$’ | logtop -s 100000
This is roughly 2 hours of log time for this domain showing 3 types of requests.
1) a5-framework-frontend.css nonsense
2) incoming paid traffic (utm_ links)
3) any natural traffic (/$ ending in / links)
6241 elements
1 1942 301 site.com:80 /a5-framework-frontend.css?ver=1.0%20beta%2020160127%20FPW
2 1940 200 site.com:80 /a5-framework-frontend.css/?ver=1.0%20beta%2020160127%20FPW
3 171 200 site.com:80 /no-clue-dogs?utm_source=outbrain&utm_medium=cpc&utm_campaign=funny+dogs+space&utm_tracking=1
4 94 200 site.com:80 /no-clue-dogs/2?utm_source=outbrain&utm_medium=cpc&utm_campaign=funny+dogs+space&utm_tracking=1
5 84 200 site.com:80 /no-clue-dogs/3?utm_source=outbrain&utm_medium=cpc&utm_campaign=funny+dogs+space&utm_tracking=1
6 71 200 site.com:80 /no-clue-dogs/4?utm_source=outbrain&utm_medium=cpc&utm_campaign=funny+dogs+space&utm_tracking=1
7 70 200 site.com:80 /no-clue-dogs/5?utm_source=outbrain&utm_medium=cpc&utm_campaign=funny+dogs+space&utm_tracking=1
8 54 200 site.com:80 /no-clue-dogs/7?utm_source=outbrain&utm_medium=cpc&utm_campaign=funny+dogs+space&utm_tracking=1
9 52 200 site.com:80 /no-clue-dogs/6?utm_source=outbrain&utm_medium=cpc&utm_campaign=funny+dogs+space&utm_tracking=1
10 49 200 site.com:80 /21-reality-show-hoaxes?utm_source=Taboola&utm_medium=CPC&utm_content=21%2BReality%2BTV%2BTaboola&utm_campaign=21%2BReality%2BTV%2BTaboola&utm_tracking=1To developer… Here’s how to remediate this drain…
The .css file is only 704 bytes, so just inline it, rather than having a separate file.
For people running this code, you can at least remove the bogus/looney 301 + reduce a substantial part of this drain by changing…
post-feature-widget/class-lib/A5_DynamicFileClass.php line 132 from…
/a5-framework-frontend.css
to…
/a5-framework-frontend.css/ -> add trailing ‘/’ char to stop 301
This does not fix all 301s, as there are multiple code paths which produce this link.
All in all… If you’re running a production site, best deinstall this plugin + avoid using it till performance drains are fixed.
- The topic ‘a5-framework-frontend.css adds 90% performance drain to sites’ is closed to new replies.