소스 검색

optimizing page speed

pull/139/head
somratpro 4 년 전
부모
커밋
c28c2c7feb
5개의 변경된 파일37개의 추가작업 그리고 4개의 파일을 삭제
  1. BIN
      .DS_Store
  2. BIN
      exampleSite/.DS_Store
  3. 3
    3
      exampleSite/config.toml
  4. 33
    0
      static/.htaccess
  5. 1
    1
      static/plugins/themify-icons/themify-icons.css

BIN
.DS_Store 파일 보기


BIN
exampleSite/.DS_Store 파일 보기


+ 3
- 3
exampleSite/config.toml 파일 보기

@@ -86,7 +86,7 @@ weight = 8
[params]
logo = "images/logo.png"
# Meta data
description = "Responsive Multipurpose Parallax HTML5 Template"
description = "Responsive Multipurpose Parallax Hugo Template"
author = "Themefisher"
# Google Analytics
google_analytics_id = "" # Your ID
@@ -95,7 +95,7 @@ post_share = true

# preloader
[params.preloader]
enable = true
enable = false
preloader = "images/logo.png"

# cookies
@@ -105,7 +105,7 @@ expire_days = 2

# google map
[params.map]
enable = true
enable = false
gmap_api = "https://maps.googleapis.com/maps/api/js?key=AIzaSyBu5nZKbeK-WHQ70oqOWo-_4VmwOwKP9YQ"
map_latitude = "51.5223477"
map_longitude = "-0.1622023"

+ 33
- 0
static/.htaccess 파일 보기

@@ -13,4 +13,37 @@ AddOutputFilterByType DEFLATE image/png
AddOutputFilterByType DEFLATE image/gif
AddOutputFilterByType DEFLATE image/jpeg
AddOutputFilterByType DEFLATE image/svg+xml
</IfModule>

<IfModule mod_expires.c>
ExpiresActive On

# Images
ExpiresByType image/jpeg "access plus 1 year"
ExpiresByType image/gif "access plus 1 year"
ExpiresByType image/png "access plus 1 year"
ExpiresByType image/webp "access plus 1 year"
ExpiresByType image/svg+xml "access plus 1 year"
ExpiresByType image/x-icon "access plus 1 year"

# Video
ExpiresByType video/webm "access plus 1 year"
ExpiresByType video/mp4 "access plus 1 year"
ExpiresByType video/mpeg "access plus 1 year"

# Fonts
ExpiresByType font/ttf "access plus 1 year"
ExpiresByType font/otf "access plus 1 year"
ExpiresByType font/woff "access plus 1 year"
ExpiresByType font/woff2 "access plus 1 year"
ExpiresByType application/font-woff "access plus 1 year"

# CSS, JavaScript
ExpiresByType text/css "access plus 1 year"
ExpiresByType text/javascript "access plus 1 year"
ExpiresByType application/javascript "access plus 1 year"

# Others
ExpiresByType application/pdf "access plus 1 year"
ExpiresByType image/vnd.microsoft.icon "access plus 1 year"
</IfModule>

+ 1
- 1
static/plugins/themify-icons/themify-icons.css
파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
파일 보기


Loading…
취소
저장