[Depreciated]

Started by Depreciated, August 09, 2010, 08:39:48 PM

Previous topic - Next topic

live627


MultiformeIngegno

PaulpBaker, sorry if I'm a little OT.. what's the difference (and what's best) between these 2 ways to set expires (because I can't enable mod_deflate/expires on my Apache configuration..)?

Method 1:

# 1 YEAR
<FilesMatch "\.(ico|pdf|flv)$">
Header set Cache-Control "max-age=29030400, public"
</FilesMatch>
# 1 WEEK
<FilesMatch "\.(jpg|jpeg|png|gif|swf)$">
Header set Cache-Control "max-age=604800, public"
</FilesMatch>
# 2 DAYS
<FilesMatch "\.(xml|txt|css|js)$">
Header set Cache-Control "max-age=172800, proxy-revalidate"
</FilesMatch>
# 1 MIN
<FilesMatch "\.(html|htm|php)$">
Header set Cache-Control "max-age=60, private, proxy-revalidate"
</FilesMatch>


Method 2:

# turn on the module for this directory
    ExpiresActive on
    # set default
    ExpiresDefault "access plus 48 hours"

    ExpiresByType image/jpg "access plus 1 months"
    ExpiresByType image/gif "access plus 3 months"
    ExpiresByType image/jpeg "access plus 1 months"
    ExpiresByType image/png "access plus 1 months"
    ExpiresByType image/x-icon "access plus 6 months"

    ExpiresByType text/css "access plus 1 months"

    ExpiresByType text/javascript "access plus 1 months"
    ExpiresByType application/javascript "access plus 1 months"
    ExpiresByType application/x-shockwave-flash "access plus 1 months"


Thanks in advance! ;)
RockCiclopedia (wiki - forum), Tutta la storia del rock, scritta da voi ...
Rimanere aggiornati sul mondo della musica grazie al nuovo feed "RockCiclopedia Music News"!

oOo--STAR--oOo

Hi i installed this mod on our VPS and I am getting this error

Error 310 (net::ERR_TOO_MANY_REDIRECTS): There were too many redirects.

I don't understand it..
You can't fool a sufficiently talented fool.

http://www.uniquez-home.com
In Design Phase!

Mods I am designing,  No refresh Collapse Categories , Poll Redesign , Pure CSS Breadcrumb , Profile Statuses, Profile Views.

Depreciated

Quote from: aljo1985 on September 26, 2010, 09:18:12 PM
Hi i installed this mod on our VPS and I am getting this error

Error 310 (net::ERR_TOO_MANY_REDIRECTS): There were too many redirects.

I don't understand it..
http://tinyurl.com/38c9ty3

Blade_Runner

After installing cache on my server. The thumbnail image takes a long time to enlarge. Sometimes it does not enlarge at all. Need to click on it for a few times before it will enlarge. Does anyone know what causes this problem?

OnlineFunCorner

Nice Work
But where we can check the result after installing this mod
--
Where we can compare the result before and after installing this mod?
As you shown in demo pictures?

Depreciated

Quote from: Dr.IT on October 24, 2010, 05:59:45 AM
Nice Work
But where we can check the result after installing this mod
--
Where we can compare the result before and after installing this mod?
As you shown in demo pictures?

You can use gtmetrix.com for the before and after...

Please feel free to post your results here if you wish :)

OnlineFunCorner

I Done It
Its Worked
My Website Grade Improves

Depreciated

Quote from: Dr.IT on October 24, 2010, 06:09:47 AM
I Done It
Its Worked
My Website Grade Improves

Glad it worked for you :)

OnlineFunCorner

Is there any MOD to save bandwidth?
There are several methods
Is it possible to create a MOD
or
Do do you know any entry to put in .htaccess to save bandwidth

Depreciated

Quote from: Dr.IT on October 24, 2010, 06:26:28 AM
Is there any MOD to save bandwidth?
There are several methods
Is it possible to create a MOD
or
Do do you know any entry to put in .htaccess to save bandwidth


This mod will save bandwidth and is the only one for smf that I've found ;)

OnlineFunCorner

Thanks
That's Great
You Done A Great Job
All Of Your MODs Are Fantastic
You Are Really Genius
Again Thanks
Take Care Brother

parvaz

Thank PaulpBaker for this smart mod.
I installed and made the test by gtmetrix.com. Well... i only feel that my site become after the installation of this mod faster and smoother because i realized that the gtmetrix.com never throw 2 identical results. ;D I tested my site many times after and before the installation of the mod and it showed each time different values. It was like Heraclitus said: "You could not step twice into the same river; for other waters are ever flowing on to you."
But who cares about gtmetrix.com. I trust my feeling.
It works.
Congrats PaulpBaker and thank you again.

Depreciated

not a problem and i'm glad you like it

GohighVoltage

Could you just tell me the code to add to my htaccess and I will do it manually to try,  instead of  messing with a mod?

Depreciated

Quote from: GohighVoltage on November 13, 2010, 08:53:07 AM
Could you just tell me the code to add to my htaccess and I will do it manually to try,  instead of  messing with a mod?

sure download the mod and take a look at the install.php file ;)

spiros

Is this compatible with http://custom.simplemachines.org/mods/index.php?mod=2515 ?
Of if it is not, which one would be better to run on a 1.1.3 site?

Depreciated

Quote from: spiros on February 20, 2011, 07:24:04 AM
Is this compatible with http://custom.simplemachines.org/mods/index.php?mod=2515 ?
Of if it is not, which one would be better to run on a 1.1.3 site?

yes there both compatible

spiros

Thanks, is it advisable to run both of them? I also Control the Expires Header via .htaccess as instructed here http://www.simplemachines.org/community/index.php?topic=293441.0


Advertisement: