Jump to content

IPS Pagespeed/GTMetrix Improvements


The Old Man

Recommended Posts

Posted

Is it possible to remove query strings from static resources like CSS, JS etc and have them as part of the url?

Quote

Resources with a "?" in the URL are not cached by some proxy caching servers. Remove the query string and encode the parameters into the URL

example.com/applications/bimchatbox/interface/buzz/buzz.min.js?v=4915283175
example.com/applications/core/interface/howler/howler.core.min.js?v=4915283175
example.com/uploads/css_built_15/05e81b71abe4f22d6eb8d1a929494829_responsive.css.eaa804b708c4a06181c4e62f461e41d6.css?v=4915283175
example.com/uploads/css_built_15/258adbb6e4f3e83cd3b355f84e3fa002_custom.css.dfc0d21129b34755d65822313129a9f0.css?v=4915283175
example.com/uploads/css_built_15/311e677be1fd9bd34c1ccbaf8c789d99_promote_responsive.css.2a4266206ec3671a6a8f9e965a3c1a59.css?v=4915283175
example.com/uploads/css_built_15/341e4a57816af3ba440d891ca87450ff_framework.css.08954451ceb04c949d7997a981573dbc.css?v=4915283175
example.com/uploads/css_built_15/5a0da001ccc2200dc5625c3f3934497d_core_responsive.css.82af91ca85354fba268ba27f80f83f8f.css?v=4915283175
example.com/uploads/css_built_15/62e269ced0fdab7e30e026f1d30ae516_forums.css.2cc86a13694c5e98a5170e00a5e08b14.css?v=4915283175
example.com/uploads/css_built_15/63225940445060c5a9f21d31e95bf58e_downloads.css.6b5c5c0e05bbb50de524ab184f223736.css?v=4915283175
example.com/uploads/css_built_15/76e62c573090645fb99a15a363d8620e_forums_responsive.css.841da78373a62959d9a64447a7d309b4.css?v=4915283175
example.com/uploads/css_built_15/90eb5adf50a8c640f633d47fd7eb1778_core.css.b2e07f5645bb5211cfedd5139dfe27ab.css?v=4915283175
example.com/uploads/css_built_15/aa0d3895a07f810ea9ac4b0e03928774_promote.css.b86cca8f1262e95b1aea5843e7711b80.css?v=4915283175
example.com/uploads/css_built_15/ec0c06d47f161faa24112e8cbf0665bc_chatbox.css.03aa48e1b162407104841962699906e1.css?v=4915283175
example.com/uploads/css_built_15/ecf8cbf597c675f333fa61d7fe877660_widgets.css.8dbc92d669054027cd2ba842fa5d896b.css?v=4915283175
example.com/uploads/javascript_bimchatbox/front_front_chatbox.js.0778957338c5442cd3e21e71e872dac6.js?v=4915283175
example.com/uploads/javascript_core/front_front_core.js.5f9ea2711b47cb1d265482e9ed7aa116.js?csrfKey=c6b7617f4a38ccfd2c348f4ecfc93e9d&antiCache=4915283175
example.com/uploads/javascript_core/front_front_widgets.js.bd0760bdf227a4a5fcc0c5db30069e00.js?csrfKey=c6b7617f4a38ccfd2c348f4ecfc93e9d&antiCache=4915283175
example.com/uploads/javascript_core/global_global_core.js.25958a81d4919b0ab8da506a72b8e712.js?v=4915283175
example.com/uploads/javascript_forums/front_front_forum.js.13622c03060c963741756fb1d92dc0fa.js?v=4915283175
example.com/uploads/javascript_gallery/front_front_browse.js.d9b28edf318b0f6b7519bf5fe6c3d9ba.js?v=4915283175
example.com/uploads/javascript_global/root_framework.js.b7bed88ccdfc3e59883ca249df65d8c1.js?v=4915283175
example.com/uploads/javascript_global/root_front.js.2872a35a27cabd106e2bc7e4fc025eb3.js?v=4915283175
example.com/uploads/javascript_global/root_js_lang_1.js.5a88e497354a84533404a69bf3d525e1.js?v=4915283175
example.com/uploads/javascript_global/root_library.js.97848a09e1d6d2c757f4cebcd5e71231.js?v=4915283175
example.com/uploads/javascript_global/root_map.js.e002f44ea2d28636e444ecdb292fd037.js?v=4915283175

 

Specifying image dimensions (for attachments)

Secondly, is it possible to add missing width and/or height attributes to uploaded image attachments in Forum Descriptions?

Admittedly I use an iPad much of the time and so it's difficult to edit the properties of uploaded image attachments by the equivalent of double clicking.them after inserting into the text editor to access attributes, so this may be due to that.

Many thanks.

 

  • 4 months later...
Posted
21 hours ago, rfcontreras said:

Totally agree, I'm getting tons of files for the same cached content but with different csrfkey. I'm using google pagespeed.

 

Thanks in advance

Can you clarify here? The query string above is a "cachebust" key, not a CSRF key. The cachebust key changes with each version, while the CSRF key changes with each session/user, so that would be a far bigger concern in practice. Which resources are using a CSRF key? Or did you just mistake the key in the URL above?

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...