Skip to content
This repository was archived by the owner on Oct 3, 2018. It is now read-only.

Commit ba7201b

Browse files
author
Hassan Khan
committed
[ci skip] Mentioning sample .htaccess file
1 parent 81390d1 commit ba7201b

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

.htaccess

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
AddOutputFilterByType DEFLATE text/html text/event-stream text/xml text/css text/javascript application/javascript application/json
33

44
# Set cache lifetime for these files as a week
5-
# <FilesMatch ".(js|css)$">
6-
# Header set Cache-Control "max-age=604800, public"
7-
# </FilesMatch>
5+
<FilesMatch ".(js|css)$">
6+
Header set Cache-Control "max-age=604800, public"
7+
</FilesMatch>

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ Go to this project's [GitHub pages](http://hassankhan.github.com/emojify.js) to
2727
- Available on a CDN **(gasp)**
2828
- Converts emoticons like `:) :( :'(`
2929
- Allows customisation of processed emoji
30+
- Includes a [sample `.htaccess` file](.htaccess) for caching Javascript and CSS
3031
- Switchable emoji sets **(SOON!)**
3132

3233
## Installation

bower.json

-3
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@
1414
"ignore": [
1515
"**/.*",
1616
"node_modules",
17-
"bower_components",
18-
"/vendor/",
19-
"test",
2017
"tests"
2118
]
2219
}

0 commit comments

Comments
 (0)