Hi all, I am back from my mozilla drive and just going to stick back to pma. I got this idea for Gsoc: Refactorig the Front End Deliverables, Currently we are serving the Js+Css in sprited mode but on the other hand we are not able to Cut down the Bandwidth usage of our users I.e. We can have them served with Cache headers. Also the current scheme is somepage.php?files[]=file1&file2&....[...] As per the web standards any url with query string is never cached. So I would like to turn this into something like this in individual rendering: somefolder/file1 somefolder/file2 Now we will be keeping a gz on server side so that we won't have to gzip the files every time. The files will the served with a cache header so we will be responding back only if the header value IF-MODIFIED-SINCE and will check that with timestamp of the file, in case its smaller then we will gz again else we will just say 301 Not Modified. This will save a lot bandwidth usage and a php5 memory Lekage bug.
Regards Dron Rathore 3rd Yr. Computer Engg. Jaipur National University, Jaipur, India
Hi
Dne Wed, 6 Mar 2013 06:44:06 +0530 Dron Rathore dron.rathore@gmail.com napsal(a):
I am back from my mozilla drive and just going to stick back to pma. I got this idea for Gsoc: Refactorig the Front End Deliverables, Currently we are serving the Js+Css in sprited mode but on the other hand we are not able to Cut down the Bandwidth usage of our users I.e. We can have them served with Cache headers. Also the current scheme is somepage.php?files[]=file1&file2&....[...]
This only happens for javascript files and is done in order to minimize number of requests as javascript files don't have to be refetched with every page with AJAX.
As per the web standards any url with query string is never cached. So I would like to turn this into something like this in individual rendering: somefolder/file1 somefolder/file2 Now we will be keeping a gz on server side so that we won't have to gzip the files every time. The files will the served with a cache header so we will be responding back only if the header value IF-MODIFIED-SINCE and will check that with timestamp of the file, in case its smaller then we will gz again else we will just say 301 Not Modified. This will save a lot bandwidth usage and a php5 memory Lekage bug.
Anyway this really does not look like project for whole summer, try proposing something bigger or use some of our ideas.