-
Type:
Bug
-
Status: Closed
-
Resolution: Won't Fix
-
Affects Version/s: 6.1.20 EE GA2, 6.1.30 EE GA3
-
Fix Version/s: 6.1.20 EE GA2, 6.1.30 EE GA3
-
Component/s: Dev Tools, Dev Tools > Plugins SDK
-
Labels:
-
Environment:LIFERAY VERSION: 6.1 GA 1
OPERATING SYSTEM: Windows7
APPLICATION SERVER: Tomcat 7.0.x
JAVA VIRTUAL MACHINE: Java 6
DATABASE: MYSQL 5.1
-
Fix Priority:4
Steps to reproduce:
1) Create a hook plugin "custom-hook"
2) Add custom javascript to plugin; for example "/html/js/custom.js"
3) Create a portlet plugin "custom-portlet"
4) Into "liferay-portlet.xml" add "<footer-portal-javascript>/html/js/custom.js</footer-portal-javascript>"
5) Deploy "custom-hook" and "custom-portlet"
6) Add "custom-portlet" to page, the rendered page will contain something like http://localhost:8080/html/js/custom.js?browserId=other&minifierType=js&languageId=en_US&b=6110&t=1378240942466
7) Update custom.js into "custom-hook" and re-deploy
8) Refresh page, you'll get the old version of "custom.js", this happens because "t" parameter doesn't change and the server returns HTTP 304