Jump to content


Photo
- - - - -

if POSIX functions is enabled is neccesary render_css_posix filter in functions.php?


Best Answer James B , 04 April 2013 - 09:29 PM

Hi there,

 

You've stated in your post that it's disabled on your setup, if that's the case you'll need to add that filter. The post you've linked the person was trying to get them enabled and the filter wasn't working up until the last thread and as a result the user was considering moving to a linux setup instead of windows.

 

If you're looking for advice on speeding up load times on your site I'd suggest this thread - http://www.pagelines...uest-for-speed/

Go to the full post


  • Please log in to reply
6 replies to this topic

#1 trisquelmedia

trisquelmedia

    Super Member

  • Members
  • 142 posts

Posted 04 April 2013 - 09:24 AM

Hi:

 

i have a dedicated server, posix functions is disabled, i want to know if POSIX functions is enabled in the server ,if is neccesary this line in functions.php in base theme?:

 

add_filter( 'render_css_posix_', '__return_true' );

 

 

Regards.



#2 Danny

Danny

    Is Awesome!

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

Posted 04 April 2013 - 09:32 AM

Hi,

 

Not entirely sure what you mean, if posix is disabled, then it wont be enabled on the server ?



#3 trisquelmedia

trisquelmedia

    Super Member

  • Members
  • 142 posts

Posted 04 April 2013 - 09:37 AM

Hi:

 

Posix is disabled now, i have a line in functions.php to improve site speed:

 

add_filter( 'render_css_posix_', '__return_true' );

 

I reading the forum and the developers recommend enable posix functions, then i was wondering if i have to delete this line, because I'm not sure if it is only is required when posix functions is disabled.

 

Thxs!

 

Regards



#4 Danny

Danny

    Is Awesome!

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

Posted 04 April 2013 - 10:01 AM

That line of code is only required if PHP User : Posix functions are disabled. If they are enabled, then there is no need to add this line of code.



#5 trisquelmedia

trisquelmedia

    Super Member

  • Members
  • 142 posts

Posted 04 April 2013 - 10:06 AM

hmmm im reading and may be that this line may not be necessary since the v2.4?

 

Please Login or Register to see this Hidden Content

 

Thxs!



#6 James B

James B

    Advocate

  • Moderators
  • 4978 posts
  • LocationSurrey - UK
  • Country: Country Flag

Posted 04 April 2013 - 09:29 PM   Best Answer

Hi there,

 

You've stated in your post that it's disabled on your setup, if that's the case you'll need to add that filter. The post you've linked the person was trying to get them enabled and the filter wasn't working up until the last thread and as a result the user was considering moving to a linux setup instead of windows.

 

If you're looking for advice on speeding up load times on your site I'd suggest this thread -

Please Login or Register to see this Hidden Content



#7 trisquelmedia

trisquelmedia

    Super Member

  • Members
  • 142 posts

Posted 05 April 2013 - 08:37 AM

Thxs !