Jump to content


Photo
- - - - -

Remove query strings from static resources.


  • Please log in to reply
7 replies to this topic

#1 bombbeats

bombbeats

    Advanced Member

  • Members
  • 38 posts

Posted 05 April 2012 - 01:28 AM

Ok so I am using Minify with a CDN with the cache plugin and i was told if the theme doesnt work well with removing query strings from the static resources i could have problems. Does anyone have experience with removing them on Pagelines?

#2 Simon_P

Simon_P

    Messer

  • Administrators
  • 8388607 posts
  • LocationDevon
  • Framework Version:2.0
  • Country: Country Flag

Posted 05 April 2012 - 01:31 AM

What query strings are you referring to?

#3 bombbeats

bombbeats

    Advanced Member

  • Members
  • 38 posts

Posted 05 April 2012 - 07:15 AM

Check out performance grade here.

it sais: Remove query strings from static resources But someone i talked to said the theme might not like me making this change

#4 Danny

Danny

    Is Awesome!

  • Moderators
  • 13021 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 05 April 2012 - 11:28 AM

Hi Bombbeats, I had a look at your pingdom result and the query string section has a list of items and not one of them is associated to PageLines from what I can see. Therefore, you need to contact the people who's item is in the list. The majority of them are associated with your CDN provider and Soundcloud.

#5 jankowalski

jankowalski

    Advocate

  • Members
  • 344 posts
  • Country: Country Flag

Posted 01 March 2013 - 05:26 PM

well i have the same problem and i see many links related to pagelines
 

 

 
http://www.mysite.com/wp-content/themes/pagelines-template-theme/style.css?ver=24-0222200132
http://www.mysite.com/wp-content/themes/pagelines/js/script.blocks.js?ver=1.0.1
http://www.mysite.com/wp-content/themes/pagelines/js/script.bootstrap.min.js?ver=2.2.1
http://www.mysite.com/wp-content/themes/pagelines/sections/nav/script.bgiframe.js?ver=2.1
http://www.mysite.com/wp-content/themes/pagelines/sections/nav/script.superfish.js?ver=1.4.8
http://www.mysite.com/wp-content/themes/pagelines/sections/nav/style.superfish.css?ver=2.4
http://www.mysite.com/wp-includes/js/jquery/jquery.form.min.js?ver=2.73
http://www.mysite.com/wp-includes/js/jquery/jquery.js?ver=1.8.3
http://www.mysite.com/wp-includes/js/thickbox/thickbox.js?ver=3.1-20121105
 

 

 
If there is anything i can do about it?


#6 Simon_P

Simon_P

    Messer

  • Administrators
  • 8388607 posts
  • LocationDevon
  • Framework Version:2.0
  • Country: Country Flag

Posted 01 March 2013 - 06:17 PM

Wordpress adds those version numbers to aid with caching. Every plugin and theme that loads css/js will have these version numbers.
There 'may' be a way to remove them with a filter, searching google may help.
  • jankowalski likes this

#7 jankowalski

jankowalski

    Advocate

  • Members
  • 344 posts
  • Country: Country Flag

Posted 06 March 2013 - 08:07 AM

thanks. solved via .htaccess



#8 Simon_P

Simon_P

    Messer

  • Administrators
  • 8388607 posts
  • LocationDevon
  • Framework Version:2.0
  • Country: Country Flag

Posted 06 March 2013 - 01:41 PM

Care to share for the next person who asks?