Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
hw2 的連結
想問 Huli 的問題:
可能跟這週比較無關,Week15 我想做一個 PHP Gallery 的 side project,陽春功能大概就是上傳圖片、瀏覽圖片這樣。目前想法是如果每次造訪網頁都要重新下載圖片可能不太理想,所以想做出讓瀏覽器 Cache 圖片的機制,請問這想法會有什麼問題嗎?
以我目前的理解,Server 跟瀏覽器的 Cache 只要在 response 的 header 設置就可以實現,Server side 跟 Database 之間才需要用到 Redis 或 memcache 等 service 來做 Cache,想知道這樣的理解有錯誤嗎?
部署 AWS EC2 遠端主機 + Ubuntu LAMP 環境 + phpmyadmin 這篇文好像沒寫到 Ubuntu 防火牆的設置,自己很緊張跑去查之後發現原來在過程中 AWS 就會自己設置虛擬機器的防火牆了啊 O_O 想知道這樣還有需要設置 Ubuntu 的防火牆嗎?目前是抱著苟且的心態沒去處理 XD
小感想
關於部署:就是靠著前人的文章,站在巨人的肩膀上進行的作業,而且這巨人的肩膀又寬又大(?)屁顛屁顛地跟著做就默默完成了,然後還寫了一個整理所有文章的懶人包(最懶的那種)目前放在 hw3 心得裡,有空會放到共筆區。
關於 hw1:覺得這頗難欸其實 !很努力想畫出理想中的圖片,成果大概就是這樣哈哈哈,如果有什麼錯誤請大力鞭,感恩
關於 Docker:查了文章覺得每個人都很努力把這東西講得簡單一點,但對我來說還是很抽象,完全看不懂啊 XDD