Skip to content
조회 수 4504 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

슈퍼캐시에서 .htaccess 이부분 제거해야 하나?


https://commaster.net/content/installing-memcached-windows


Microsoft Windows [Version 6.2.9200]

(c) 2012 Microsoft Corporation. All rights reserved.


C:\Windows\System32>cd C:\AutoSet9\server\memcached


C:\AutoSet9\server\memcached>memcached -D start

SIGINT handled.


C:\AutoSet9\server\memcached>cd C:\AutoSet9\server\mem


C:\AutoSet9\server\mem>memcached -D start

^C

C:\AutoSet9\server\mem>memcached -D install

^C

C:\AutoSet9\server\mem>memcached -d install


C:\AutoSet9\server\mem>memcached.exe -d start


C:\AutoSet9\server\mem>



#압축하기

SetOutputFilter DEFLATE

#DeflateCompressionLevel 1


#(원본)SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png|bmp|zip|tar|rar|alz|a00|ace|txt|mp3|mpe?g|wav|asf|wma|wmv|swf|exe|pdf|doc|xsl|hwp|java|c|t?gz|bz2|7z)$ no-gzip dont-vary

SetEnvIfNoCase Request_URI \.(?:bmp|zip|tar|rar|alz|a00|ace|txt|mp3|mpe?g|wav|asf|wma|wmv|swf|exe|pdf|doc|xsl|hwp|java|c|t?gz|bz2|7z)$ no-gzip dont-vary

BrowserMatch ^Mozilla/4 gzip-only-text/html   # Netscape 4.xx에는 HTML만 압축해서 보냄

BrowserMatch ^Mozilla/4\.0[678] no-gzip   # Netscape 4.06~4.08에는 압축해서 보내지 않음

#BrowserMatch \bMSIE !no-gzip !gzip-only-text/html   # 자신을 Mozilla로 알리는 MSIE에는 그대로 압축해서 보냄


# 브라우저 캐시

ExpiresActive on

 

ExpiresDefault                          "access plus 1 weeks"

 

ExpiresByType text/cache-manifest       "access plus 0 seconds"

ExpiresByType text/html                 "access plus 0 seconds"

ExpiresByType text/xml                  "access plus 0 seconds"

ExpiresByType application/xml           "access plus 0 seconds"

ExpiresByType application/json          "access plus 0 seconds"

 

ExpiresByType application/rss+xml       "access plus 0 seconds"

ExpiresByType application/atom+xml      "access plus 0 seconds"

 

ExpiresByType image/gif                 "access plus 1 weeks"



ExpiresByType image/png                 "access plus 1 weeks"

ExpiresByType image/jpg                 "access plus 1 weeks"

ExpiresByType image/jpeg                "access plus 1 weeks"

   

ExpiresByType video/ogg                 "access plus 2 weeks"

ExpiresByType audio/ogg                 "access plus 2 weeks"

ExpiresByType video/mp4                 "access plus 2 weeks"

ExpiresByType video/webm                "access plus 2 weeks"

   

ExpiresByType text/x-component          "access plus 1 weeks"

ExpiresByType application/x-font-ttf    "access plus 1 weeks"

ExpiresByType font/opentype             "access plus 1 weeks"

ExpiresByType application/x-font-woff   "access plus 1 weeks"

ExpiresByType image/svg+xml             "access plus 1 weeks"

ExpiresByType application/vnd.ms-fontobject "access plus 1 weeks"

ExpiresByType text/css                  "access plus 1 weeks"

ExpiresByType application/javascript    "access plus 1 weeks"

ExpiresByType image/x-icon              "access plus 1 weeks"




#슈퍼캐시 #.htaccess #urin79
로그인 후 댓글쓰기가 가능합니다.

?

http://urin79.com

우린친구블로그

sketchbook5, 스케치북5

sketchbook5, 스케치북5

나눔글꼴 설치 안내


이 PC에는 나눔글꼴이 설치되어 있지 않습니다.

이 사이트를 나눔글꼴로 보기 위해서는
나눔글꼴을 설치해야 합니다.

설치 취소