Foliovision › Forums › FV Player › Requests and Feedback › remove query string from Fv-flowplayer custom/JS
-
I was looking for some advise on what is best practice and how to remove query string.
What file name do I update ? What is path….? what change do I make to remove ? What is your recommendation for do this ?
I use a query string remove plugin but this js evades its reach….
http://fritzimages.com/blog/wp-content/fv-flowplayer-custom/style-1.css?ver=1432840286
-
-
Hello Ed,
you can disable that file by checking Settings -> FV WordPress Flowplayer -> Integrations -> Disable saving of color settings into a static file.
We put the query string into the JS and CSS path to trigger the browser cache refresh on plugin version changes. If there is no version in the JS and CSS URL, then there is nothing to force the browser to grab the new version of the file once it’s there.
But perhaps you handle this differently.
Thanks,
MartinI made the change you suggested and now I get a new code… different but still has the query string….
http://fritzimages.com/blog/wp-content/plugins/fv-wordpress-flowplayer/css/flowplayer.css?ver=2.3.16
Hello Ed,
sorry if that didn’t helped, I though you are using some plugin which takes care of this and that it can’t handle our custom CSS file.
Could you please give us a link to the article which recommends removing the version from CSS/JS links? As I explained, we use it to control browser cache across different FV Flowplayer versions. Any mature plugin does it that way.
Thanks,
MartinHi Martin,
The FV-flowplayer file is the only file (out of many dozen) which the query string is not removed by 3rd party plug-in. It is interesting and odd to find out why your product does not conform like the others. It is the only file left and which fails for query string removal in testing results with pingdom or GTMetrix. You can run these test and see results for http://fritzimages.com. Additionally, your file prevented rendering in webmaster tools of part of my site and I had to add file path to robots.txt to open up the rendering. I do not know why these fv-flowplayer files are different.
to answer your Q:
I am using other plugs which remove query strings. Speed Booster Pack which has option to remove query strings. It does a very good job. I have also deactivated Speed Booster Pack and activated Remove query stings from static resources plug in…it behaved the same way as Speed Booster pack, which was the FV-Flowplayer query string is not removed. Somehow it seems it is in a location or being protected from these plugins. I have spent many hours activating and deactivating and flushing out caches and retesting results with pingdom to try and isolate problem Nothing I did could remove your file strings (path noted in opening thread). Then following your instructions they could not remove your file string ( a new path was generated as noted in last posting http://fritzimages.com/blog/wp-content/plugins/fv-wordpress-flowplayer/css/flowplayer.css?ver=2.3.16). Why this query string is being generated which is different from the first is just plain interesting to me. Maybe you can tell me what is going on after I follow you instructions ? I’m not really that worried about this, it is the only nonconforming plugin query string I have. I thought I’d bring it to your attention and see if you can find out why your product is not behaving like everyone else’s on my site. There is probably a simple answer somewhere :). You make a great product and have great support and continue to update and keep your plugin active…
thanks,
Martin,
Having query stings in your static resources query strings slow down the page load speed. Many articles have been written about this. This is from Google developers.
https://developers.google.com/speed/docs/insights/LeverageBrowserCaching
Hello Ed,
thank you for the details.
What GTMetrix says is:
Resources with a "?" in the URL are not cached by some proxy caching servers.
So it doesn’t say the caching doesn’t work for everybody, it might occur when using a proxy server. Our system works, as you can still set the caching as you want on your web server. Then when a new version of our plugin is out, the ?ver= in the JS URL changes and the browser knows there is a new version of the file and that it should use that.
Originally we didn’t used this, but then we had to start using it as people had issues after updating our plugin – we had to always ask them to clear the browser cache etc.
As a test, you can try to store the raw HTML of your page, remove the query string there and then save it on your server and run a test on that. You will see how much the score improves.
I see the Webmaster Tools issue – it’s something which we had to fix for some of our websites as well.
I’ll check “Speed Booster Pack” and “Remove query stings from static resources” plugins.
Thanks,
MartinHi Martin,
ok, I am aware of purpose of the ? and how it impacts workflow on upgrades.
Out of the 25+ query strings from other plugins and theme on my site FV-flowplayer is the only one which 3rd party plugins cannot remove. Very odd .
Your Fv-Player string is the first in my pingdom waterfall. I am using plugin “speed Booster Pack” which cannot consolidate your string with the other 25+ Js below the fold.
Also your query string responsible for 54+ Google Blocking Errors in webmaster tools, I had to add line in Robot.txt to Allow the fv-flowplaye ? string to be crawled.
All in all, something seems very wrong as your strings as they do not behave like the other 36+ plugins and enfold theme .JS that are on my site….
Finally sting changed name when I disabled in FV player settings. Can you explain why ?
When I disable JV Player plugin, the ? sting is removed (of course)
Something is not consistent with the way your query strings perform with your peer plug-ins and are operating for my site.
The impact seems very small in load time based on my pingdom tests..so I have figured out how to work around the bigger issue of Blocking resources in Webmaster tools
Hope this helps
thanks,
EdHi Martin,
I really would like some more help on this. This plug-in CSS path: http://fritzimages.com/blog/wp-content/fv-flowplayer-custom/style-1.css?ver=1436580848
Stops my website rendering by about 1 full second. Which is an ugly truth…and just not acceptable… We have got to come up with a way that this CSS this does not load at top of the waterfall stack. I can not figure out a way. It does not need to be loaded so early and my attempts to find a way to fix it are exhausted. I also think it is irrelevant to have ? and versions number on CSS. Please look into this for me…I would like to have that info stripped away….2nd Problem:
Your recent release now creates HTTP 400 error with W3TC. This version CSS file can not be minified and is not compatible as CDN in Pingdom waterfall show as error and HTTP 400 also I have w3tc emails set to notify me of minify errors and my inbox is getting full of the emails.I have tested my videos using a competitor product plugin and they do not have the issue of blocking site rendering. I use a lot of plugins and their CSS is minified using Speed Booster Pack…for some reason your product is not performing like the other products…..
So to recap:
1) Latest release throwing HTTP 400 Error on CSS being minified for CDN using w3tc.
2) CSS blocking page rendering for web site. Site loads 1 Second Faster with FV disabled.
3) No solution to put CSS below the line for rendering.
4) Product does not perform like other WP peer plugins for CSS using Speed Booster Pack or remove query string from static resources….Could these issue be address with someone in your software team in a timely manner,
I have not heard anymore about this for three weeks….
thanks,,
Ed
Hello Ed,
1) HTTP 400 – I don’t see this on Pingdom: http://tools.pingdom.com/fpt/#!/d2NwFq/http://fritzimages.com/
2) I don’t think our single static 12kB CSS file is slowing down your website by a 1 second. Are you sure you repeated the test? A random file might be slow to download at times.
3) & 4) sorry about the delay here, I planned to have a detailed look at this, including Speed Booster Pack, so I scheduled this at a later time, but I realize you have been waiting for too long now (the delay was caused by my vacation).
I’ll check this during this week.
Thanks,
MartinHi Martin,
I discovered that if I use W3TC to minify and use my CDN that I would get HTTP 400 error. Further researched and I discovered that W3TC can not minify url with ?version numbers. I deactivated using minify on your CSS. This returned google and Pingdom scores near previous. I think I’m going to fallback to an earlier version of FV. Your previous FV release did not have custom CSS ? version numbers. I will read your link.
Yes, that little bit of code blocks page from rendering. I ran 4 or 5 Pingdom tests. Then I noticed the HTTP error emails from WT3C, so I am concluding that FV added a new ?version number in the custom.css file name which caused the HTTP 400 error which caused the delay time. I decided to discontinue minifying FV custom CSS anymore.
My Plan is to read your link info, double check how I can prevent static content in w3tc. Then decide coarse of action. a) fallback to earlier FV. 2) reconfigure w3tc then test results…. My goal is to remove FV customs css from blocking page rendering.. One way or another…. All other CSS on my site is below the line and compatible with Speed Booster pack . For some reason your engineers are putting your custom.CSS in the header(?) or on top of file and that is not where it belongs for my application.
thanks,
EdMartin,
I am running Link Checker http://validator.w3.org/checklink/docs/checklink
for fritzimages.comand it is reporting about twenty FV player links that are being redirected to my 404 errors page
FV player seems to operate properly….but I should not be seeing these errors…and for the sake of speed the link should go to the final location….
I could open up another thread to look at this as a new request.
I am contacting my host provider to see if I can change chmod for link below: which I am getting a 403 error, which may be causing the problem I discussed above
ftp://xxx//public_html/blog/wp-content/fv-flowplayer-custom/style-1,I am contacting my host provider to see if I can change chmod for link below: which I am getting a 403 error, which may be causing the problem I discussed above
ftp://xxx//public_html/blog/wp-content/fv-flowplayer-custom/style-1,Hosting provider says that sting should contain /style-1. It is missing
Here is link (n of twenty) that creates error
http://cdn.fritzimages.com/wp-content/fv-flowplayer-custom/http://cdn.fritzimages.com/wp-content/plugins/fv-wordpress-flowplayer/css/bigplay.png
<script type=”text/javascript”>show_progress(“results1”, “Checking link http://cdn.fritzimages.com/wp-content/fv-flowplayer-custom/http://cdn.fritzimages.com/wp-content/plugins/fv-wordpress-flowplayer/css/bigplay.png”, “54.5%”);</script>HEAD http://cdn.fritzimages.com/wp-content/fv-flowplayer-custom/http://cdn.fritzimages.com/wp-content/plugins/fv-wordpress-flowplayer/css/bigplay.png
-> GET http://fritzimages.com/blog/404error/hope that helps
ed
Hello Ed,
I’m not getting these errors on http://validator.w3.org/checklink/docs/checklink
All the ..wp-content/plugins/fv-wordpress-flowplayer/.. links are reported as ok.
I can see what you pasted above and I would say that their parser was not parsing the links from CSS file properly.
Instead I can see a lot of error for your uploads – the cdn.fritzimages.com/wp-content/uploads/ links are blocked by robots.txt which appears to be a big issue – you might not be getting your images indexed.
Thanks,
MartinHa Ha, that’s true…The ones you have to worry about are Soccer moms. I did an event shoot expecting to sell a few print packages and I got a misdirected email, with my Image cutout from my website slider. Now I have my slider all tagged out like a formula one car. I know a Nikon Pro who had an image of his taken off his website sent to him to sign and was ask to return to fellow who stole content and pay the postage….
I do watermark and electronically embed and have content sent to US Copyright office. Still I prefer to keep paths away from BOTs