In the existing gpsPrinter.sh, we are dumping the entire main table and loccode information into cache file under temporary folder with 4 hrs expiration time limit for device and 12 hr expiration for loccode cache files. The 1st time gpslist will take more time and next consecutive hits will take less time since it uses the cache data.
Now if we do any updation like addition/deletion of loccode or printer before the elapsed time of cache files ,those changes will not able to see the immediate reflect on the gpslist output.
Hence to reflect the changes immediately, gpsPrinter.sh design/logic has to be changed.
Ticket moved from /p/ceps/feature-requests/311/
Can't be converted: