Announcement

Collapse
No announcement yet.

mod_expires

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    mod_expires

    Is mod_expires available on Miva servers?
    http://www.alphabetsigns.com/

    #2
    Re: mod_expires

    Yes; that's a default apache mod that is present. You can control it via htaccess.
    David Hubbard
    CIO
    Miva
    [email protected]
    http://www.miva.com

    Comment


      #3
      Re: mod_expires

      Hi David,

      Do you have a recommended expires time by file type in light of page speed?

      My site's average days to sale is two (95%). And I don't change my images, scripts, styles very often.

      ExpiresByType image/x-icon "access plus 1 year”
      ExpiresByType image/gif "access plus 1 month"
      ExpiresByType text/html "access plus 2 days"

      Also, can you use either 'ExpiresByType' or <FilesMatch "\.(gif|jpg|jpeg|png|swf)$"> within the <IfModule mod_expires.c> tag?
      http://www.alphabetsigns.com/

      Comment


        #4
        Re: mod_expires

        Either format is valid. A suitable expiration time will typically be no longer than what you'd guess is the average time between frequent visitors' return visits. You don't want to go with some huge time because then when you update content, it's a pain waiting for everyone to see it, but you don't want it so short that if your typical customer returns once a week, that they end up downloading all the content over again each time anyway. If you have analytics, you may be able to determine an average return visit time for customers and adjust it just slightly higher than that.
        David Hubbard
        CIO
        Miva
        [email protected]
        http://www.miva.com

        Comment


          #5
          Re: mod_expires

          Thanks David.
          http://www.alphabetsigns.com/

          Comment

          Working...
          X