1
如何禁用緩存文件夾在根目錄蛋糕1.2版本刪除緩存
問題: 我已經上傳PDF文件到根目錄/文件/產品/爲例.pdf
如果我訪問http://example.com/cakeproject/files/products/example.pdf,pdf顯示
當我用新的pdf更新example.pdf並訪問http://example.com/cakeproject/files/products/example.pdf時,會顯示舊的pdf。
這怎麼解決?
我有明確的它每次和重新啓動服務器,然後它工作正常。但是從cakephp函數我們如何禁用緩存到文件夾(webroot \ files \) – Somanna