|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
You eat, breathe and sleep innovation. Build your mobile intelligence with BlackBerry® experts this July. Register Today! |
|
#1
|
|||
|
|||
|
Caching dynamic content (Apache2)
My box is running on a consumer cable connection which is capped at c. 320kbps outbound. I have .css and .js include files for some of the pages that would be much easier to maintain as php using a database to generate the contents.
I would like to have (using mod_rewrite or something) the files sent to the browser, but set the last-modified header myself or send a 304 response or something to that effect, changing it only when the information on the database has been updated. Is this a trivial thing to do? Not looking for the solution, just whether or not I should undertake the attempt. Thanks in advance, -Jeff |
|
#2
|
|||
|
|||
|
RE: Caching dynamic content (Apache2)
yes, it can be done.
also, look up other http headers, like E-Tag, Cache, Expire and similar.. |
|
#3
|
|||
|
|||
|
RE: Caching dynamic content (Apache2)
Excellent - thanks for the pointers!
-Jeff |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Server Administration > Caching dynamic content (Apache2) |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|