Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15
  1. #11
    Join Date
    Jun 2005
    Posts
    356
    Plugin Contributions
    0

    Default Re: Tips, Tricks, and Hints

    Wow, I should drink my coffe before I post in the morning! I completly missed the size part of your post.
    Certainly, go with whatever gave you the smallest size. As I said in a much earlier post, people should experiment to find what gives the best results just as you have done.
    2 + 2 = 5 for extremely large values of 2

    Pez Collectors Store •••••••• My Plugins List

  2. #12
    Join Date
    Jan 2008
    Posts
    43
    Plugin Contributions
    0

    Default Re: Tips, Tricks, and Hints

    Quote Originally Posted by gothstone View Post
    As to why stress the CPU for faster access, Ifigure I'm paying my host for the CPU so that my visiters can get the best experiance. Of course in a random stroke of irony I have had to change hosts, I'm now hosting on Merlins Camalot, and can't use some of these tricks. :) His hosting is in all other ways wonderfull though, and the servers are so fast it doesn't matter much.

    As for the CSS optimizer messing up your code, that should not be possible. My guess is that you have an error in your CSS. Did you use the w3c validator first?
    Quote Originally Posted by gothstone View Post
    Wow, I should drink my coffe before I post in the morning! I completly missed the size part of your post.
    Certainly, go with whatever gave you the smallest size. As I said in a much earlier post, people should experiment to find what gives the best results just as you have done.
    Compressing compression just didn't work out well I suppose ;)

    The CSS did validate through the w3c validator, with warnings however.
    Maybe that has something to do with it, but still, if it validates, it should be fine, you'd think. Also odd how it's only in Internet Explorer (however... that might not be so odd at all ;) )

  3. #13
    Join Date
    May 2007
    Posts
    213
    Plugin Contributions
    0

    Default Re: Tips, Tricks, and Hints

    I have a stupid question... How come every time I try to add anything to my .htaccess file I get a 500 Internal Server error? Here is what is currently in my .htaccess file.

    Code:
    # $Id: .htaccess 1105 2005-04-04 22:05:35Z birdbrain $
    #
    # This is used with Apache WebServers
    # The following blocks direct HTTP requests in this directory recursively
    #
    # For this to work, you must include the parameter 'Limit' to the AllowOverride configuration
    #
    # Example:
    #
    #<Directory "/usr/local/apache/htdocs">
    #  AllowOverride Limit
    #
    # 'All' with also work. (This configuration is in your apache/conf/httpd.conf file)
    #
    # This does not affect PHP include/require functions
    #
    # Example: http://server/catalog/includes/application_top.php will not work
    php_flag zlib.output_compression on
    php_value zlib.output_compression_level 5

  4. #14
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Tips, Tricks, and Hints

    Any syntax error or disallowed command (by server configuration) in a .htaccess file will throw a 500-internal-server-error.

    IF your host hasnt put cgi into a safemode ( meaning that you cant change any php directives ) then you can create a local php.ini file and place these directives in place

    php_flag zlib.output_compression on
    php_value zlib.output_compression_level 5

    remember this will only work IF the host hasnt setup safe for cgi,
    or hasnt restricted WHAT you can set using local php.ini

  5. #15
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Tips, Tricks, and Hints

    If Apache on the Server their Hosting account is on is setup differently then yours, then syntax errors will occur.

    try changing the following and put it in a 'php.ini' file - create one if necessary in Document Root.

    php_flag zlib.output_compression on
    php_value zlib.output_compression_level 5

    to
    zlib.output_compression = on
    zlib.output_compression_level = 5


    Personally I don't believe using compression is a good thing as it could mean the Server is overloaded.

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Offering Free Shipping Tips and tricks?
    By jimmie in forum General Questions
    Replies: 1
    Last Post: 13 Apr 2014, 03:10 AM
  2. Hints and Tips Manager - support thread
    By clydejones in forum All Other Contributions/Addons
    Replies: 41
    Last Post: 11 Sep 2012, 06:17 AM
  3. Big Page of hints and tips how do i link on the same page
    By mick rodmell in forum General Questions
    Replies: 2
    Last Post: 11 May 2008, 01:26 PM
  4. Nice css tricks/tips
    By yellow1912 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 16 Feb 2008, 10:02 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg